I have been reading for the last two days about indexes and how to optimize a database.
Despite I have a clear idea on Indexes i don’t know yet how to practically optimize my database.
Could you suggest any tutorial or technique to optimize a database.
Please be specific as i have been reading lots of theory but no specific instruction up to now
thanks
If it "aint" broken don’t fix it. Look for the slow areas of your application, find the offending queries and analyze those query plans and address the index issues if any. Don’t just start making changes in your system because you just learned something!
further reading: Link
try this query to find missing indexes:
or this one: