From: Benjamin Krajmalnik <kraj@servoyant.com>
To: Selva manickaraja <mavles78@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Too many WAL(s) despite low transaction
Date: Fri, 1 Apr 2011 10:49:56 -0600
Message-ID: <F4E6A2751A2823418A21D4A160B689887B116E@fletch.stackdump.local> (raw)
In-Reply-To: <AANLkTimA06euF-0t2-hZ7JifXxWsQnSmywrz97-TrBCa@mail.gmail.com>
References: <AANLkTi=Vc91VMA1_w3e6yV0gmAL1xgbogj9p1fW3zmQ=@mail.gmail.com>
<20110401004240.GA4116@tamriel.snowman.net>
<AANLkTik9S-bB0nhAzUWED0vKS_JgF3RkZd0JPNq-C-Yn@mail.gmail.com>
<20110401010336.GB4116@tamriel.snowman.net>
<AANLkTi=U_2opbk3Kg223=++V9EfK5KGw-M-28Ec0dxCe@mail.gmail.com>
<20110401013853.GC4116@tamriel.snowman.net>
<AANLkTini7zev+CyTLMGFFsaZucxCR35rBsgg_Znj8F-7@mail.gmail.com>
<20110401022209.GD4116@tamriel.snowman.net>
<AANLkTinoAVz9qH=fV=qNxMyZnzBXsweDgGK4hQCEebZr@mail.gmail.com>
<20110401023555.GE4116@tamriel.snowman.net>
<AANLkTimA06euF-0t2-hZ7JifXxWsQnSmywrz97-TrBCa@mail.gmail.com>
You can check the running processes and grep aotovacuum.
You should see a launcher process which is always running.
If you use pgAdmin you can also look at the table statistics from the
GUI and see when was the last time autovacuum or autoanalyze ran on each
table.
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Selva manickaraja
Sent: Thursday, March 31, 2011 9:25 PM
To: Stephen Frost
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Too many WAL(s) despite low transaction
On Fri, Apr 1, 2011 at 10:35 AM, Stephen Frost <sfrost@snowman.net>
wrote:
* Selva manickaraja (mavles78@gmail.com) wrote:
> Where you mentioned "after the reload" I suppose you meant restart
right?
I'm not sure offhand if it requires a reload or a restart, that's why I
suggested doing a reload than then checking the logs to see if a restart
is required.
I have put it in. Log file does not complaint, neither do I see the
WAL(s) reducing. So I'm waiting for Friday lunch time in 1 hour to
restart the db.
> About compressing you mentioned iirc, but how do I use it? are
there any
> examples. I read about pg_compress before. Is that same?
No, I meant "use gzip".
OK, I saw a sample in the PostgreSQL site, I will try that on the
development machine first.
> The configuration file shows that autovacuum=on and
track_count=on to be
> commented out. That means that it is not running right? If
that's the case,
> just uncommenting it now should get it working right?
Commented out means that the default value is used, which is on
for both
of those. That means that autovacuum should already be running.
Is
there some reason you think it isn't?
I see. Cause I was thinking that all these surge of WAL was due to the
fact that autovacuum was not running. Is there a utility to check if
autovacuum is running or not?
Once the db is restarted, I will post the results to you to let you know
how well the WAL(s) are fairing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk2VOgsACgkQrzgMPqB3kignEgCdFE+Ij+EbX+zC/rUtugZrG1nA
sHoAoIZlmfjTlONs0fPA//Rz6g0HRoVn
=D+LS
-----END PGP SIGNATURE-----
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: kraj@servoyant.com, mavles78@gmail.com, sfrost@snowman.net
Subject: Re: Too many WAL(s) despite low transaction
In-Reply-To: <F4E6A2751A2823418A21D4A160B689887B116E@fletch.stackdump.local>
References: <AANLkTi=Vc91VMA1_w3e6yV0gmAL1xgbogj9p1fW3zmQ=@mail.gmail.com> <20110401004240.GA4116@tamriel.snowman.net> <AANLkTik9S-bB0nhAzUWED0vKS_JgF3RkZd0JPNq-C-Yn@mail.gmail.com> <20110401010336.GB4116@tamriel.snowman.net> <AANLkTi=U_2opbk3Kg223=++V9EfK5KGw-M-28Ec0dxCe@mail.gmail.com> <20110401013853.GC4116@tamriel.snowman.net> <AANLkTini7zev+CyTLMGFFsaZucxCR35rBsgg_Znj8F-7@mail.gmail.com> <20110401022209.GD4116@tamriel.snowman.net> <AANLkTinoAVz9qH=fV=qNxMyZnzBXsweDgGK4hQCEebZr@mail.gmail.com> <20110401023555.GE4116@tamriel.snowman.net> <AANLkTimA06euF-0t2-hZ7JifXxWsQnSmywrz97-TrBCa@mail.gmail.com> <F4E6A2751A2823418A21D4A160B689887B116E@fletch.stackdump.local>
* 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