SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Index types 2


Index types 2

Author
Message
mtassin
mtassin
SSCertifiable
SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)

Group: General Forum Members
Points: 7388 Visits: 72521
Glad to be part of the 27% that got it right, but that's only because I had the 4 to go by.

I would have probably bypassed the columnstore one otherwise. The rest I was pretty sure on either way, but the columnstore one was more plausible than the bitmap on a computed column one.



--Mark Tassin
MCITP - SQL Server DBA
Proud member of the Anti-RBAR alliance.
For help with Performance click this link
For tips on how to post your problems
Lokesh Vij
Lokesh Vij
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3364 Visits: 1599
Thanks for the great question Hugo!
Kept me researching to figure out the correct answer. In the end, I followed the proecss of eliminitation :-)

Very sure that you must have spent lot of time creating such a wonderful question!

~ Lokesh Vij

Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions

Link to my Blog Post --> www.SQLPathy.com

Follow me @Twitter


Tom Thomson
Tom Thomson
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26319 Visits: 12506
Very good question.

Hugo Kornelis (8/30/2012)
BTW, maybe it's a bit early to say anything about the percentages, but at this point I am mainly surprised at:
* 28% wrong answers on the "bitmap on computed" option - I expected this to be lower
* 17% wrong answers on the "nonclustered on a view" option - here, I expected a higher failure rate

Well, the non-clustered index with included columns is an amusing concept, and I'm astounded that so many people (44% now) believe in such a fabulous beast. :-)

Maybe people have some vague idea about bitmap indexes because a certain non-MS dbms offers its users this interesting form of mental agony, and that vague idea misleads them into guessing that they exist in MS SQLServer? Anyway, the number getting that one wrong is now down to 22%.

I guess these two numbers are a bit closer to your expctations now that they were early on.

.
Hugo Kornelis (8/30/2012)
DugyC (8/30/2012)
Had to answer by process of elimination

Thanks, Dugy!

Frankly, I am a bit disappointed that the site moderators included the number of correct answers. I had included a note that there are multiple correct answers without specifying how many, to make it a true test of knowledge - but apprently, including the number of correct answers for questions with more than one answer is now standard practice, applied to all those questions. Sad

Well, I looked up the maximum column count for columnstore index anyway, because I knew there was a limit, and wanted to know what the limit was (obviously it was 260 or higher, but I didn't see knowing that as a reason not to go look it up - and I would have looked it up anyway if the count of 4 hadn't been given). I don't think generally that giving a count is a bad thing, although maybe for some questions it may give too much away. Do you really think it does here? (Maybe it saves people some time researching "bitmap" indexes, but if the objective is for people to learn about SQL Server rather than to learn about Mr Ellison's software that is perhaps a useful saving.)

edit: eliminate non-

Tom

Alex Fekken
Alex Fekken
Old Hand
Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)Old Hand (385 reputation)

Group: General Forum Members
Points: 385 Visits: 460
L' Eomot Inversé (9/2/2012)
Well, the non-clustered index with included columns is an amusing concept, and I'm astounded that so many people (44% now) believe in such a fabulous beast.

Not only do I believe in them, but I use them a lot as well. :-)

If you meant "clustered index with included columns", then I believe in those as well because a clustered index always includes all of its columns. So this should have counted as a correct answer. (The answer wasn't about clustered indexes with an INCLUDE clause in their definition, but clustered indexes with included columns)
Tom Thomson
Tom Thomson
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26319 Visits: 12506
Alex Fekken (9/3/2012)
L' Eomot Inversé (9/2/2012)
Well, the non-clustered index with included columns is an amusing concept, and I'm astounded that so many people (44% now) believe in such a fabulous beast.

Not only do I believe in them, but I use them a lot as well. :-)

Blush w00t
So do I!

If you meant "clustered index with included columns", then I believe in those as well because a clustered index always includes all of its columns. So this should have counted as a correct answer. (The answer wasn't about clustered indexes with an INCLUDE clause in their definition, but clustered indexes with included columns)

yes, that's what I meant. And to me the question seemed to be about t-sql syntax as well as semantics, so it was indeed about clustered indexes with INCLUDE clause.

Tom

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search