| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Clodoaldo <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com> |
| Cc: | Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Reindex does not finish 8.2.6 |
| Date: | 2008-03-14 14:01:35 |
| Message-ID: | 20080314140135.GD4843@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Clodoaldo escribió:
> 2008/3/14, Alvaro Herrera <alvherre(at)commandprompt(dot)com>:
> > A quick look into pg_locks should tell you if it's blocking.
>
> pg_prepared_xacts is empty and pg_locks has 288 rows:
>
> # select locktype, mode, count(*) as total
> from pg_locks group by locktype, mode;
> locktype | mode | total
> ---------------+------------------+-------
> transactionid | ExclusiveLock | 30
> relation | RowExclusiveLock | 2
> relation | AccessShareLock | 256
> (3 rows)
How many of them have granted=false?
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | paul rivers | 2008-03-14 14:13:14 | Re: PG secure for financial applications ... |
| Previous Message | Adrian Klaver | 2008-03-14 13:50:00 | Re: GRANT giving error on sequence in 7.4.19 |