Iikka,
Monday, September 30, 2002, 2:40:32 PM, you wrote:

>> Jiri,
>> Sunday, September 29, 2002, 11:18:51 PM, you wrote:
>>
>> JM> I'm solving problem how to set up quota on MySQL db. I've look for that
>> JM> in mailing lists and docummentation but with no success.
>>
>> JM> Can someone help me with this problem?
>>
>> You can do it using disk quotas.

IM> Just out of curiosity, how will the user know whether the disk was full (quota
IM> exceeded) or has other errors occurred when he/she, for example, inserts a row
IM> that doesn't fit into the quota? After reading the manual on full disk
IM> conditions, I got the picture that the inserting thread gets stuck, and checks
IM> for free space once in a minute. Does the user running the inserting thread
IM> get a specific error, others thatn a note in the error log?

User will get error 28: No space left on device.

It's not a so good decision and not suitable if database contains
InnoDB tables, but you can't limit database size only with MySQL.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to