473,693 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1427
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********@hot mail.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.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.supe rnews.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
2354
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 experienced C++ programmer. This has allowed me to see many potential areas where the security of a server can be compromised through loopholes in PHP. Granted, with the right knowledge these potential threats can be avoided. But I've just...
2
2802
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 Server or pay extra hosting fees from someone that has it. I would like to keep ASP, but use mySQL. My dilemma is that, while I would like to add mySQL, I don't want to create a mixed environment by using phpmyadmin to administrate it. Does anyone...
0
1723
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 sci student organization. I'm going through the mysql manual on the mysql website right now, starting to figure out the differences and similarities between the systems. It seems like security and user administration is handled a bit differently...
51
3765
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 to square one has been a pain. I can follow the tutorials and get to the point where I can make tables and stuff, but I don't know how I got there, or what to do if something changes that makes it different than the tutorial. MySQL doesn't seem...
0
1577
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 in OpenOffice. The database currently consists of a single table, located in c:\MySQL\data. The database is CD_Collection; the table name is Album. There is no password associated with the database/table. (I'm just getting started, and wanted...
0
1810
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 Oracle or DB2), specially those points concerning High Availability, Clustering, monitoring, ... Now that CA has realeased Ingres under opensource I thought it was time to change to such database since Ingres has all the proffesional features one...
175
11409
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 think is PostgreSQL would have less USP's (Uniqe Selling Points
2
1545
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 recommend for Administration,Query creation.... Etc 3.Any tools for setup Mysql database to ship with ApplicationProgram (Access need not be installed in a Windows machine)
15
4604
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 communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
0
1958
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 consumer facing website. At present they are seeking a highly motivated, energetic MySQl DBA to fill full-time position in their stratospherically growing organization. Our client offers entrepreneurial culture - ideas are always welcome,...
0
8611
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9100
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8970
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8812
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7643
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6475
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5824
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
1967
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.