Exforsys
+ Reply to Thread
Results 1 to 3 of 3

Performance of Query

This is a discussion on Performance of Query within the MySQL forums, part of the Database category; What are the SQL tuning hints one can apply if the SQL query runs too long time? I have good ...

  1. #1
    Ralph is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    114

    Performance of Query

    What are the SQL tuning hints one can apply if the SQL query runs too long time? I have good indexing done on the table. I want to further improve the performance of the query which is planned to run for long hours. Kindly provide me some ways for achieving the best performance of my query.


  2. #2
    Rahulbatra is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124
    One important guideline I could give you is Check whether you have placed index on all fields which you use for joining. If not first do that since this will help you to fetch and store values in an efficient way.


  3. #3
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97
    In the select statement always place whatever columns which you need in your output for other queries. Avoid selecting unnecessary attributes in select columns. This methodology would help in increasing your performance in a sufficient manner.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...