From: | Greg Williamson <gwilliamson39(at)yahoo(dot)com> |
---|---|
To: | |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 |
Date: | 2012-10-01 21:37:20 |
Message-ID: | 1349127440.56154.YahooMailNeo@web125904.mail.ne1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Dinesh --
----- Original Message -----
> From: Dinesh Bhandary <bhandary(at)iii(dot)com>
> To: Greg Williamson <gwilliamson39(at)yahoo(dot)com>
> Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
> Sent: Thursday, September 27, 2012 7:19 PM
> Subject: Re: [ADMIN] Database size stays constant but disk space keeps shrinking -- postgres 9.1
>
>
> I'd also keep track of tmp directory while building. I hope it is not
> creating a huge external sort file. By building you meant to say
> pg_restore, I assume.
Actually everything is done a single SQL commands; the DDL from the source gets run on the new database, and then we do a series of SQL commands. The tmp space doesn't seem to get hit as there are only a few sorts being run as we reduce a list of "users from" and "users to" to a single list of unique user ids.
> How big is your maintenance_work_mem? Index creation pools memory from
> this buffer.
maintenance_work_mem = 1500MB# min 1MB
Which seems to be enough for this task set.
postgres(at)db11:~/9.1/main$ ls -lrt base/pgsql_tmp
total 0
Something malign in one of our applications, perhaps interacting with this hourly drop. Still working with the developers to see what they are doing "under the hood."
Thanks for the suggestions!
Greg
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2012-10-02 07:43:58 | Re: Debian Squeeze - no xml support for Pg 9.2 |
Previous Message | Tom Lane | 2012-09-28 23:49:09 | Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 |