-
Performance
Dear Sir
After creating the indexes the output was executed in 1
milliseconds.But I would like to ask you one thing.Its seems like
after applying the indexes on the three tables the query became
faster.As well as the cost of the query is now after applying the
index is 156.Initially the cost was 28.How come there is a increase in
the cost after applying the indexes in the three table?Please help to
resolve the issue.?
Regards
-
There is no issue to be resolved there other than you do not understand what is in front of you; what you are seeing is what you expect to happen when you add a cost-effective index to your query.
You have to read about I/O Cost, CPU Cost and Cost.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
-
Dear Sir
Thank you very much.But Could you please tell me how to see CPU COST,I/O COST in the execution plan of the query?
Regards
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|