Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Index types 2 Expand / Collapse
Author
Message
Posted Thursday, August 30, 2012 2:01 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, July 21, 2014 8:35 AM
Points: 3,642, Visits: 72,429
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
Post #1352480
Posted Friday, August 31, 2012 12:57 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 6:38 PM
Points: 1,371, Visits: 1,560
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

Post #1352615
Posted Sunday, September 2, 2012 11:31 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 8,573, Visits: 9,081
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.

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
Post #1353255
Posted Monday, September 3, 2012 3:51 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 27, 2014 7:17 PM
Points: 197, Visits: 459
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)
Post #1353415
Posted Monday, September 3, 2012 5:07 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 8,573, Visits: 9,081
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.


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
Post #1353447
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse