Heaps

  • Nice question! You really had me in doubt, as 4 seemed a too easy answer 🙂

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Good question Steve! 4 seemed too obvious to me as well.

  • Thank you Steve. 🙂

    M&M

  • Thanks for the question. I dithered a little as well, before selecting the "obvious" answer of 4. A good, non-trick question.

  • Good question, I know instinctively that each object get's a new set of allocation Units per partition, but I normally do this with clustered indexes, and not heaps.

    I went out and did this on a test db real quick to validate what already had known, it's questions like this that help us validate book knowledge by looking in all the little knooks and cranies.

  • Glad it went over well. This one was hard to write without trying to trick people. I wanted it to make you think, but be solvable without misleading anyone.

  • Good question Steve.

  • I knew it was either 1 or 4, but I wasn't sure whether the heap would span the partitions or not. So I took a stab at 1 and was wrong. I was just too sure that there was a trick there and dug in too deep, because my gut was telling me 4.

  • So the clustered index bit of the question was just a decoy huh? Either way there will be 4 structures whether it is 4 heaps or 4 b-tree's right?

  • Good question

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • 4 heap structures. If you read the reference, it states this.

  • Good question. Thanks Steve.

    Chris Umbaugh
    Data Warehouse / Business Intelligence Consultant
    twitter @ToledoSQL

  • Nice technical question Steve. Are some of these recent questions resulting from you studying for the MCM Certification?

  • Koen Verbeeck (5/3/2011)


    Nice question! You really had me in doubt, as 4 seemed a too easy answer 🙂

    I felt the same way, but knew the answer was 4.

    I hope that is why over 40% are getting the wrong answer.

  • SanDroid (5/4/2011)


    Koen Verbeeck (5/3/2011)


    Nice question! You really had me in doubt, as 4 seemed a too easy answer 🙂

    I felt the same way, but knew the answer was 4.

    I hope that is why over 40% are getting the wrong answer.

    LOL... made me pause, too! It's great to challenge assumptions. Another great question, thanks!

    Peter Trast
    Microsoft Certified ...(insert many literal strings here)
    Microsoft Design Architect with Alexander Open Systems

Viewing 15 posts - 1 through 15 (of 29 total)

You must be logged in to reply to this topic. Login to reply