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 8 of 8 Topic 4030 of 4352
Post > Topic >>

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

by gsmith@[EMAIL PROTECTED] (Greg Smith) Apr 29, 2008 at 11:58 AM

On Tue, 29 Apr 2008, John Rouillard wrote:

> So swap the memory usage from the OS cache to the postgresql process.
> Using 1/4 as a guideline it sounds like 600,000 (approx 4GB) is a
> better setting. So I'll try 300000 to start (1/8 of memory) and see
> what it does to the other processes on the box.

That is potentially a good setting.  Just be warned that when you do hit a

checkpoint with a high setting here, you can end up with a lot of data in 
memory that needs to be written out, and under 8.2 that can cause an ugly 
spike in disk writes.  The reason I usually threw out 30,000 as a 
suggested starting figure is that most caching disk controllers can buffer

at least 256MB of writes to keep that situation from getting too bad. 
Try it out and see what happens, just be warned that's the possible 
downside of setting shared_buffers too high and therefore you might want 
to ease into that more gradually (particularly if this system is shared 
with other apps).
x
--
* Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD

-- 
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 Sun Oct 12 9:36:11 CDT 2008.