From: Josh Berkus <josh@agliodbs.com>
To: Qing Zhao <qzhao@supplyfx.com>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: indexes make other queries slow!
Date: Thu, 16 Sep 2004 14:24:28 -0700
Message-ID: <200409161424.28644.josh@agliodbs.com> (raw)
In-Reply-To: <3C40F514-0826-11D9-B278-000A95AB8896@supplyfx.com>
References: <200409161050.33289.josh@agliodbs.com>
<200409161405.28778.josh@agliodbs.com>
<3C40F514-0826-11D9-B278-000A95AB8896@supplyfx.com>
Qing,
> My guess is that all the queries that involves the columns that are
> being indexed need to
> be rewritten to use the newly created indexes to avoid the performance
> issues. The reason
> is that REINDEX does not help either. Does it make sense?
What's the rate of updates on the newly indexed tables? If you have a lot
of updates, the work that the database does to keep the indexes current would
put a big load on your server. This is far more likely to be the cause of
your issues.
--
--Josh
Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, qzhao@supplyfx.com
Subject: Re: indexes make other queries slow!
In-Reply-To: <200409161424.28644.josh@agliodbs.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