pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: amrit@health2.moph.go.th
To: PGsql-performance <pgsql-performance@postgresql.org>
Subject: Which PARAMETER is most important for load query??
Date: Thu, 20 Jan 2005 22:45:05 +0700
Message-ID: <1106235905.41efd201295a5@webmail.moph.go.th> (raw)

I'm dealing with big database [3.8 Gb] and records of 3 millions . Some of the
query seems to be slow eventhough just a few users in the night. I would like
to know which parameter list below is most effective in rising the speed of
these queries?

Shmmax = 32384*8192 =265289728
Share buffer = 32384
sort_mem = 34025    <===== I guess increase this one is most effective but too
high cause reading the swap , is that right?
effective cache = 153204

My server has 4 Gb. ram and ~ 140 clients in rush hours.

Amrit
Thailand



view thread (2+ messages)  latest in thread

Message-ID: <1106235905.41efd201295a5@webmail.moph.go.th>
Permalink:  ../1106235905.41efd201295a5@webmail.moph.go.th/
Also on:    postgresql.org/message-id/1106235905.41efd201295a5@webmail.moph.go.th

 · 

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-performance@postgresql.org
  Cc: amrit@health2.moph.go.th
  Subject: Re: Which PARAMETER is most important for load query??
  In-Reply-To: <1106235905.41efd201295a5@webmail.moph.go.th>

* 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