Re: how to improve the performance of creating index
В списке pgsql-performance по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: how to improve the performance of creating index |
| Дата | |
| Msg-id | 47189D0F.6090707@enterprisedb.com обсуждение исходный текст |
| Ответ на | how to improve the performance of creating index ("Yinan Li" <yinanli@cse.ust.hk>) |
| Список | pgsql-performance |
Yinan Li wrote: > I am trying to improve the performance of creating index. > > I've set shared_buffers = 1024MB > > Effective_cache_size = 1024MB > > Work_mem = 1GB > > Maintenance_work_mem=512MB > > (I'm sure that the server process has received the SIGHUP signal) > > However, when create index, I found that the memory used by Postgres is only > 50MB. And it is very slow. How to make it faster? What version of Postgres are you using? How much RAM does the box have? How big is the table? How long does the index build take? What kind of an I/O system do you have? maintenance_work_mem is the one that controls how much memory is used for the sort. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера