If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Suggestion for Query Optimization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-09, 06:28
helloc++ helloc++ is offline
Registered User
 
Join Date: Feb 2009
Posts: 2
Suggestion for Query Optimization

Hi guys,

I would like get your expert suggestion for query optimization.

1) If am using
Code:
IN( , .. , ..,  )
in my query , will it be SLOW in term of network traffic or any other way ...?
2) Will it be a good practise to use small small queries( divide and conquer ) instead of a complex and big query...?


please let me know your suggestion from your experience, as i am not a expert
Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 03-24-09, 06:46
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
1. no

2. no

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On