pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guido Barosio <gbarosio@gmail.com>
To: Dario Brignardello <dbrignar@gmail.com>
Cc: arnaulist@andromeiberica.com, pgsql-admin@postgresql.org, John Jensen <JRJ@ft.fo>
Subject: Re: Where is my bottleneck?
Date: Wed, 25 Jan 2006 18:58:47 +0000
Message-ID: <f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.com> (raw)
In-Reply-To: <45dd8dbe0601251003w66cf12c0u4954bca165fb75e2@mail.gmail.com>
References: <s3d74bce.017@fs3.ft.fo>
	<43D7ADE3.1050803@andromeiberica.com>
	<45dd8dbe0601251003w66cf12c0u4954bca165fb75e2@mail.gmail.com>

Hi Arnu,

   Take a look at contrib/pg_buffers and contrib/pgstattuple also!!

Regards,
Guido. (dariussss)




On 1/25/06, Dario Brignardello <dbrignar@gmail.com> wrote:
>
> Hi, Arnu,
>
>
> >
> > The parameters related with memory usage of postgresql.conf all are the
> > default values (I haven't changed any value in the postgresql.conf file)
>
> Well, there is actually plenty of room to optimize there, I would suggest
> to go to
> http://www.postgresql.org/docs/7.4/interactive/runtime-config.html#RUNTIME-CONFIG-RESOURCE
>
>
> and take a look, specially the values for shared_buffers and sort_mem
> should be higher (mind you, you also have to tune your kernel parameters or
> your engine will not start, so be careful :-) )
>
>
> >   I know that I can tune my queries, but I think I could get more
> >performance from the hardware I have.
>
> Actually you can, but a bad query is always a bad
> query, even when runing on big iron, so you should be sure you
> are not wasting hw resources, specially if those are scarce :-)
>
>
> > My settings are, do I should change anything else?
> >
> > # - Query/Index Statistics Collector -
>
> > stats_start_collector = true
> > stats_command_string = true
> > #stats_block_level = false
> > stats_row_level = true
> > #stats_reset_on_server_start = true
>
> Take a look at the pg_stat_* views, to see what could be out off the way.
> To an explanation of the statistics views, check:
> http://www.postgresql.org/docs/7.4/interactive/monitoring-stats.html
>
> Hope it helps.
> Best regards
> Dario
>
>
> --
> Atte: Dario Brignardello
>
>


--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------

view thread (11+ messages)  latest in thread

Message-ID: <f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.com>
Permalink:  ../f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.com/
Also on:    postgresql.org/message-id/f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gbarosio@gmail.com, dbrignar@gmail.com, JRJ@ft.fo
  Subject: Re: Where is my bottleneck?
  In-Reply-To: <f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.com>
  References: <s3d74bce.017@fs3.ft.fo> <43D7ADE3.1050803@andromeiberica.com> <45dd8dbe0601251003w66cf12c0u4954bca165fb75e2@mail.gmail.com> <f7f6b4c70601251058y69254ccci2483db24bef420b4@mail.gmail.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