Re: appropriate sort_mem & shared buffers

From: Francisco Reyes <lists(at)natserv(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Markus Bertheau <twanger(at)bluetwanger(dot)de>, PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: appropriate sort_mem & shared buffers
Date: 2001-12-31 17:03:01
Message-ID: 20011231115943.R2700-100000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, 21 Dec 2001, Tom Lane wrote:

> But since you didn't
> say how many concurrent backends you expect to run, this is all just
> theorizing in the dark.

What is the relation between number of connections and buffers?
For example I have two needs. One is to have few connections on some data
cleanup. There I figure I should have higher buffers/sort_mem (buffers
currently set to 8000 with 1GB of RAM). The other is a database for a web
site where I would expect many users. I was thinking that the higher the
buffer size the longer it would take for the database to allocate the
memory before it can serve the query. Given that on the second machine the
tables are also smaller I was thinking something in the order to 500
Buffers (machine has 512MB and I expect peak to be 5 to 10 users
simultaneously with mostly simple queries on relatively small tables or
indexed access).

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-12-31 17:13:12 Re: appropriate sort_mem & shared buffers
Previous Message sheila timp 2001-12-29 23:19:27 cast int to float