Re: select count(*) performance (vacuum did not help)
В списке pgsql-performance по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: select count(*) performance (vacuum did not help) |
| Дата | |
| Msg-id | 46F7D2C7.70105@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: select count(*) performance (vacuum did not help) (Gábor Farkas <gabor@nekomancer.net>) |
| Ответы |
Re: select count(*) performance (vacuum did not help)
|
| Список | pgsql-performance |
Gábor Farkas wrote: > hmm... can a full-vacuum be performed while the database is still "live" > (i mean serving requests)? > > will the db still be able to respond to queries? VACUUM FULL will exclusive lock the table, which means that other queries accessing it will block and wait until it's finished. > or in a different way: > > if i do a full vacuum to that table only, will the database still serve > data from the other tables at a normal speed? Yes. The extra I/O load vacuum full generates while it's running might disrupt other activity, though. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера