Webmaster Forum
Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum > Web Design and Website Development > Programming > MySQL Forums
Register FAQ Members List Downloads Calendar Search Today's Posts Mark Forums Read Webmaster Resources Webmaster Blogs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2008, 07:27 AM
dman_2007
Guest
 
Posts: n/a
iTrader: / %
Default Tip : mysql table maintenance commands

Following commands can be used for table maintenance using the mysql command line:

1) check table table_name

This command is used to run a check on the specified table to see if it has errors. It works on MyISAM, InnoDB and ARCHIVE tables.

2) repair table table_name

Repair table command can be used for repairing a corrupted table. It can be used for MyISAM and ARCHIVE tables. To execute this command the user must have SELECT and INSERT privileges for the table specified in the command.

3) optimize table table_name

This table is used for optimizing table after you have deleted lots of rows in a table or have made a lot of changes in a table with plenty of variable length field (such as varchar, blob, etc). It defragments the data file and reclaims unused space.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!
Reply With Quote
Reply


Useful Resources & Sites
Search Engine Marketing Company
UK Web Hosting
Build One Way Links
 
 
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:05 PM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0