Re: Question about PG on OSX

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Qing Zhao <qzhao(at)supplyfx(dot)com>
Cc: 'Postgresql Performance' <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Question about PG on OSX
Date: 2004-09-16 21:05:28
Message-ID: 200409161405.28778.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Qing,

Please don't start a new question by replying to someone else's e-mail. It
confuses people and makes it unlikely for you to get help.

> My suspicion is that since now a few indexes are added, every ops are
> run by PostgreSQL with the indexes being used when calculating cost.
> This leads to the downgrade of performance.

That seems rather unlikely to me. Unless you've *really* complex queries
and some unusual settings, you can't swamp the CPU through query planning.

On the other hand, your mention of REINDEX indicates that the table is being
updated very frequently. If that's the case, then the solution is probably
for you to cut back on the number of indexes.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-09-16 21:07:37 Re: Article about PostgreSQL and RAID in Brazil
Previous Message Jim C. Nasby 2004-09-16 20:48:53 Re: Article about PostgreSQL and RAID in Brazil