yeah i think #2 would be faster too.
cuz the first query is going to do a 'X?' on each employee entry
while substring (....) = 'A' is going to match it directly
yeah i think #2 would be faster too.
cuz the first query is going to do a 'X?' on each employee entry
while substring (....) = 'A' is going to match it directly
back to the topic of SQL optimization of Silent-Kill
We are all aware that clusters primary purpose is to improve performance of any queries that has two or more tables but still it has a downside and performance becomes worse when accessing one table individually. Using (select * from process where ID like 'Proc00001%') with Oracle databases is not a good idea. My advice, never use it with Oracle since it is a single table you are accessing but for mySQL it’s a different story because it improves the performance when clustered even if you’re just using a single table. I am also confused with other database clustering behavior. This is a bit confusing right? Welcome to the world of the Infinite Learning! Hehehe!![]()
Originally Posted by javapenguin
thank you very much for the effort.
thanks all.
Your welcome
Similar Threads |
|