?
Solved

Page / Row compression in sql2008

Posted on 2013-01-30
3
Medium Priority
?
177 Views
Last Modified: 2013-02-04
Hi,
If I decided to enable page/ row compression for few of our huge table,what other side factor I have to take consideration ?

: CPU usage ? how this will impact other session performance ?
: Backup and restore ?
: Mirroring or  replication or even log shipping ? any concern ?
: Memory consumption especially in Buffer pool area ?
0
Comment
Question by:motioneye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Assisted Solution

by:deviprasadg
deviprasadg earned 2000 total points
ID: 38838247
Compression does not affect backup and restore.
Compression does not affect log shipping.

For affects on CPU Usage memory Consuption please refer this link:
http://msdn.microsoft.com/en-us/library/dd894051.aspx

For other details please refer this link:  
http://technet.microsoft.com/en-us/library/cc280449(v=sql.100).aspx
0
 

Author Comment

by:motioneye
ID: 38838458
I wonder one thing,
If I truncate current data, then start alter table with compression set enable, will newly inserted data get as compressed ?
0
 
LVL 10

Accepted Solution

by:
deviprasadg earned 2000 total points
ID: 38838745
yes it will.

Please refer: http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx

for a sample script to enable and disable compression after truncate.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question