|
|
|
|
![]() ![]() |
Mar 6 2008, 08:05 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 319 Joined: 1-October 07 From: India Member No.: 50,968 |
http://www.kisekaeworld.com/Intractable/SQLOPT.pdf
http://www.seas.upenn.edu/~netaylor/files/systems1005.pdf 2 links that i stumbled upon. Has some easy, useful and good query optimizations. Might be of some use to some. If you know few more please post it so that others might benefit from this. |
|
|
|
Mar 6 2008, 09:19 AM
Post
#2
|
|
|
|||[ n00b King ]||| ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 688 Joined: 20-June 07 From: Auckland Member No.: 45,102 |
I have a whole book on DBMS it covers queries and all kinds of them, joins.. so many to list but I don't have the time to revisit it. The types of queries you'll use or want to use will depend on how you structured your database also but there would be common/general queries optimizations where you could easily apply to all of them.
OK one idea I have but I don't use my self because I'm too lazy is instead of using SELECT * FROM tables you will only select the fields you actually need. In a large system where you have alot of users this could probably save you some processing time? The problem though is there is more typing in the query to limit your selections and so changing and adding new fields is a pain. Theres been cases where I use select * from table and the table may have 7+ fields and I'm only counting the result. To me sometimes its just easier to select * then to select * fields. |
|
|
|
Mar 6 2008, 09:54 AM
Post
#3
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 40 Joined: 15-January 08 Member No.: 56,293 |
Thank you very much for the useful docs man.
Keep up posting! |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 10:07 PM |