| От | Matthew T. O'Connor |
|---|---|
| Тема | Re: Speeding up operations |
| Дата | |
| Msg-id | 001b01c36283$be5d28c0$c202a8c0@hplaptop обсуждение исходный текст |
| Ответ на | Speeding up operations ("Rahul_Iyer" <rahul_iyer@persistent.co.in>) |
| Список | pgsql-hackers |
----- Original Message ----- From: "Hannu Krosing" <hannu@tm.ee> > If you are inserting into an empty table with primary key (or other > constraints), you can run ANALYZE on that table in 1-2 minutes after you > have started the INSERTs, so that constraint-checking logic will do the > right thing (use inedex for pk). This is one of the things that pg_autovaccum attempts to do. If you are doing a lot of inserts into a table, it will perform periodic analyze commands. The threshold for performing analyze is much lower than the threshold for vacuum. Also, inserts don't effect the count towards the vacuum threshold, only the analyze threshold.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера