A select query over a large table runs very slow because of
the growing number of entries in that table. What different
measures could be taken to improve speed?
Answers were Sorted based on User's Feedback
Answer / dhirendra
Myself also faced the problem and after indexing its
resolved.
Try to find out the feild name on which maximum query
executed. Create index on that field it will improve the
performance.
Secondly you may create archiev of you table which stores
the record which is not required and deletion or updation
activity and keep the current table light.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / jd
This question cannot be answered with the way it is formulated.
One has to run a trace to figure out why the select is slow.
it could be a lack of index, it could be bad storage
parameters, it could be that the select itself is written
poorly.
Too many problem can be described by this symptom.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sanjeev vishu
To improve select query speed we must use paging.
Is This Answer Correct ? | 4 Yes | 8 No |
What is the innodb in mysql?
List some comparisons operators used in mysql?
How to use like conditions?
Explain the difference between mysql and mysql interfaces in php?
Write a query to stop mysql in unix
How can an index be declared in mysql?
How to enter boolean values in sql statements?
How to use regular expression in pattern match conditions?
In which year mysql created?
what is the main difference between myisam and innodb
What is the difference between mysql_connect and mysqli_connect?
What is definer in mysql?