Re: [PERFORM] Best COPY Performance

2006-10-31 Thread Teemu Torma
On Tuesday 31 October 2006 21:11, Worky Workerson wrote: > One thing which I never mentioned was that I > am using ext3 mounted with noatime,data=writeback. You might also want to try with data=ordered. I have noticed that nowadays it seems to be a bit faster, but not much. I don't know why, m

Re: [PERFORM] How import big amounts of data?

2005-12-29 Thread Teemu Torma
On Thursday 29 December 2005 17:19, Arnau wrote: > > - Use plpgsql function to do the actual insert (or update/insert if > > needed). > > > > - Inside a transaction, execute SELECT statements with maximum > > possible number of insert function calls in one go.  This minimizes > > the number of roun

Re: [PERFORM] How import big amounts of data?

2005-12-29 Thread Teemu Torma
On Thursday 29 December 2005 10:48, Arnau wrote: >Which is the best way to import data to tables? I have to import > 9 rows into a column and doing it as inserts takes ages. Would be > faster with copy? is there any other alternative to insert/copy? I am doing twice as big imports daily, a