Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1
От
Greg Williamson
Тема
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1
Дата
Msg-id
1349127440.56154.YahooMailNeo@web125904.mail.ne1.yahoo.com
Ответ на
Список
Дерево обсуждения
Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking
-- postgres 9.1 Steve Crawford <scrawford@pinpointresearch.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps
shrinking -- postgres 9.1 Gabriele Bartolini <Gabriele.Bartolini@2ndQuadrant.it>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps
shrinking -- postgres 9.1 Jaime Casanova <jaime@2ndquadrant.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps
shrinking -- postgres 9.1 Jaime Casanova <jaime@2ndquadrant.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Dinesh Bhandary <bhandary@iii.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking
-- postgres 9.1 Steve Crawford <scrawford@pinpointresearch.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Greg Williamson <gwilliamson39@yahoo.com>
Re: Database size stays constant but disk space keeps shrinking -- postgres 9.1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Database size stays constant but disk space keeps shrinking
-- postgres 9.1 Dinesh Bhandary <dbhandary@iii.com>
Re: Database size stays constant but disk space keeps shrinking
-- postgres 9.1 Dinesh Bhandary <dbhandary@iii.com>
Re: Database size stays constant but disk space keeps
shrinking -- postgres 9.1 Micky Gough <mgough@squiz.com.au>
Dinesh -- ----- Original Message ----- > From: Dinesh Bhandary > To: Greg Williamson > Cc: "pgsql-admin@postgresql.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@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
В списке pgsql-admin по дате отправления