Re: Slow DROP INDEX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <pg(at)rbt(dot)ca>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Slow DROP INDEX
Date: 2004-02-16 19:05:04
Message-ID: 29399.1076958304@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor <pg(at)rbt(dot)ca> writes:
> I not convinced it is waiting on a lock. The queries on that table are
> very short (couple of milliseconds) -- but there are a ton of them. All
> backends appear to be idle (pg_stat_activity with command shown) when we
> start the drop and shortly after huge backups occur.

Well, you could prove the point by attaching to the backend with a
debugger and getting a stack trace ... if it's not waiting for a lock,
that would give us some idea what it is doing ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Li 2004-02-16 19:08:49 Re: Slow DROP INDEX
Previous Message markw 2004-02-16 18:56:42 Re: Proposed Query Planner TODO items