Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss Content Posted by Steve Jones
»
Page Compression
14 posts, Page 1 of 2
1
2
»»
Page Compression
Rate Topic
Display Mode
Topic Options
Author
Message
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Saturday, June 11, 2011 9:28 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 7:08 AM
Points: 31,539,
Visits: 13,870
Comments posted to this topic are about the item
Page Compression
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1123858
Koen Verbeeck
Koen Verbeeck
Posted Sunday, June 12, 2011 2:47 AM
SSCrazy Eights
Group: General Forum Members
Last Login: 2 days ago @ 6:30 AM
Points: 9,410,
Visits: 6,495
Great question, with subtle differences between the answers
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1123880
mohammed moinudheen
mohammed moinudheen
Posted Sunday, June 12, 2011 11:55 AM
SSCrazy
Group: General Forum Members
Last Login: Monday, June 17, 2013 10:29 PM
Points: 2,178,
Visits: 3,599
Koen Verbeeck (6/12/2011)
Great question, with subtle differences between the answers
I agree with you, it is a little tough to get this answer right :)
Mohammed Moinudheen
Post #1123946
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Monday, June 13, 2011 1:37 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 3:28 AM
Points: 3,166,
Visits: 4,345
Good question, with some really plausible wrong answers.
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1124073
paul s-306273
paul s-306273
Posted Monday, June 13, 2011 2:25 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 9:12 AM
Points: 1,167,
Visits: 646
I thought I had the correct answer, but the subtlety of the question caught me out.
Post #1124091
SQLRNNR
SQLRNNR
Posted Monday, June 13, 2011 6:36 AM
SSCoach
Group: General Forum Members
Last Login: Yesterday @ 3:33 PM
Points: 18,858,
Visits: 12,443
Excellent question.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1124206
L' Eomot Inversé
L' Eomot Inversé
Posted Monday, June 13, 2011 7:01 AM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 12:10 PM
Points: 7,185,
Visits: 7,285
Good question.
But one major niggle and one minor niggle:
Major niggle: if page compression is enabled on a table already containing data, each page is rebuilt and evaluated for page compression; page compression can occur here (unless I've got it wrong) and may make the data fit into fewer pages than if only row compression occurred. So the answer always applies to pages which are empty/unallocated when compression is enabled, but not always to pages which already contain data when compression is enabled.
Minor niggle: page compression won't occur even when a new row doesn't fit if the engine determines that page compression would not free up a significant amount of space.
edit: SCTEs
Tom
Is minic a gheibheann béal oscailte dorn dúnta.
Is minig a cheapas beul fosgailte dòrn dùinte.
http://es.linkedin.com/in/tomthomsonsoftware
Post #1124232
ashjoe7
ashjoe7
Posted Monday, June 13, 2011 7:41 AM
Grasshopper
Group: General Forum Members
Last Login: Wednesday, June 13, 2012 2:16 AM
Points: 10,
Visits: 13
This question is little tricky i.e When compression is enabled on server then only
page compression can occur .if page compression is not enabled and if page is full and a new row is added then compression may not worked .
Post #1124255
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, June 13, 2011 9:16 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 7:08 AM
Points: 31,539,
Visits: 13,870
Tom.Thomson (6/13/2011)
Good question.
But one major niggle and one minor niggle:
Major niggle: if page compression is enabled on a table already containing data, each page is rebuilt and evaluated for page compression; page compression can occur here (unless I've got it wrong) and may make the data fit into fewer pages than if only row compression occurred. So the answer always applies to pages which are empty/unallocated when compression is enabled, but not always to pages which already contain data when compression is enabled.
Minor niggle: page compression won't occur even when a new row doesn't fit if the engine determines that page compression would not free up a significant amount of space.
edit: SCTEs
Fair points. I've added a note that this is after the initial page compression setting.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1124348
Peter Trast
Peter Trast
Posted Monday, June 13, 2011 10:34 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Friday, March 15, 2013 10:35 AM
Points: 594,
Visits: 654
Missed it! But learned some important detail.
Great question!
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #1124425
« Prev Topic
|
Next Topic »
14 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.