Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Moving a DB with compressed tables, what happens? Expand / Collapse
Author
Message
Posted Wednesday, October 30, 2013 1:02 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Today @ 12:50 PM
Points: 730, Visits: 5,315
I'm going to be migrating a DB to a new server in the next couple weeks, and have a question. The DB in question has several tables / indexes compressed (page compression) to keep the physical size down.

Currently, I migrate by running a backup, taking the original DB offline, copying the backup to the new server and restoring.

So, simple question. Will the compression remain "on" if I move the DB that way?
Post #1509916
Posted Wednesday, October 30, 2013 1:04 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 11:31 AM
Points: 40,177, Visits: 36,578
A restore recreates a database exactly as it was at the time of the backup.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1509917
Posted Wednesday, October 30, 2013 1:28 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Today @ 12:50 PM
Points: 730, Visits: 5,315
Cool, thanks.

Which, now that I think about it, I should've realized. It'd be outright silly for it *not* to be exact, up to and including compressed items...
Post #1509923
Posted Thursday, October 31, 2013 1:22 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, August 27, 2014 10:20 AM
Points: 261, Visits: 469
Only one other thing to add to this, just be sure you are migrating to an Enterprise edition SQL Server, as I do not believe that compression is supported in Standard Edition (yet).
Post #1510398
Posted Friday, November 1, 2013 1:35 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 6:55 AM
Points: 941, Visits: 2,936
Matt Crowley (10/31/2013)
Only one other thing to add to this, just be sure you are migrating to an Enterprise edition SQL Server, as I do not believe that compression is supported in Standard Edition (yet).

Correct. The restore will fail if attempted on Standard Edition.




The SQL Guy @ blogspot

@SeanPearceSQL

About Me
Post #1510517
Posted Friday, November 1, 2013 5:26 AM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Today @ 12:50 PM
Points: 730, Visits: 5,315
One nice thing about my place of work...
Everything is (mostly) standardized. Enterprise Edition SQL 2008 R2, Enterprise Ed Server 2008R2 (or just plain 2008 Enterprise Ed, which is what we're migrating off of)

So at least I know everything that was supported on the old server, is on the new.
(It also helps that I'm the one who installed SQL, so I know what version I loaded )

Thanks,
Jason
Post #1510552
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse