Re: db grows and grows - Mailing list pgsql-general

From Bjoern Metzdorf
Subject Re: db grows and grows
Date
Msg-id 001e01c217c4$d99bf220$0564a8c0@toolteam.net
Whole thread Raw
In response to Re: db grows and grows  (Jason Earl <jason.earl@simplot.com>)
Responses Re: db grows and grows  (Andrew Sullivan <andrew@libertyrms.info>)
List 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 by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: circular REFERENCES
Next
From: Pam Wampler
Date:
Subject: How to see version of pg_dump