From: | Scott Whitney <scott(at)journyx(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: pg_clogs hanging around |
Date: | 2011-03-10 13:01:10 |
Message-ID: | 11997393.14072.1299762070874.JavaMail.root@zimbra.int.journyx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Ooops...I accidentally took this off list, as Kevin was nice enough to point out.
>> What am I looking for?
>Outliers.
> Yeah. It's just those 2. I'd assume that the db I created
> yesterday would be an outlier, but template0 has been there all along
> (of course) and is still listed as 648, a significantly smaller number.
>> The output shows me 345 rows, most of which are 132xxxxx numbers.
>> Two of them (template0 and a database created yesterday) say 648.
>The template0 database is what's keeping the clog files from being
>cleaned up, but I guess the big question is why you care. They will
>go away eventually, and shouldn't affect performance. Are they
>taking enough space to merit extraordinary effort to clean them up?
> -Kevin
My concern is that when we had a failure a few years ago, and one of the clog files went bad. I had to manually recreate some customer data after bringing up the previous backup. So, I'd rather have them not there, because, well, if there are 200 of them in the dir, there's a higher chance in a case of a crash that one goes bad than if I have 15.
Would adding -f (full) clean these up? I seem to recall it did in earlier versions. I've added the -F to it already, and that didn't seem to help.
From | Date | Subject | |
---|---|---|---|
Next Message | Kenneth Marshall | 2011-03-10 13:47:23 | Re: pg_clogs hanging around |
Previous Message | H S | 2011-03-10 11:35:35 | Re: Oracle Label Security/ Row Level Security on Postgresql |