mysql instance disk quota

2015-09-06 Thread Ken Peng
Hello, We have some instances running in a hardware server, each instance has different port. For quota limits, we can adjust my.cnf to control each instance's memory usage, also can use cgroups to set CPU quota. But what's the general solution to setup the disk quota? For example, I want

Re: mysql instance disk quota

2015-09-06 Thread Ken Peng
How to set OS disk quota? On 2015/9/6 17:52, Reindl Harald wrote: set OS disk quota for them -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: mysql instance disk quota

2015-09-06 Thread Reindl Harald
Am 06.09.2015 um 11:08 schrieb Ken Peng: We have some instances running in a hardware server, each instance has different port. For quota limits, we can adjust my.cnf to control each instance's memory usage, also can use cgroups to set CPU quota. But what's the general solution to setup

Re: mysql instance disk quota

2015-09-06 Thread Ken Peng
Hi, If disk quota is reached, an error can be threw out. we can accept this policy. Thanks. On 2015/9/6 17:28, Reindl Harald wrote: Am 06.09.2015 um 11:08 schrieb Ken Peng: We have some instances running in a hardware server, each instance has different port. For quota limits, we can

Re: mysql instance disk quota

2015-09-06 Thread Reindl Harald
Am 06.09.2015 um 11:37 schrieb Ken Peng: If disk quota is reached, an error can be threw out. we can accept this policy. Thanks. and damage will happen - jesus christ the worst thing for a database is "disk full", if you don't care just start the mysql instances as different use

Re: mysql instance disk quota

2015-09-06 Thread Reindl Harald
Am 06.09.2015 um 12:01 schrieb Ken Peng: How to set OS disk quota? that's hardly a mysql question http://lmgtfy.com/?q=linux+disk+quota On 2015/9/6 17:52, Reindl Harald wrote: set OS disk quota for them signature.asc Description: OpenPGP digital signature

Re: How to auto repair db on hosting with quota

2007-12-10 Thread Artem Kuchin
the hard_limit. I can repair all table manually and i have a script for doing it just by chown-ing the db directory to mysql:mysql , repair it, and the back to mysql:usergroup so group quota is observed. Or perhaps it is possible to copy the corrupted database to the temp directory (with increased

Re: How to auto repair db on hosting with quota

2007-12-10 Thread Russell E Glaue
to mysql:usergroup so group quota is observed. Or perhaps it is possible to copy the corrupted database to the temp directory (with increased hard_limit), perform the recovery there, then copy it back. The data directory does not have to remain in the same location in order to be recoverable

Re: How to auto repair db on hosting with quota

2007-12-09 Thread Artem Kuchin
as the original database files (i mean, for example, .TMD files which can be huge!). So, i am currenctly stuck with no solultion to the problem. -- Artem Russell E Glaue wrote: Using Quota on Unix, you can specify a different quota soft_limit for temporary space. You can set MySQL to use /tmp

Re: How to auto repair db on hosting with quota

2007-12-09 Thread Russell E. Glaue
on hosting with quota I won't convert thread style, so, i'm top-posting :) All this would be great if it worked. The main problem is that temporary directory option for mysqld iS NOT USED while doing table repair. All files while repairing tables are placed in the same directoty with the same owner

How to auto repair db on hosting with quota

