Re: db growing out of proportion

Поиск
Список
Период
Сортировка
От Tomas Szepe
Тема Re: db growing out of proportion
Дата
Msg-id 20030530230821.GG21944@louise.pinerecords.com
обсуждение исходный текст
Ответ на Re: db growing out of proportion  (Todd Nemanich <todd@twopunks.org>)
Список pgsql-bugs
> [todd@twopunks.org]
>
> Additionally, you may want to take a look at your query performance. Are
> most of your queries doing sequential scans? In my system, the crucial
> columns of the primary tables are int8 and float8 fields. I have those
> indexed, and I get a serious performance boost by making sure all
> SELECT/UPDATE/DELETE queries that use those columns in the WHERE have an
> explicit ::int8 or ::float8 (Explain analyze is your friend). During
> peak usage, there is an order of magnitude difference (usually 10 to
> 15x) between queries doing sequential scans on the table, and queries
> doing index scans. Might be worth investigating if your queries are
> taking 5 seconds when your DB is fresh. HTH.

Yes, I have taken special care to fine-tune all queries on authentic
data.  The db setup works as expected in whatever respect with the
exception of query times deterioration that apparently corelates to
the db's on-disk size growth.

Thanks for your suggestions,

--
Tomas Szepe <szepe@pinerecords.com>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tomas Szepe
Дата:
Сообщение: Re: db growing out of proportion
Следующее
От: Robert Creager
Дата:
Сообщение: Re: db growing out of proportion