From: | Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com> |
---|---|
To: | Vlad Bailescu <vlad(at)mojitosoftware(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Unusually high IO for autovacuum worker |
Date: | 2013-02-01 09:37:38 |
Message-ID: | CABOikdPJ90YkLoEh=3XLz70ZMO-rMfpx1QiS6=oTErnhQqWpyg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
(re-adding hackers)
On Fri, Feb 1, 2013 at 2:46 PM, Vlad Bailescu <vlad(at)mojitosoftware(dot)com> wrote:
>
> I'm pretty sure the io is from the autovacuum on master table because it's
> last_autovacuum stats update almost every minute
That only proves that the master table is being vacuumed, but does not
necessarily say that others are not. I would suggest turning auto
vacuum logging on.
> and iotop shows something
> like:
>
> Total DISK READ: 5.80 M/s | Total DISK WRITE: 115.85 K/s
> TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
> 7681 be/4 postgres 5.93 M/s 0.00 B/s 0.00 % 63.62 % postgres:
> autovacuum worker process fleet
Whats interesting is that there is a lot of reads happening, but very
little writes. I can see a scenario when this can happen even with
visibility maps because vacuum honors visibility map only if it can
skip 32 blocks at stretch, but your other claim that this goes on for
90 seconds even though the table is just couple of MBs is hard to
justify. How does the auto vacuum settings look like ? I wonder if you
have scaled down naptime and threshold just too low.
Thanks,
Pavan
--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Farber | 2013-02-01 09:38:26 | Deleting 173000 records takes forever, blocks async queries for unrelated records |
Previous Message | Pavan Deolasee | 2013-02-01 09:01:46 | Re: Unusually high IO for autovacuum worker |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavan Deolasee | 2013-02-01 09:43:20 | Re: [GENERAL] Unusually high IO for autovacuum worker |
Previous Message | Pavan Deolasee | 2013-02-01 09:01:46 | Re: Unusually high IO for autovacuum worker |