PHP Classes

MySQL Optimizer: Analyze, optimize or repair MySQL database tables

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 2,083 All time: 1,881 This week: 170Up
Version License Categories
mysqlopt 1.0Free For Educatio...Databases, Systems administration
Description 

Author

This class is meant to analyze, optimize or repair tables of a MySQL database.

The class is capable of connecting to a given MySQL database, extract the list of names of tables, and perform one of the three operations in all tables. The results are outputted in an HTML table.

Innovation Award
PHP Programming Innovation award nominee
March 2004
Number 4


Prize: One subscription to the PDF edition of the magazine by PHP Architect
MySQL is probably the most popular database being used with PHP applications. Sometimes, the databases need to be subject of maintenance tasks like optimizing heavily changed tables or repair tables that may have been affected by some kind of system malfunctioning.

MySQL provides seperate tools to perform these tasks but in the latest versions it was added the possibility request the execution of this kind of operatings via special SQL commands, but on a table by table basis.

This class provides an interface to automate the execution of these maintenance tasks on all tables of a given database.

This is a simple level of automation enables for instance the possibility to schedule the database maintenance operations by executing PHP scripts that use this class to execute the necessary maintenance tasks without human intervention.

Manuel Lemos
Picture of Ben Yacoub Hatem
Name: Ben Yacoub Hatem <contact>
Classes: 18 packages by
Country: Tunisia Tunisia
Age: 45
All time rank: 241 in Tunisia Tunisia
Week rank: 91 Down1 in Tunisia Tunisia Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file mysqlop.class.php Class MySQL Optimiser Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,083
This week:0
All time:1,881
This week:170Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3377
 
not good , not bad
9 years ago (pooya sabramooz)
45%StarStarStar