473,395 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

MySQL Database Administration HELP!

I have an INNODB installation that has caused me some problems recently
with the data files growing beyond the UNIX file size limits. I have
everything back to normal but,

My question: is there a mysql systems table or variable that I can get
the:

-Current space allocated?
-Current space used?

OR does anyone already have an SQL statement that will get this
information?

Please help!

Sep 14 '05 #1
4 1414
gamma_one wrote:
I have an INNODB installation that has caused me some problems recently
with the data files growing beyond the UNIX file size limits.


You should specify multiple innodb tablespace files, with size limits
for each file.

See:
http://dev.mysql.com/doc/mysql/en/in...iguration.html
http://dev.mysql.com/doc/mysql/en/ad...-removing.html

Regards,
Bill K.
Sep 14 '05 #2
"gamma_one" <ga********@hotmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I have an INNODB installation that has caused me some problems recently
with the data files growing beyond the UNIX file size limits. I have
everything back to normal but,

My question: is there a mysql systems table or variable that I can get
the:

-Current space allocated?
-Current space used?


For UNIX/Linux systems try
df -h to display each disk partition with it's Size, Used, Avail, and
%Use
and
du {directory} to show a breakdown of disk space usage by the directory
structure.

For dedicated mysql servers - happiness is having the mysql data on a disk
partition of it's own. Happier still if this partition is on it's own fast
drive.
Thomas Bartkus
Sep 15 '05 #3
>> I have an INNODB installation that has caused me some problems recently
with the data files growing beyond the UNIX file size limits. I have
everything back to normal but,

My question: is there a mysql systems table or variable that I can get
the:

-Current space allocated?
-Current space used?

For UNIX/Linux systems try
df -h to display each disk partition with it's Size, Used, Avail, and
%Use
and
du {directory} to show a breakdown of disk space usage by the directory
structure.


Innodb tables are kept in large files that are preallocated (at
least there is some preallocation. And if you drop tables, the
files don't shrink, but the space may get re-used). df and du are
useless for telling how much free space there is within the file.
For dedicated mysql servers - happiness is having the mysql data on a disk
partition of it's own. Happier still if this partition is on it's own fast
drive.


Which still won't help in finding out how full your Innodb files
are.

Gordon L. Burditt
Sep 15 '05 #4
"Gordon Burditt" <go***********@burditt.org> wrote in message
news:11*************@corp.supernews.com...
I have an INNODB installation that has caused me some problems recently
with the data files growing beyond the UNIX file size limits. I have
everything back to normal but,

My question: is there a mysql systems table or variable that I can get
the:

-Current space allocated?
-Current space used?


For UNIX/Linux systems try
df -h to display each disk partition with it's Size, Used, Avail, and
%Use
and
du {directory} to show a breakdown of disk space usage by the directory
structure.


Innodb tables are kept in large files that are preallocated (at
least there is some preallocation. And if you drop tables, the
files don't shrink, but the space may get re-used). df and du are
useless for telling how much free space there is within the file.
For dedicated mysql servers - happiness is having the mysql data on a diskpartition of it's own. Happier still if this partition is on it's own fastdrive.


Which still won't help in finding out how full your Innodb files
are.

Gordon L. Burditt


Sometimes I volunteer answers to these posts as a check to see if I really
know what I'm talking about :-) I haven't played with nor had I considered
that Innodb tables would work so differently.

Thank You for setting me straight.
Thomas Bartkus
Sep 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Xizor | last post by:
Ok, I'm new to PHP and MySQL. I've been going through tutorials, reading the documentation, and looking through web sites. PHP to me seems great! With MySQL it seems even better. However, I'm an...
2
by: JStrummer | last post by:
I currently have an ASP website that utilizes an Access database, which I administrate through the web via aspaccess. I really would like to have a better database, but I can't afford to own SQL...
0
by: Rob Young | last post by:
Postgres to Mysql I've administrated a few Postgres database servers in the past, but have just started working with mysql, as I've volunteered to admin the mysql server run by my school's comp...
51
by: w_curtis | last post by:
I'm an Access user, and I'm trying to learn MySQL and then PHP so I can make some web databases. But it just isn't clicking. I've followed some tutorials, and picked up a book, but just getting...
0
by: Bob M | last post by:
This question is about MySQL and how it can be accessed with OpenOffice (presumably the same issue would arise with MS Office, but I'm not sure about that). The problem I'm having is with the setup...
0
by: Enrique Ariz?n Benito | last post by:
Hi all, for a long time I have been using Postgresql as my application target database, and while I'm really pleased with it I miss many proffesional features availables in other databases (say...
175
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I...
2
by: areejan2000 | last post by:
Experts/Programmers please advice on these questions. 1. Is Mysql secure than MsAccess (there are softwares avilable to retrieve Ms Office Password) 2. Which 3rd Party tool Would You...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
0
by: Vineeta | last post by:
Volt is the leader in providing workforce design and is currently the 5th largest staffing firm nationwide. Volt is an E.O.E. Our client is a top entertainment/community network and a large-scale...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.