The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql disk usage

Discussion in 'General Discussion' started by NNNils, Sep 11, 2003.

  1. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    Any idea what may be the problem when showed mysql disk usage displayed in cpanel is different from the one showed in phpmyadmin ?

    cPanel.net Support Ticket Number:
     
  2. drmuey

    drmuey Member

    Joined:
    Jun 10, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    phpmyadmin basically uses the SHOW TABLE STATUS command and uses Data_length and Index_length which is the size of those two files only.
    Perhaps cpanel actually gives the size of all the files for the database and not just data and index..

    http://www.mysql.com/doc/en/SHOW_TABLE_STATUS.html


    HTH

    DMuey

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page