From: Tomas Vondra <tv@fuzzy.cz>
To: hyelluas <helen_yelluas@mcafee.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: tunning strategy needed
Date: Thu, 18 Aug 2011 10:52:01 +0200
Message-ID: <00868fd1b178f824dd94d3f17b021953.squirrel@sq.gransy.com> (raw)
In-Reply-To: <1313620811606-4710245.post@n5.nabble.com>
References: <1313620811606-4710245.post@n5.nabble.com>
On 18 Srpen 2011, 0:40, hyelluas wrote:
> Should I start with replacing the sql with procedures?
>
> Should I start with replacing the views with the procedures to save time
> on
> recreating an execution plan and parsing?
>
> Should I start with tuning server parameters ?
Yes, you should start by tuning the server as a whole. Did you just
install the DB and restored your database? Have you tuned the config?
Tell us what are the basic performance-related parameters, i.e.
shared_buffers
effective_cache_size
checkpoint_segments
checkpoint_completion_target
work_mem
maintainance_work_mem
seq_page_cost
random_page_cost
and more information about the hardware and setup too (RAM, database size).
There's a quite nice guide regarding general tuning:
http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
Tomas
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: tv@fuzzy.cz, helen_yelluas@mcafee.com
Subject: Re: tunning strategy needed
In-Reply-To: <00868fd1b178f824dd94d3f17b021953.squirrel@sq.gransy.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