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 > Re: Very poor p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 8 Topic 4030 of 4424
Post > Topic >>

Re: Very poor performance loading 100M of sql data using

by pgsql@[EMAIL PROTECTED] (Shane Ambler) Apr 29, 2008 at 05:19 AM

John Rouillard wrote:

> We can't do this as we are backfilling a couple of months of data 
> into tables with existing data.

Is this a one off data loading of historic data or an ongoing thing?


>>> The only indexes we have to drop are the ones on the primary keys
>>>  (there is one non-primary key index in the database as well).

If this amount of data im****ting is ongoing then one thought I would try
is partitioning (this could be worthwhile anyway with the amount of data
you appear to have).
Create an inherited table for the month being im****ted, load the data 
into it, then add the check constraints, indexes, and modify the 
rules/triggers to handle the inserts to the parent table.



-- 

Shane Ambler
pgSQL (at) Sheeky (dot) Biz

Get Sheeky @[EMAIL PROTECTED]
 http://Sheeky.Biz

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




 8 Posts in Topic:
Very poor performance loading 100M of sql data using copy
rouilj@[EMAIL PROTECTED]   2008-04-28 17:24:31 
Re: Very poor performance loading 100M of sql data using copy
heikki@[EMAIL PROTECTED]   2008-04-28 18:53:09 
Re: Very poor performance loading 100M of sql data using copy
rouilj@[EMAIL PROTECTED]   2008-04-28 18:00:53 
Re: Very poor performance loading 100M of sql data using
pgsql@[EMAIL PROTECTED]   2008-04-29 05:19:59 
Re: Very poor performance loading 100M of sql data using copy
rouilj@[EMAIL PROTECTED]   2008-04-29 15:04:32 
Re: Very poor performance loading 100M of sql data using
gsmith@[EMAIL PROTECTED]   2008-04-28 14:16:02 
Re: Very poor performance loading 100M of sql data using copy
rouilj@[EMAIL PROTECTED]   2008-04-29 15:16:22 
Re: Very poor performance loading 100M of sql data using
gsmith@[EMAIL PROTECTED]   2008-04-29 11:58:00 

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 9:06:58 CST 2008.