| От | Tom Lane |
|---|---|
| Тема | Re: hundreds of millions row dBs |
| Дата | |
| Msg-id | 20313.1104873603@sss.pgh.pa.us обсуждение |
| Ответ на | Re: hundreds of millions row dBs (Wes <wespvp@syntegra.com>) |
| Ответы |
Re: hundreds of millions row dBs
|
| Список | pgsql-general |
Wes <wespvp@syntegra.com> writes:
> As I recall, the last time we rebuilt our database, it took about 3 hours to
> import 265 million rows of data. It then took another 16 hours to rebuild
> all the indexes.
Out of curiosity, what value of sort_mem were you using?
(In PG 8.0, the sort memory setting used by CREATE INDEX will be
maintenance_work_mem not work_mem, which should help in getting larger
values to be used. But in existing releases you usually need to think
about a manual tweak.)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера