Re: db grows and grows

Поиск
Список
Период
Сортировка
От Bjoern Metzdorf
Тема Re: db grows and grows
Дата
Msg-id 001e01c217c4$d99bf220$0564a8c0@toolteam.net
обсуждение исходный текст
Ответ на Re: db grows and grows  (Jason Earl <jason.earl@simplot.com>)
Ответы Re: db grows and grows  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-general
> > My script doesn't really lock anything, it must just be a natural
> > side-effect of the REINDEX command,
>
> According to
>
>
<http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/locking-tables.
html>
>
> CREATE INDEX gets a ShareLock.  Which will block UPDATE, DELETE and
> INSERT.  So, not _quite_ as bad as VACUUM FULL, but not something to
> do in the middle of a busy day.

During the REINDEX-run I see plenty "SELECT (waiting)" with ps. So I can
confirm this.

Greetings,
Bjoern



В списке pgsql-general по дате отправления:

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: circular REFERENCES
Следующее
От: Pam Wampler
Дата:
Сообщение: How to see version of pg_dump