Unix Technical Forum

Re: Vacuum Full Analyze Stalled

This is a discussion on Re: Vacuum Full Analyze Stalled within the pgsql Admins forums, part of the PostgreSQL category; --> Thanks Tom... The Linux box was completely idle (as you already guessed). There were multiple locks on the table(s) ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:20 AM
Jeff Kirby
 
Posts: n/a
Default Re: Vacuum Full Analyze Stalled

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@sss.pgh.pa.us> 10/02/05 8:53 PM >>>

"Jeff Kirby" <Jeff.Kirby@wicourts.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


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:42 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com