Re: Speeding up operations

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: getaddrinfo() issues on UnixWare.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SSL Connection / Windows + Cygwin + PostgreSQL 7.4 Beta 1 question