Re: Tablespace limit feature

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Tablespace limit feature
Date: 2014-11-04 17:36:00
Message-ID: 54590E80.4080000@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/4/2014 9:00 AM, Alejandro Carrillo wrote:
> I need to limit the tablespace file because I need to control the hard
> disk space used in a tablespace

so what happens if a query does something that violates the quota?

I can see one difficulty in implementation would be just keeping track
of how much space is used in a tablespace, thats not done right now at
all as far as I know. every time a new block is allocated, a
tablespace size catalog table would have to be updated.... and oh no,
what happens if THAT table grows and overflows the quota of the default
tablespace where the catalog is maintained?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2014-11-04 17:46:11 Re: Tablespace limit feature
Previous Message Stephen Frost 2014-11-04 17:35:00 Re: Tablespace limit feature