Can someone provide me the exact difference between Database Tuning and Database Query Optimization?
I have read the following links on Wikipedia:
http://en.wikipedia.org/wiki/Query_optimization
http://en.wikipedia.org/wiki/Database_tuning
As per my understanding it appears that database tuning is nothing else but it is database query optimization. I am still confused
What exactly is the difference between the two?
I would say that query optimization is a subset of database tuning. If you look at any general book on performance tuning you will generally only see one chapter related to tuning the queries. Other chapter have to do with partioning, indexing, load testing, locking and blocking, hardware, memory, schema, etc.