Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 Performance Tuning
»
Indexing question
Indexing question
Rate Topic
Display Mode
Topic Options
Author
Message
PradeepVallabh
PradeepVallabh
Posted Thursday, October 04, 2012 6:01 PM
SSC Rookie
Group: General Forum Members
Last Login: Monday, March 25, 2013 4:51 PM
Points: 41,
Visits: 447
A basic question, i was analyzing an execution plan and found a keylookup using most of the CPU...So i tried to modify the current index to include the output columns of the keylookup so that i can avoid it, but i m not sure where else this index is being used....Does modifying this index by including a column, changes the performance of other queries???(I guess it may not decrease the performance because i am modifying the index only with included columns)
Post #1368782
Evil Kraig F
Evil Kraig F
Posted Thursday, October 04, 2012 6:10 PM
SSCertifiable
Group: General Forum Members
Last Login: 2 days ago @ 5:35 PM
Points: 5,722,
Visits: 6,194
You will slightly to heavily slow down any other query using that index, but that's not a bad thing depending on how large an item you stuffed in there.
At the leaf level of any non-clustered index, all included columns and necessary information to lookup the data off the clustered index is stored. The more data on the leaf, the more 8k pages the index needs to load.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1368785
Bhuvnesh
Bhuvnesh
Posted Thursday, October 11, 2012 12:22 AM
SSCrazy
Group: General Forum Members
Last Login: Thursday, June 13, 2013 7:03 AM
Points: 2,562,
Visits: 3,453
PradeepVallabh (10/4/2012)
i m not sure where else this index is being used....Does modifying this index by including a column, changes the performance of other queries
you can use sys.dm_dp_index_usage_stats dmv where you can see how frequently the mentioned index is being used then you can decide whether you can add the include part there or not
-------Bhuvnesh----------
While 1 = 1 (Learning SQL....)
Click to get fast response of your post
Post #1371227
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.