Re: 121+ million record table perf problems

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: 121+ million record table perf problems
Дата
Msg-id 20070518232052.GG15691@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: 121+ million record table perf problems  (Craig James <craig_james@emolecules.com>)
Список pgsql-performance
Craig James wrote:

> Better yet, if you can stand a short down time, you can drop indexes on
> that column, truncate, then do 121 million inserts, and finally
> reindex.  That will be MUCH faster.

Or you can do a CLUSTER, which does all the same things automatically.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Tyrrill, Ed"
Дата:
Сообщение: Re: Slow queries on big table
Следующее
От: "Y Sidhu"
Дата:
Сообщение: Re: pg_stats how-to?