?
Solved

Page / Row compression in sql2008

Posted on 2013-01-30
3
Medium Priority
?
180 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
  • 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Loops Section Overview
Suggested Courses

807 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