2007-12-07 Thread Artem Kuchin
I am asking this question as a hosting PROVIDER, not as a hosting client. The sitation is like this (this is a simple example with small numbers): 1) a client has 100mb quota for site and db files (set on unix group) 2) 80mb is already taken by 75MB database in ONE TABLE and 5mb of files 3

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Russell E Glaue
Using Quota on Unix, you can specify a different quota soft_limit for temporary space. You can set MySQL to use /tmp as the temporary space, then set a soft_limit of 10mb and a hard_limit of 300MB. This quota should be separate from the normal user space quota. With MySQL temp dir set to /tmp

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Artem Kuchin
Steven Buehler wrote: -Original Message- From: Artem Kuchin [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 4:35 AM To: mysql@lists.mysql.com Subject: How to auto repair db on hosting with quota I am asking this question as a hosting PROVIDER, not as a hosting client

RE: How to auto repair db on hosting with quota

2007-12-07 Thread Steven Buehler
-Original Message- From: Artem Kuchin [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 4:35 AM To: mysql@lists.mysql.com Subject: How to auto repair db on hosting with quota I am asking this question as a hosting PROVIDER, not as a hosting client. The sitation is like

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Artem Kuchin
to limit connection per user? (so one user cannot abuse the server and take all max_connections connections for himself). -- Regards, Artem Russell E Glaue wrote: Using Quota on Unix, you can specify a different quota soft_limit for temporary space. You can set MySQL to use /tmp as the temporary

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Martin Gainty
on hosting with quota -Original Message- From: Artem Kuchin [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 4:35 AM To: mysql@lists.mysql.com Subject: How to auto repair db on hosting with quota I am asking this question as a hosting PROVIDER, not as a hosting

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Russell E Glaue
connection per user? (so one user cannot abuse the server and take all max_connections connections for himself). -- Regards, Artem Russell E Glaue wrote: Using Quota on Unix, you can specify a different quota soft_limit for temporary space. You can set MySQL to use /tmp as the temporary space

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Baron Schwartz
Regards, Baron Yes it is. Even worse, people love to convert a top-posted thread to bottom-posted and verse vice-a! I see topposting i popular in this mail list :) And now for the bottom-posting part of this reply... Any idea on how to limit connection per user? (so one user cannot abuse

Re: How to auto repair db on hosting with quota

2007-12-07 Thread Artem Kuchin
Baron Schwartz wrote: Regards, Baron Yes it is. Even worse, people love to convert a top-posted thread to bottom-posted and verse vice-a! I see topposting i popular in this mail list :) And now for the bottom-posting part of this reply... Any idea on how to limit connection per user? (so

Mysql Quota

2006-03-19 Thread Cem Kamil Külekçi
Hi, I want to give quota each user's accounts. I think this is possible cause I saw lots of hosting company do that but couldn't find anything about that. Is there anyone know how I can put qouta on mysql? or is there any way to move user's data file to its own directory (disk quota)? thanks

Re: MySQL quota problem

2005-01-21 Thread Heikki Tuuri
Iavor, if you use the directory quota method and InnoDB's innodb_file_per_table option in 4.1.9, I would be interested to hear the results. If the space runs out in a database directory, then INSERTs etc. in that database should fail with the error 'Table is full' and the SQL statement should

MySQL quota problem

2005-01-20 Thread Iavor Stoev
Hello, I have trouble with setting mysql database quota per user at my server. I`m using MySQL 4.0.22 on Linux with kernel 2.4.29. I`m using group quota on my server and all user`s files, mails and databases are with group $user (user`s mysql database directory is with setgid bit enabled

Setting up a Disk Quota for a database

2005-01-20 Thread Diego, Emil
I am using mysql 3.23. I want to know if it is possible to setup different size quotas for different databases? Emil Diego Website Administrator University of Miami School of Business 305.284.5449 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

Re: MySQL quota problem

2005-01-20 Thread Arjen Lentz
Hi Iavor, On Fri, 2005-01-21 at 02:33, Iavor Stoev wrote: I have trouble with setting mysql database quota per user at my server. I`m using MySQL 4.0.22 on Linux with kernel 2.4.29. I`m using group quota on my server and all user`s files, mails and databases are with group $user (user`s

Re: per user database size quota

2004-09-07 Thread Egor Egorov
Balazs Miklos [EMAIL PROTECTED] wrote: I would like to limit database sizes on my server on a per user basis. I haven't really found any information about this in the manual, neither in the list archive or on the web. Is there a way to do this? No. -- For technical support

per user database size quota

2004-09-06 Thread Balazs Miklos
Hello, I would like to limit database sizes on my server on a per user basis. I haven't really found any information about this in the manual, neither in the list archive or on the web. Is there a way to do this? If mysql doesn't support this natively, is there maybe a third party patch?

Managing table quota

2004-07-01 Thread Shashi Kiran
Hi Is it possible to change the table memory usage quota through mysql 4.X scripts as we do in Oracle. We are migrating our application from Oracle 9i to MySQL does any body have experience in this area and are there some common problems faced during this procedure. Any information

Managing table quota

2004-06-30 Thread Shashi Kiran
Hi Is it possible to change the table memory usage quota through mysql scripts as we do in Oracle. We are migrating our application from Oracle 9i to MySQL does any body have experience in this area and are there some common problems faced during this procedure. Any information will be helpful

how to set quota for sql use ?

2003-09-28 Thread ml
Hi all , I have a trouble about how to set quota for sql use , all db under mysql are own by mysql:mysql, i can't set any system quota for it , does anyone have idea about it ? thx

Re: how to set quota for sql use ?

2003-09-28 Thread Jeremy Zawodny
On Mon, Sep 29, 2003 at 02:46:46AM +0800, ml wrote: Hi all , I have a trouble about how to set quota for sql use , all db under mysql are own by mysql:mysql, i can't set any system quota for it , does anyone have idea about it ? thx Check the archives. This was discussed last week. Jeremy

Database file quota question

2003-06-06 Thread Edison Cneeden
Dear all, We are an established IT company that recently started a webhosting service. We are offering MySQL databases and PHP on our servers. We are setting up disk quota for our virtual domains. Everything works fine, except we have no clue as to how to link one or more databases to a certain

Re: Quota Support

2002-12-10 Thread Steven Adams
- From: Dean Harding [EMAIL PROTECTED] To: 'Steven Adams' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 09, 2002 7:01 PM Subject: RE: Quota Support You can place the actual database files inside your user's home directory, and sym-link to them from the MySQL's data folder

RE: Quota Support

2002-12-10 Thread Dean Harding
Adams [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 10 December 2002 7:42 pm To: [EMAIL PROTECTED] Subject: Re: Quota Support So do u mean like this user home dir = /home/web/users/xxx then u symlink /home/web/users/xxx/mysql/database1 /usr/local/mysql/lib/database1 chown -R

Re: Quota Support

2002-12-10 Thread Steven Adams
Well hows it spoes to work with disk qoutas if u dont chown it to the user id?? /Steve - Original Message - From: Dean Harding [EMAIL PROTECTED] To: 'Steven Adams' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 7:32 AM Subject: RE: Quota Support Why would you

Re: Quota Support

2002-12-10 Thread Cedric Veilleux
Yes, you certainly needs to chown the files to the specific user id's for filesystem quota to count the files in the user's quota. This will solve your quota needs, although I see many potential problems: - The mysql daemon needs to have access to the files. An easy solution is to chgrp mysql

RE: Quota Support

2002-12-09 Thread Dean Harding
You can place the actual database files inside your user's home directory, and sym-link to them from the MySQL's data folder. That way they will contribute to the user's whole quota and you don't end up with one quota for DB and another for everything else. The drawback, of course, is that you

Re: mysql quota

2002-11-07 Thread Insanely Great
I think you can set a max quota for a table. Insane - Original Message - From: Henry Umansky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 8:08 PM Subject: mysql quota I want to let users on my system use MySQL, but I want them to have some sort of quota

Re: MYSQL Quota

2002-08-22 Thread Victoria Reznichenko
Alex, Thursday, August 22, 2002, 4:54:01 AM, you wrote: AJ We want to set quota per user. Is that possible on MySQL ? If so AJ how can that be done? Depends on what you want to limit per user. Some info you can find here: http://www.mysql.com/doc/en/User_resources.html

Re: MYSQL Quota

2002-08-22 Thread Chad Kellerman
Alex, Mysql does not do quota for users (atleast as far as I know). But I read once in sysadmin mag that an programmer at an isp wrote a mysql quota daemon. The article is not on the web but here is the issue: http://www.sysadminmag.com/articles/2002/0202/ There is a link on the left

MYSQL Quota

2002-08-21 Thread Alex John
Hi, We want to set quota per user. Is that possible on MySQL ? If so how can that be done? Alex - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

Fw: mysql database quota problems.

2002-06-07 Thread asong
- Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 8:40 AM Subject: mysql database quota problems. Hello, I want to set quota to mysql database by every database or by every user, I can not find any issues from mysql official

quota problem

2002-06-07 Thread asong
- Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 4:29 PM Subject: Fw: mysql database quota problems. - Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 8:40 AM Subject

help with quota problem, thx.

2002-06-07 Thread asong
- Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 4:29 PM Subject: Fw: mysql database quota problems. - Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 8:40 AM Subject

Fw: help with quota problem, thx.

2002-06-07 Thread asong
- Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 4:30 PM Subject: help with quota problem, thx. - Original Message - From: asong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 4:29 PM Subject: Fw

mysql database quota problems.

2002-06-06 Thread asong
Hello, I want to set quota to mysql database by every database or by every user, I can not find any issues from mysql official website, and I don't think the Linux or FreeBSD File System quota solution is effective, who can help me? Thank you in adanced. Regards, Asong

Re: mysql database quota solution for help!!

2002-06-02 Thread Benjamin Pflugmann
archive as quota issues come up regularly and you may find an answer there. Bye, Benjamin. On Sat 2002-06-01 at 17:54:43 +0800, [EMAIL PROTECTED] wrote: mysql database quota solution for help!! -- [EMAIL PROTECTED

mysql database quota solution for help!!

2002-06-01 Thread asong
mysql database quota solution for help!! - 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

quota on mysql

2002-05-06 Thread Praful Saijare
Hi all, How do I go about applying user quota on mysql databases, so that I = can keep track of the disk space used by all the databases users. I am using RH linux 7.0 =20 Mysql 3.23.40 installed on /var/lib/mysql/ quota-2.00pre3-7 applied on /home partation Thanks in advance Praful

Re: quota on mysql

2002-05-06 Thread Egor Egorov
Praful, Monday, May 06, 2002, 2:41:54 PM, you wrote: PSHow do I go about applying user quota on mysql databases, so that I = PS can keep track of the disk space used by all the databases users. PS I am using RH linux 7.0 =20 PS Mysql 3.23.40 installed on /var/lib/mysql/ PS quota-2.00pre3-7

Re: quota on mysql

2002-05-06 Thread Alexander Keremidarski
HI, Praful Saijare wrote: Hi all, How do I go about applying user quota on mysql databases, so that I = can keep track of the disk space used by all the databases users. I am using RH linux 7.0 =20 Mysql 3.23.40 installed on /var/lib/mysql/ quota-2.00pre3-7 applied on /home partation

database quota???

2001-09-04 Thread Brett R. Gordon
. Nothing happens. Any ideas? Is there a quota set on table sizes for non-root users? Is this an indexing problem? Thanks, Brett Brett R. Gordon B.S. Information Systems and Economics Masters of Information Systems Management Heinz School of Public Policy

Max Quota?

2001-07-31 Thread Roberto Ramírez
Can I stablish a quota for every database in MySQL? If this is possible, how can I do this? For example, I want 50mb for the x database, and 200mb for 2x database. Any help would be appreciated. PROSSES, Roberto Ramírez. Tel-Fax. 8115 3197 y 99

Quota?

2001-06-08 Thread Rafal Jank
Hi, is there a way I can assign quota to database users, so they want be able to use all of my disk size? Ideally I would like to assign quota to each user individually. Is it possible at all? Rafal -- _/_/ _/_/_/ - Rafa Jank [EMAIL PROTECTED

Re: Mysql Quota Support/DB Size Limitations

2001-05-11 Thread Dan Nelson
In the last episode (May 10), Nathan Boley said: Hi, I was interested in implementing size limitations on specific databases. I've searched the mysql docs for an mention of quota support, but I am not able to find any. I found that by chown the individual database directories and their files

Mysql Quota Support/DB Size Limitations

2001-05-10 Thread Nathan Boley
Hi, I was interested in implementing size limitations on specific databases. I've searched the mysql docs for an mention of quota support, but I am not able to find any. I found that by chown the individual database directories and their files and then chmod them to be world readable I can

Re: Mysql Quota Support/DB Size Limitations

2001-05-10 Thread Paul DuBois
At 10:23 PM -0700 5/10/01, Nathan Boley wrote: Hi, I was interested in implementing size limitations on specific databases. I've searched the mysql docs for an mention of quota support, but I am not able to find any. I found that by chown the individual database directories and their files

handling of quota-exceeded or end-of-disk-errors within mysql?

2001-04-03 Thread Hanno 'Rince' Wagner
Hi, we currently have a situation with our mysql-3.22.29 under Solaris-2.7, where the databases itself are put on an NFS-mounted filesystem. Yesterday we had a crash of the system and isamcheck tried to recover some databases - but some people have reached or already exceeded their quotas,

Re: handling of quota-exceeded or end-of-disk-errors within mysql?

2001-04-03 Thread Benjamin Pflugmann
Hello. On Tue, Apr 03, 2001 at 11:51:47AM +0200, [EMAIL PROTECTED] wrote: Hi, we currently have a situation with our mysql-3.22.29 under Solaris-2.7, where the databases itself are put on an NFS-mounted filesystem. Yesterday we had a crash of the system and isamcheck tried to recover some