Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > bulk insert per...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 3973 of 4424
Post > Topic >>

bulk insert performance problem

by christian.bourque@[EMAIL PROTECTED] ("Christian Bourque") Apr 7, 2008 at 11:01 PM

Hi,

I have a performance problem with a script that does massive bulk
insert in 6 tables. When the script starts the performance is really
good but will degrade minute after minute and take almost a day to
finish!

I almost tried everything suggested on this list, changed our external
raid array from raid 5 to raid 10, tweaked postgresql.conf to the best
of my knowledge, moved pg_xlog to a different array, dropped the
tables before running the script. But the performance gain was
negligible even after all these changes...

IMHO the hardware that we use should be up to the task: Dell PowerEdge
6850, 4 x 3.0Ghz Dual Core Xeon, 8GB RAM, 3 x 300GB SAS 10K in raid 5
for / and 6 x 300GB SAS 10K in raid 10 (MD1000) for PG data, the data
filesystem is ext3 mounted with noatime and data=writeback. Running on
openSUSE 10.3 with PostgreSQL 8.2.7. The server is dedicated for
PostgreSQL...

We tested the same script and schema with Oracle 10g on the same
machine and it took only 2.5h to complete!

What I don't understand is that with Oracle the performance seems
always consistent but with PG it deteriorates over time...

Any idea? Is there any other improvements I could do?

Thanks

Christian

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 7 Posts in Topic:
bulk insert performance problem
christian.bourque@[EMAIL   2008-04-07 23:01:18 
Re: bulk insert performance problem
craig@[EMAIL PROTECTED]   2008-04-08 11:18:48 
Re: bulk insert performance problem
dmagick@[EMAIL PROTECTED]  2008-04-08 13:32:56 
Re: bulk insert performance problem
depesz@[EMAIL PROTECTED]   2008-04-08 10:41:39 
Re: bulk insert performance problem
mark@[EMAIL PROTECTED] (  2008-04-08 09:50:40 
Re: bulk insert performance problem
matthew@[EMAIL PROTECTED]  2008-04-08 15:00:13 
Re: bulk insert performance problem
lists@[EMAIL PROTECTED]   2008-04-09 00:48:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 7:57:56 CST 2008.