Performance
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Performance

  1. #1
    Join Date
    Mar 2008
    Posts
    2

    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

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    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.

  3. #3
    Join Date
    Mar 2008
    Posts
    2

    Smile

    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

  4. #4
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,136

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width