Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts

    Question Size in KB of MySQL table

    What's the best way to find the size in KB of a MYSQL table?

    I was thinking maybe there was some shell scripting I could execute with PHP's exec() command, to find the size of any given table. I don;t see any existing PHP functions (http://us3.php.net/manual/en/ref.mysql.php) that will perform this task for me.

    Any ideas?

    Edit: And if anyone knows the shell required here, could you please post it? Thanks..
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #2
    Regular Coder
    Join Date
    May 2006
    Posts
    101
    Thanks
    0
    Thanked 1 Time in 1 Post
    use SHOW TABLE STATUS mysql statement in mysql_query()


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •