Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: Best way to...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 8 Topic 5117 of 5411
Post > Topic >>

Re: Best way to limit database sizes

by postgresql@[EMAIL PROTECTED] (Tino Schwarze) Jul 3, 2008 at 09:17 PM

On Thu, Jul 03, 2008 at 09:10:47PM +0200, Dimitri Fontaine wrote:

> >I've considered creating a tablespace in a directory owned by the  
> >user , so I can use Linux quotas to prevent higher disk usage , but  
> >this turned out be a bad thought, as all the files are anyway owned  
> >by the postgres user and so disk quotas won't have any effect.
> 
> What if you put each tablespace on a LVM partition of a control sized,  
> extensible?

This is a desaster waiting to happen. I'd say never let a database get
out of disk space. Rather implement soft limits like regular cron jobs
and make them pay for overusage.

Also note that DB size on disk and amount of data stored in DB might be
a lot different because of bloating issues, indices etc.

Tino..oO(But LVM/tablespace should work.)

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.craniosacralzentrum.de
www.forteego.de

-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 8 Posts in Topic:
Best way to limit database sizes
dev_hyd2001@[EMAIL PROTEC  2008-07-03 09:07:23 
Re: Best way to limit database sizes
Kevin.Grittner@[EMAIL PRO  2008-07-03 11:28:17 
Re: Best way to limit database sizes
dev_hyd2001@[EMAIL PROTEC  2008-07-03 10:48:01 
Re: Best way to limit database sizes
montaseri@[EMAIL PROTECTE  2008-07-03 11:31:41 
Re: Best way to limit database sizes
Kevin.Grittner@[EMAIL PRO  2008-07-03 13:31:47 
Re: Best way to limit database sizes
dfontaine@[EMAIL PROTECTE  2008-07-03 21:10:47 
Re: Best way to limit database sizes
postgresql@[EMAIL PROTECT  2008-07-03 21:17:36 
Re: Best way to limit database sizes
dev_hyd2001@[EMAIL PROTEC  2008-07-04 00:42:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 10:01:32 CDT 2008.