| From: | Łukasz Jagiełło <lukasz(dot)jagiello(at)gforces(dot)pl> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Problems with autovacuum |
| Date: | 2009-05-25 19:07:53 |
| Message-ID: | de899fb00905251207j35ac664er116074db42ba26d@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
2009/5/25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> With 2000 databases to cycle through, autovac is going to be spending
> quite a lot of time just finding out whether it needs to do anything.
> I believe the interpretation of autovacuum_naptime is that it should
> examine each database that often, ie once a minute by default. So
> it's got more than 30 databases per second to look through.
>
> Maybe it would make more sense to have one database (or at least,
> many fewer databases) and 2000 schemas within it?
It's rather impossible in my case.
> If you really want to stick with this layout, you're going to have to
> increase autovacuum_naptime.
Thanks for hint.
--
Łukasz Jagiełło
System Administrator
G-Forces Web Management Polska sp. z o.o. (www.gforces.pl)
Ul. Kruczkowskiego 12, 80-288 Gdańsk
Spółka wpisana do KRS pod nr 246596 decyzją Sądu Rejonowego Gdańsk-Północ
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Grzegorz Jaśkiewicz | 2009-05-25 21:46:11 | Re: Problems with autovacuum |
| Previous Message | Tom Lane | 2009-05-25 18:55:06 | Re: Problems with autovacuum |