Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory
В списке pgsql-general по дате отправления:
| От | Souquieres Adam |
|---|---|
| Тема | Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory |
| Дата | |
| Msg-id | 5370D523.1090600@axege.com обсуждение исходный текст |
| Ответ на | Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
I just hit the 20k locks in pg_locks, on 18k differents relations owned by the same virtual transaction and PID. I only have like 500 tables and like 2k indexes, i must miss something. Le 12/05/2014 15:42, Tom Lane a écrit : > Souquieres Adam <adam.souquieres@axege.com> writes: >> ANALYSE VERBOSE; should use only one transaction or one transaction per >> table it analyse ? > ANALYZE is just a simple statement: it doesn't start or stop any > transactions. So all the locks will be acquired in the calling > transaction. > > You might be better off using VACUUM ANALYZE, which although it > does more work will divide the work into a transaction per table. > > regards, tom lane > >
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера