Re: Vacuum Full Analyze Stalled

From: "Jeff Kirby" <Jeff(dot)Kirby(at)wicourts(dot)gov>
To: <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Vacuum Full Analyze Stalled
Date: 2005-10-03 13:17:36
Message-ID: s340e931.008@gwmta.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks Tom...

The Linux box was completely idle (as you already guessed). There were multiple locks on the table(s) in question. And to answer your question, we are heavily using domain types. I suspect (to refresh your memory) that the problem reported earlier was from Kevin Grittner. Do you know if there are any plans to have better utilization of domain types in Postgres?

The steps I took to resolve the problem was to completely kill all processes, restarted the Postgres service, and then ran "vacuum full analyze" upon a successful restart. That went through without a hitch.

Thanks again... let me know if you can think of anything that could/would prevent this problem in the future (outside of eliminating domain types).

Jeff Kirby

>>> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 10/02/05 8:53 PM >>>
"Jeff Kirby" <Jeff(dot)Kirby(at)wicourts(dot)gov> writes:
> the Linux box however is still chugging away this morning... and
> appears to be stuck on vacuuming "pg_constraint_contypid_index". How
> do I know... well I don't really... I'm inferring based on the order
> of the log output on the Windows box.

Looking in pg_locks would give you a more reliable indicator of what the
VACUUM is currently working on.

Is the Linux box otherwise idle? There was another report recently of a
vacuum hung up for a long time on pg_constraint_contypid_index, but it
seemed to be due to extremely heavy usage of domain types ...

regards, tom lane

Browse pgsql-admin by date

  From Date Subject
Next Message Bastiaan Wakkie 2005-10-03 16:04:17 Re: pgAdmin guru hints
Previous Message Andreas Pflug 2005-10-03 10:56:44 Re: [HACKERS] pgAdmin guru hints