Re: Slow performance when querying millions of rows - Mailing list pgsql-performance

From Greg Smith
Subject Re: Slow performance when querying millions of rows
Date
Msg-id 4E0A7726.2040809@2ndQuadrant.com
Whole thread Raw
In response to Re: Slow performance when querying millions of rows  ("Craig McIlwee" <craig.mcilwee@openroadsconsulting.com>)
List pgsql-performance
On 06/28/2011 07:26 PM, Craig McIlwee wrote:
> Yes, the data import is painfully slow but I hope to make up for that
> with the read performance later.

You can probably improve that with something like this:

shared_buffers=512MB
checkpoint_segments=64

Maybe bump up maintenance_work_mem too, if the vacuum part of that is
the painful one.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
Comprehensive and Customized PostgreSQL Training Classes:
http://www.2ndquadrant.us/postgresql-training/


pgsql-performance by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Slow performance when querying millions of rows
Next
From: Greg Smith
Date:
Subject: Re: Slow performance when querying millions of rows