DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Search Engine SQL query

  1. #1
    Join Date
    Jan 2001
    Posts
    14

    Lightbulb

    Hi,

    We have a set of tables which has information on which we need to search for certain items. For that I need to use many joins to fetch certain data from millions of records. The query normally contains 'LIKE' statement to mach the string.
    Is there any specific query tuning stuff available for search engines to reduce the query execution time?

    thanks,
    Satheesh.

  2. #2
    Join Date
    Nov 2000
    Location
    Baltimore, MD USA
    Posts
    1,339
    Sorry, but this question is simply far too broad.

    First, you must have an optimal database design. There are dozens, if not hundreds, of rules to be followed to make sure that this is true.

    You then construct the SQL to obtain any given set of information. There are then dozens of rules to follow to make sure that the SQL is optimal as well.

    So for a question as general as what you have asked, there are 2 general answers:

    - Make sure you have an optimal design
    - Make sure you write optimal SQL.

    If you have more specific questions along the way, feel free to ask them.

    - Chris
    Christopher R. Long
    ChrisRLong@HotMail.Com
    But that's just my opinion. I could be wrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width