Re: Slow COUNT

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Slow COUNT
Дата
Msg-id 87zmnkf1wr.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Slow COUNT  (Poul Møller Hansen <freebsd@pbnet.dk>)
Список pgsql-general
Poul Møller Hansen <freebsd@pbnet.dk> writes:

> My questions is, which statements can use to count the rows faster ?
> 32 secs compared to 10 ms !

Try starting a transaction in one window updating one of those records and see
how long it takes your count(*) to complete in the other window while that
update is still pending.


--
greg

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

Предыдущее
От: Brendan Duddridge
Дата:
Сообщение: Fast FrontBase to PostgreSQL converter?
Следующее
От: "essay182@gmail.com"
Дата:
Сообщение: Re: lo_import permissions problem