pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Fortin <alexander.fortin@gmail.com>
To: Vladimir Rusinov <vladimir@greenmice.info>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_database_size() and actual disk space usage
Date: Fri, 30 Mar 2012 12:45:09 +0200
Message-ID: <4F758EB5.30005@gmail.com> (raw)
In-Reply-To: <CANjgnBteHV2RnUfYnpPubAB-xidEqgDiUzM6_vde=x1r0c0zMg@mail.gmail.com>
References: <4F742D3A.8010501@gmail.com>
	<CA+h6AhgGgREbgpt2bobXUzunppWRbgii2TYMSksSbeYouM9Agg@mail.gmail.com>
	<4F743C47.1040907@gmail.com>
	<4F746282.3060406@innogames.de>
	<4F755EBE.2070908@gmail.com>
	<4F758796.6090000@innogames.de>
	<4F758C45.3000704@gmail.com>
	<CANjgnBteHV2RnUfYnpPubAB-xidEqgDiUzM6_vde=x1r0c0zMg@mail.gmail.com>

On 3/30/12 12:39 PM, Vladimir Rusinov wrote:
> Are you rotating postgresql log files? If so, how do you do that?
> 
> Do you have archive_command set in postgresql.conf?

Hi Vladimir.

Yes, I'm using the packaged Postgres 9.1.2 version shipped with Ubuntu
11.10. From my understanding, it's logrotate that does the job, given
that the package postgresql-common creates an entry for daily
/var/log/postgresql/*.log rotation.

As for the archive_command, no, it's defaulted to empty:
#archive_command = ''

-- 
Alexander Fortin
http://about.me/alexanderfortin/



view thread (10+ messages)  latest in thread

Message-ID: <4F758EB5.30005@gmail.com>
Permalink:  ../4F758EB5.30005@gmail.com/
Also on:    postgresql.org/message-id/4F758EB5.30005@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alexander.fortin@gmail.com, vladimir@greenmice.info
  Subject: Re: pg_database_size() and actual disk space usage
  In-Reply-To: <4F758EB5.30005@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox