pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Subject: Re: Out of free buffers... HELP!
Date: Tue, 18 Sep 2001 08:26:46 -0700
Message-ID: <web-121099@davinci.ethosmedia.com> (raw)
In-Reply-To: <B51F0C636E578A4E832D3958690CD73E0130C035@es04snlnt>

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







view thread (19+ messages)  latest in thread

Message-ID: <web-121099@davinci.ethosmedia.com>
Permalink:  ../web-121099@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-121099@davinci.ethosmedia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: Out of free buffers... HELP!
  In-Reply-To: <web-121099@davinci.ethosmedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox