Guest User

Untitled

a guest
May 21st, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. post your query in a readable format
  2.  
  3. then...
  4.  
  5. foreach table in your query post the results of the following:
  6.  
  7. show table status like '<table name>';
  8. explain <table name>;
  9. show indexes from <table name>;
  10.  
  11. finally...
  12.  
  13. post the explain plan of your query
  14.  
  15. if you have problems formatting the output of any of the above try using the \G modifier
  16.  
  17. http://pento.net/2009/02/27/the-g-modifier-in-the-mysql-command-line-client/
Advertisement
Add Comment
Please, Sign In to add comment