Re: How to speed up min/max(id) in 50M rows table?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: How to speed up min/max(id) in 50M rows table?
Дата
Msg-id 470F9863.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на How to speed up min/max(id) in 50M rows table?  (henk de wit <henk53602@hotmail.com>)
Ответы Re: How to speed up min/max(id) in 50M rows table?  (henk de wit <henk53602@hotmail.com>)
Список pgsql-performance
>>> On Fri, Oct 12, 2007 at  3:41 PM, in message
<BAY124-W503931258D0AE13AF37546F5A00@phx.gbl>, henk de wit
<henk53602@hotmail.com> wrote:
>
> I have a table with some 50 millions rows in PG 8.2. The table has indexes
> on relevant columns. My problem is that most everything I do with this table
> (which are actually very basic selects) is unbearable slow.

Do you have autovacuum turned on?  With what settings?

Do you run scheduled VACUUM ANALYZE?

What does the tail of the output from your last
VACUUM ANALYZE VERBOSE look like?

-Kevin




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

Предыдущее
От: henk de wit
Дата:
Сообщение: How to speed up min/max(id) in 50M rows table?
Следующее
От: henk de wit
Дата:
Сообщение: Re: How to speed up min/max(id) in 50M rows table?