From: C. Bensend <benny@bennyvision.com>
To: pgsql-admin@postgresql.org
Subject: Is the database being VACUUMed?
Date: Fri, 10 Feb 2006 09:57:17 -0600 (CST)
Message-ID: <2894.134.244.169.17.1139587037.squirrel@webmail.stinkweasel.net> (raw)
Hey folks,
I'm running 8.0.4 on OpenBSD, and I'm running into issues where
a large batch job will fire up and occasionally coincide with a
VACUUM. Which then makes this batch take an hour and a half,
rather than the 30 minutes it usually takes. :(
I am going to upgrade to 8.1.2 this weekend, before you ask. :)
Here's the question - is there a query I can make in my scripts
(using perl/DBD::Pg) to see if the database is being VACUUMed at
the current time? I could add a sleep, so the script would
patiently wait for the VACUUM to finish before kicking off several
intense queries.
Thanks much!
Benny
--
"'And you've got 10 gig of files to put through our mail system?' I
ask, squeezing my mouse in a non-approved manner." -- BOFH, 2006-01
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: benny@bennyvision.com
Subject: Re: Is the database being VACUUMed?
In-Reply-To: <2894.134.244.169.17.1139587037.squirrel@webmail.stinkweasel.net>
References: <2894.134.244.169.17.1139587037.squirrel@webmail.stinkweasel.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox