pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnaud Lesauvage <thewild@freesurf.fr>
To: asif ali <asif_icrossing@yahoo.com>
Cc: Ragnar <gnari@hive.is>
Cc: Jens Schipkowski <jens.schipkowski@apus.co.at>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow update with simple query
Date: Wed, 13 Dec 2006 17:47:20 +0100
Message-ID: <45802E98.8050102@freesurf.fr> (raw)
In-Reply-To: <192027.84308.qm@web58405.mail.re3.yahoo.com>
References: <192027.84308.qm@web58405.mail.re3.yahoo.com>

asif ali a écrit :
> Arnaud,
>  Have you run "ANALYZE" on the table after creating index?

Yes, I have !

>  Also make sure that "#effective_cache_size" is set properly. A higher         value makes it more likely to use index scans.

It is set to 50.000. I thought this would be enough, and maybe too much !

Thanks for your advice !

--
Arnaud



view thread (21+ messages)  latest in thread

Message-ID: <45802E98.8050102@freesurf.fr>
Permalink:  ../45802E98.8050102@freesurf.fr/
Also on:    postgresql.org/message-id/45802E98.8050102@freesurf.fr

 · 

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: thewild@freesurf.fr, asif_icrossing@yahoo.com, gnari@hive.is, jens.schipkowski@apus.co.at
  Subject: Re: Slow update with simple query
  In-Reply-To: <45802E98.8050102@freesurf.fr>

* 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