Re: count() in 9.2

Поиск
Список
Период
Сортировка
От Frank Lanitz
Тема Re: count() in 9.2
Дата
Msg-id 5f210f18a949981339ed3d24a718d04c@frank.uvena.de
обсуждение исходный текст
Ответ на Re: count() in 9.2  (Steve Horn <steve@stevehorn.cc>)
Список pgsql-novice
Am 2012-10-17 21:03, schrieb Steve Horn:
> Thanks for the replies. I think I need to re-evaluate based on what
> you are
> saying. From earlier tests I was finding that Postgres was slow to
> count
> records with any WHERE clause. Maybe my perception was incorrect
> because my
> samples were not controlled.

I really think its the first step: Define a good set of data and a
couple of
typical queries using the data to compare systems. Also keep care to
bring up
valid indexing and -- I assuming you already did that -- a good layout
of data.
E.g. splitting tables if you have 0 either 1 conditions.

Cheers,
Frank


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

Предыдущее
От: George Roberge
Дата:
Сообщение: Re: Beginner's question about ODBC and/or foreign data sources
Следующее
От: Peter Wintoft
Дата:
Сообщение: Re: Latex formatting