|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 11:04 AM
Points: 1,560,
Visits: 1,406
|
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 7:11 AM
Points: 877,
Visits: 1,159
|
|
Very nice question though I got it wrong. I was thinking because of only 3 bit column, it should take 1 byte only same as tinyint.
Thanks
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 6:56 AM
Points: 1,282,
Visits: 1,613
|
|
Really very nice question. Gets the mind thinking about the internal storage and is a very, very important consideration for capacity planning. I got it right, but I must admit that it was only because of two points: 1. I am currently trying to understand database compression 2. I just read about this in Books On Line (It's hardly been two days!)
Great question, great discussion sure to follow! I am looking forward to following the entire thread.
Have a wonderful rest-of-the-day!
Thanks & Regards, Nakul Vachhrajani. http://beyondrelational.com/modules/2/blogs/77/nakuls-blog.aspx Be courteous. Drive responsibly.
Follow me on Twitter: @nakulv_sql Google Plus: +Nakul
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 6:47 AM
Points: 847,
Visits: 770
|
|
Great question, thank you.
I answered wrong by assuming there is no place for compressing bit fields more than it already does, in this case to one byte, I should have thought about the header.
Have a great day, Iulian
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 16, 2011 8:22 AM
Points: 378,
Visits: 353
|
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 4:16 AM
Points: 1,635,
Visits: 1,155
|
|
| Nice question - I thought they would all be the same size as well.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 7:53 AM
Points: 1,868,
Visits: 1,044
|
|
Great Question.Keep continue Posting.
Malleswarareddy I.T.Analyst MCITP(70-451)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 2:18 AM
Points: 1,261,
Visits: 356
|
|
| Great question and interesting - Learnt something new today. Thought I understood compression but need to look into it a bit more it seems!
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 3:50 AM
Points: 969,
Visits: 652
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 7:34 AM
Points: 2,865,
Visits: 2,472
|
|
Excellent question - got it wrong but learned something new. It's going to be a great day
Steve Jimmo Sr DBA “If we ever forget that we are One Nation Under God, then we will be a Nation gone under." - Ronald Reagan
|
|
|
|