Re: Out of free buffers... HELP! - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Out of free buffers... HELP!
Date
Msg-id web-121099@davinci.ethosmedia.com
Whole thread Raw
In response to Re: Out of free buffers... HELP!  ("Diehl, Jeffrey" <jdiehl@sandia.gov>)
List pgsql-sql
Mike,

> psql ids -c 'select src,dst,count(*) from brick* where src_port=135
> group by src,dst' > /tmp/135.dat
>
> and I get:
>
> ERROR: out of free buffers: time to abort !
>
> Any ideas on how to get this query to run?

You may be using the default buffer settings for Postgres on a large
database. Or your computer may be running a lot of software and not
have enough physical memory.

Suggestion:
1. Check memory usage on your machine.
2. If memory usage is low, adjust the "Shared Buffer" setting in the
postgresql.conf file. It defaults to 16; I have mine set at 2048.
3. For more tuning help, see techdocs.postgresql.org.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Attachment

pgsql-sql by date:

Previous
From: pkasimov@yahoo.com (Pasha)
Date:
Subject: Stored prosedure last run
Next
From: Brett Schwarz
Date:
Subject: Re: Holiday Calculations?