FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > FutureQuest Site Owners (All may read - Only Site Owners May Respond) > Questions & Suggestions
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-15-1999, 10:00 PM   Postid: 28071
DanS
Registered User

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: May 1999
Location: Washington, DC, USA
Posts: 86
MySQL database size

Is there any way of telling how large my MySQL database is from the mysql command line or CNC?  Also, CNC doesn't list disk space under the www root.  Does that mean it's free?
DanS is offline   Reply With Quote
Old 05-15-1999, 11:12 PM   Postid: 28072
DanS
Registered User

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: May 1999
Location: Washington, DC, USA
Posts: 86
Also, does the MySQL server have pack_ism installed and how does that count toward my quota?  Almost all of my tables are read-only.
DanS is offline   Reply With Quote
Old 05-16-1999, 01:49 AM   Postid: 28073
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,675
Quote:
Also, CNC doesn't list disk space under the www root.  Does that mean it's free?
The next major revision of Disk_Space will in fact calculate the total xdom environment, *including* the MySQL database usage as well...

Also, there are system level programs, separate from the Disk_Space modules that keep tabs on the disk usage which will become the basis for the upcoming updates...

The pack_ism is only available with the full commercial version of MySQL, which we do not have right now...

Overall, Disk_Usage will be changing drastically soon...  We have seen domains with literally 1000's of tiny 4 or 5 byte control file sizes, yet on the disk they are consuming a full cluster/block of disk space...

The minimum calculation will be on block consumption, and not file size as that is the true storage space required...  This is an effort for people to start using more efficient storage methods like MySQL or DBM hashes, instead of thousands of small control files...

Doing the math:
:perception:
1000 files x 5 bytes = 5000 bytes
:reality: (based that 1 block = 1024 bytes)
1000 files x 1024 bytes = 1,024,000 bytes (actually consumed)

The above changes will fall right in line as I start to place system level enforced quotas on each domain...  The Linux 2.2.x kernel is ready to roll this out full force, as it still has a few kinks with quotas that must be fixed first...

--
Terra
--perception and reality don't always blend well--
FutureQuest
Terra is offline   Reply With Quote
Old 05-16-1999, 09:47 AM   Postid: 28074
DanS
Registered User

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: May 1999
Location: Washington, DC, USA
Posts: 86
Thanks Terra.  So currently there's no way for me to tell how large and bloated my MySQL database is?
DanS is offline   Reply With Quote
Old 05-16-1999, 01:54 PM   Postid: 28076
DanS
Registered User

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: May 1999
Location: Washington, DC, USA
Posts: 86
Ah, indeed.  I have been busy.  But once I start learning PHP, look out!

The number you gave me is heartening.  The flattext size was 27,145,140 and the indexed (1/table) database size is 29,300,402.  4 tables.  Not bad.  Much better than I expected.
DanS is offline   Reply With Quote
Old 05-17-1999, 12:57 AM   Postid: 28075
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,675
Not that I know of, unless you have access to the MySQL data storage area (off limits)...

2 ways I know of off hand)
1) simple: ls -l or du -k and gleam the file sizes
2) isamchk and snag the data set size...

I will be basing the database size from #1 above, which takes into account the form/data/index size...

If I have some free time in the next 2 weeks, I may cook something up that can calc database sizes and tie it into the Disk_Space module...

I just checked your DB's: 29,300,402 (you've been busy)

--
Terra
--I would borrow time, if the payback interest wasn't so friggin high--
FutureQuest
[This message has been edited by ccTech (edited 05-16-99)]
Terra is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:01 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.