Skip site navigation (1) Skip section navigation (2)

Re: Slow duplicate deletes

From: DrYSG <ygutfreund(at)draper(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Slow duplicate deletes
Date: 2012-03-07 15:09:38
Message-ID: 1331132978011-5544386.post@n5.nabble.com (view raw or flat)
Thread:
Lists: pgsql-novice
The following query took only 16 hours 2 minutes 

CREATE TABLE portal.new_metatdata AS
select distinct on (data_object.unique_id) * FROM portal.metadata; 

Thank you.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Slow-duplicate-deletes-tp5537818p5544386.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

In response to

pgsql-novice by date

Next:From: Carlos MennensDate: 2012-03-07 16:50:32
Subject: Numeric Data Type Rounding Up
Previous:From: Majid AzimiDate: 2012-03-07 12:48:20
Subject: Is Tablespace something like Logical Volume?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group