pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
database quotes
4+ messages / 3 participants
[nested] [flat]

* database quotes
@ 2002-03-17 20:54  Yuri A. Kabaenkov <sec@artofit.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Yuri A. Kabaenkov @ 2002-03-17 20:54 UTC (permalink / raw)
  To: pgsql-admin

Hello,
      Is there any way to setup quota per postgresql database?
      I need to limit db space for users.
      

  

-- 
Best regards,
 Yuri                          mailto:sec@artofit.com




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database quotes
@ 2002-03-18 11:37  Hernan Nuñez <hnunez@vianetworks.com.ar>
  parent: Yuri A. Kabaenkov <sec@artofit.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Hernan Nuñez @ 2002-03-18 11:37 UTC (permalink / raw)
  To: Yuri A. Kabaenkov <sec@artofit.com>; pgsql-admin


Hi,

   I'm running postgresql-7.2 on FreeBSD 4.5 and I resolve this using a
quota on the FileSystem applied to the gid. My problem is that i could not
determine the relation between DataBase Name and the Directory for that
DataBase.

  This works fine ...

Regards

Hernan Nuñez   |  VIA NET.WORKS Argentina
NICAR-P37184   |
hnunez@vianetworks.com.ar |  local touch global reach
System Administrator |
Tecnología y Operaciones |  http://www.vianetworks.com.ar
+ ICQ: 36528552   |  DDI +54 11 43233333





----- Original Message -----
From: "Yuri A. Kabaenkov" <sec@artofit.com>
To: <pgsql-admin@postgresql.org>
Sent: Sunday, March 17, 2002 5:54 PM
Subject: [ADMIN] database quotes


> Hello,
>       Is there any way to setup quota per postgresql database?
>       I need to limit db space for users.
>
>
>
>
> --
> Best regards,
>  Yuri                          mailto:sec@artofit.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database quotes
@ 2002-03-19 14:00  Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
  0 siblings, 1 reply; 4+ messages in thread

From: Henshall, Stuart - WCP @ 2002-03-19 14:00 UTC (permalink / raw)
  To: 'Hernan Nuñez' <hnunez@vianetworks.com.ar>; Yuri A. Kabaenkov <sec@artofit.com>; pgsql-admin

The name is the oid of the database.
The oid2name in contrib can help here.
However this doesn't solve the problem of new information going into the WAL
files before being written into the actual tables.
I am unsure what would happen if the database where unable to write to table
files information what was already committed in the WAL.
- Stuart

> -----Original Message-----
> From: Hernan Nuñez [mailto:hnunez@vianetworks.com.ar]
> Sent: 18 March 2002 11:37
> To: Yuri A. Kabaenkov; pgsql-admin@postgresql.org
> Subject: Re: database quotes
> 
> 
> 
> Hi,
> 
>    I'm running postgresql-7.2 on FreeBSD 4.5 and I resolve 
> this using a
> quota on the FileSystem applied to the gid. My problem is 
> that i could not
> determine the relation between DataBase Name and the 
> Directory for that
> DataBase.
> 
>   This works fine ...
> 
> Regards
> 
> Hernan Nuñez   |  VIA NET.WORKS Argentina
> NICAR-P37184   |
> hnunez@vianetworks.com.ar |  local touch global reach
> System Administrator |
> Tecnología y Operaciones |  http://www.vianetworks.com.ar
> + ICQ: 36528552   |  DDI +54 11 43233333
> 
> 
> 
> 
> 
> ----- Original Message -----
> From: "Yuri A. Kabaenkov" <sec@artofit.com>
> To: <pgsql-admin@postgresql.org>
> Sent: Sunday, March 17, 2002 5:54 PM
> Subject: [ADMIN] database quotes
> 
> 
> > Hello,
> >       Is there any way to setup quota per postgresql database?
> >       I need to limit db space for users.
> >
> >
> >
> >
> > --
> > Best regards,
> >  Yuri                          mailto:sec@artofit.com
> >
> >
> > ---------------------------(end of 
> broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to 
> majordomo@postgresql.org
> >
> 
> 



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database quotes
@ 2002-03-19 18:11  Hernan Nuñez <hnunez@vianetworks.com.ar>
  parent: Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
  0 siblings, 0 replies; 4+ messages in thread

From: Hernan Nuñez @ 2002-03-19 18:11 UTC (permalink / raw)
  To: Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>; Yuri A. Kabaenkov <sec@artofit.com>; pgsql-admin

Thanks..

I could resolve this using the following wuery 'select oid,datname from
pg_database;'

Regards


Hernan Nuñez   |  VIA NET.WORKS Argentina
NICAR-P37184   |
hnunez@vianetworks.com.ar |  local touch global reach
System Administrator |
Tecnología y Operaciones |  http://www.vianetworks.com.ar
+ ICQ: 36528552   |  DDI +54 11 43233333





----- Original Message -----
From: "Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>
To: "'Hernan Nuñez'" <hnunez@vianetworks.com.ar>; "Yuri A. Kabaenkov"
<sec@artofit.com>; <pgsql-admin@postgresql.org>
Sent: Tuesday, March 19, 2002 11:00 AM
Subject: RE: database quotes


> The name is the oid of the database.
> The oid2name in contrib can help here.
> However this doesn't solve the problem of new information going into the
WAL
> files before being written into the actual tables.
> I am unsure what would happen if the database where unable to write to
table
> files information what was already committed in the WAL.
> - Stuart
>
> > -----Original Message-----
> > From: Hernan Nuñez [mailto:hnunez@vianetworks.com.ar]
> > Sent: 18 March 2002 11:37
> > To: Yuri A. Kabaenkov; pgsql-admin@postgresql.org
> > Subject: Re: database quotes
> >
> >
> >
> > Hi,
> >
> >    I'm running postgresql-7.2 on FreeBSD 4.5 and I resolve
> > this using a
> > quota on the FileSystem applied to the gid. My problem is
> > that i could not
> > determine the relation between DataBase Name and the
> > Directory for that
> > DataBase.
> >
> >   This works fine ...
> >
> > Regards
> >
> > Hernan Nuñez   |  VIA NET.WORKS Argentina
> > NICAR-P37184   |
> > hnunez@vianetworks.com.ar |  local touch global reach
> > System Administrator |
> > Tecnología y Operaciones |  http://www.vianetworks.com.ar
> > + ICQ: 36528552   |  DDI +54 11 43233333
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Yuri A. Kabaenkov" <sec@artofit.com>
> > To: <pgsql-admin@postgresql.org>
> > Sent: Sunday, March 17, 2002 5:54 PM
> > Subject: [ADMIN] database quotes
> >
> >
> > > Hello,
> > >       Is there any way to setup quota per postgresql database?
> > >       I need to limit db space for users.
> > >
> > >
> > >
> > >
> > > --
> > > Best regards,
> > >  Yuri                          mailto:sec@artofit.com
> > >
> > >
> > > ---------------------------(end of
> > broadcast)---------------------------
> > > TIP 1: subscribe and unsubscribe commands go to
> > majordomo@postgresql.org
> > >
> >
> >
>




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-03-19 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-17 20:54 database quotes Yuri A. Kabaenkov <sec@artofit.com>
2002-03-18 11:37 ` Hernan Nuñez <hnunez@vianetworks.com.ar>
2002-03-19 14:00 Re: database quotes Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
2002-03-19 18:11 ` Hernan Nuñez <hnunez@vianetworks.com.ar>

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