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

Re: insert vs select into performance

From: Thomas Finneid <tfinneid(at)student(dot)matnat(dot)uio(dot)no>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: insert vs select into performance
Date: 2007-07-18 19:13:14
Message-ID: 469E664A.2010205@ifi.uio.no (view raw or flat)
Thread:
Lists: pgsql-performance

Michael Stone wrote:
> On Tue, Jul 17, 2007 at 11:01:15PM +0200, Thomas Finneid wrote:
>> Arjen van der Meijden wrote:
>>> Have you also tried the COPY-statement? Afaik select into is similar 
>>> to what happens in there.
>>
>> No, because it only works on file to db or vice versa not table to table.
> 
> I don't understand how the insert you described is table to table?

SELECT INTO is table to table, so is INSERT INTO SELECT FROM.

regards

thomas

In response to

Responses

pgsql-performance by date

Next:From: Thomas FinneidDate: 2007-07-18 19:24:18
Subject: Re: improvement suggestions for performance design
Previous:From: Thomas FinneidDate: 2007-07-18 19:11:20
Subject: Re: insert vs select into performance

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