Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mysql versions of stuff i know in MSSQL

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
0
0
GB
Hey all,

I am an MSSQL DBA but i am helping out a friend with Mysql. In MSSQL I maintain my indexes by rebuilding\reorganising as required.

How do you do this in Mysql (to stop index fragmentation)?

Also in MSSQL i will run profiler to capture all the queries against the server and run that into performance tuning advisor to start with to get some good indexes (i analyse it by hand later).

How can i do something similar in mysql?

Many thanks for your advice to a Mysql newbie.

Dan

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

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
You can use the command-line utility mysqlcheck to do an "optimize" for one table, a database or all databases.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
Hex (in Darwin's Watch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top