How can you do the fine tunning?

Answer Posted / salil

Other than using Explain to improve the sql by adding index.
we can also do some server side change to help improve MySQL
query performance.
You can enable slow_query_log to find out queries taking
long time and uses explain on those to fix it.

Add query_cache_size = 16M
This will cache the query result and return data fast on the
next request for the same query.

set key_buffers.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know if mysql is installed on windows?

473


How do I disconnect mysql workbench?

528


How would you get the current date in mysql?

646


What is blob and clob?

504


How to include numeric values in sql statements?

496






What is an example of a delimiter?

484


What are the advantages of myisam over innodb?

558


Write a query to create a database and a table?

483


What is flush privileges in mysql?

514


Which storage engine is best in mysql?

467


Why to use char instead of varchar in the database?

564


What are the types of database engines available in mysql?

470


How do I download a mysql community server?

441


what is the procedure to configure the application of mysql?

488


How many mysql connections can handle?

481