|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 8:09 AM
Points: 1,558,
Visits: 1,396
|
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 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: Today @ 1:02 AM
Points: 1,277,
Visits: 1,609
|
|
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: Saturday, March 16, 2013 9:53 AM
Points: 847,
Visits: 768
|
|
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 @ 5:05 AM
Points: 1,608,
Visits: 1,097
|
|
| Nice question - I thought they would all be the same size as well.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 8:05 AM
Points: 1,846,
Visits: 980
|
|
Great Question.Keep continue Posting.
Malleswarareddy I.T.Analyst MCITP(70-451)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 2:10 AM
Points: 1,239,
Visits: 346
|
|
| 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: Monday, May 20, 2013 3:35 AM
Points: 969,
Visits: 650
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 7:15 AM
Points: 2,865,
Visits: 2,467
|
|
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
|
|
|
|