Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # Check the health of a mysql server.
    ...
                 }
    $sgv->finish();
    }
    
  2. or download this
    print "********READ-WRITE RATIO********\n\n";
    #The r/w ratio is of course (Com_select + Qcache_hits)/(Com_insert+Com
    +_update+Com_delete+Com_replace)
    ...
    $cu->finish();
    $cd->finish();
    $cr->finish();
    
  3. or download this
    mysql> show variables;
    +---------------------------------+-----------------------------------
    +-------+
    ...
    | delayed_queue_size              | 1000                              
    +       |
    | expire_logs_days                | 0                                 
    +       |