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



A select query over a large table runs very slow because of the growing number of entries in that ..

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

A select query over a large table runs very slow because of the growing number of entries in that ..

Answer / kalaivani

select the required field from the table

Is This Answer Correct ?    3 Yes 1 No

A select query over a large table runs very slow because of the growing number of entries in that ..

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

A select query over a large table runs very slow because of the growing number of entries in that ..

Answer / sanjeev vishu

To improve select query speed we must use paging.

Is This Answer Correct ?    4 Yes 8 No

A select query over a large table runs very slow because of the growing number of entries in that ..

Answer / dinesh goyal

By using LIMIT we can improve speed.

Is This Answer Correct ?    5 Yes 10 No

Post New Answer

More MySQL Interview Questions

Can you save your connection settings to a conf file?

1 Answers  


How do I flush privileges in mysql?

0 Answers  


Explain the difference between FLOAT, DOUBLE and REAL.

14 Answers   Yahoo,


How can increase the performance of MySQL select query?

3 Answers   RV Technologies, Span Systems,


What are date and time intervals?

0 Answers  






what is cte? : Mysql dba

0 Answers  


Have you ever used MySQL Administrator and MySQL Query Browser? Describe the tasks you accomplished with these tools?

1 Answers   TCS,


How do you rename a procedure in mysql?

0 Answers  


What is the difference between mysql_connect and mysqli_connect?

0 Answers  


How to calculate the difference between two time values?

0 Answers  


What is mysql slow query?

0 Answers  


What is difference between schema and table?

0 Answers  


Categories