Re: How to limit database size

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "A(dot) Kretschmer" <akretschmer(at)despammed(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to limit database size
Date: 2005-08-23 14:35:48
Message-ID: 20050823143548.GA9322@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 23, 2005 at 01:19:11PM +0200, A. Kretschmer wrote:
> am 23.08.2005, um 15:12:54 +0530 mailte Vishnu folgendes:
> > How can I limit the maximum space uses by Posgres database ??. So that it
> > should not use total disk space available on system.
>
> You can use the tools from the os, under Linux for instance quotas.

Be aware that exceeding a disk quota might cause problems beyond a
simple "Sorry, you can't insert any more records" error.

http://www.postgresql.org/docs/8.0/static/disk-full.html

Even with a quota in place, you should probably monitor the database's
disk usage so you can take action before the quota is exceeded.

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo Africani 2005-08-23 14:47:57 Import File
Previous Message Tom Lane 2005-08-23 14:33:13 Re: ctid access is slow