From: Russell Smith <mr-russ@pws.com.au>
To: sebaioni-postgresql@yahoo.com.ar
Cc: Performance PostgreSQL <pgsql-performance@postgresql.org>
Subject: Re: Backup/Restore too slow
Date: Sat, 30 Dec 2006 08:25:12 +1100
Message-ID: <459587B8.8070507@pws.com.au> (raw)
In-Reply-To: <20061229180355.31522.qmail@web36104.mail.mud.yahoo.com>
References: <20061229180355.31522.qmail@web36104.mail.mud.yahoo.com>
Sebastián Baioni wrote:
> Thanks for answering.
> This is my configuration:
> # - Memory -
>
> shared_buffers = 1000 # min 16, at least max_connections*2, 8KB
> each
> #work_mem = 1024 # min 64, size in KB
> #maintenance_work_mem = 16384 # min 1024, size in KB
> #max_stack_depth = 2048 # min 100, size in KB
>
> The PC where we are runing PostgreSQL server is:
> AMD Athlon(tm) 64 Processor
> 3000+
> 1.79 GHz, 1.93 GB RAM
> with WindowsXP Proffesional, Version 2002 Service Pack 2.
>
> How should we set it?
Shared buffers even on a workstation should be higher than 1000 if you
want some performance. It depends how much memory you have spare to use
for PostgreSQL. But something like
shared_buffers = 20000
maintenance_work_mem = 256000
Will certainly give you a performance boost. You will have to adjust
those figures based on whatever else you are doing on the machine.
Russell Smith.
>
> Thanks a lot!
> Sebastián
>
> */Tom Lane <tgl@sss.pgh.pa.us>/* escribió:
>
> Rod Taylor writes:
> > Rebuilding the indexes or integrity confirmations are probably
> taking
> > most of the time.
>
> > What is your work_mem setting?
>
> maintenance_work_mem is the thing to look at, actually. I concur that
> bumping it up might help.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
>
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: mr-russ@pws.com.au, sebaioni-postgresql@yahoo.com.ar
Subject: Re: Backup/Restore too slow
In-Reply-To: <459587B8.8070507@pws.com.au>
* 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