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 «««34567

Solid State Disks and SQL Server Expand / Collapse
Author
Message
Posted Monday, October 8, 2012 12:44 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:56 AM
Points: 25, Visits: 196
Hi Wesley,

Thank you for the info! I understand that it has been a while since you wrote this article but I hope you could answer my questions.

My company just bought ioDrive 2.0 and I've been playing with it.

You wrote:
"... Also, having to convert all my databases from a 512 byte block to a 4KB block is a road block. There is no other way to do this other than copy all the data to a new database that is created on the new 4KB sector size. ..."

Does it mean that a simple restore should do the job? The backup is taken on a drive that is formatted with 512 byte sectors. If I format ioDrive 2.0 to 4K sectors and restore the backup on it, it should be just fine, right?

Thanks,
Denis

Post #1369997
Posted Thursday, November 14, 2013 12:16 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 20, 2013 2:19 AM
Points: 21, Visits: 72
Backup the database elsewhere, reforat the drive with 4096 sector size and restore. Or copy everything off, reformat and copy back on.
Post #1514155
Posted Thursday, November 14, 2013 7:47 AM


SSChasing Mays

SSChasing Mays

Group: Moderators
Last Login: Wednesday, July 23, 2014 1:21 PM
Points: 609, Visits: 407
You can go down sector sizes but you can't go up.
If your storage is a 4k sector you cannot restore a database that is a 512 byte sector to it.
You must create a new database and move all your data from the old database to the new database.
SQL Server can restore or attach a database formatted with a larger sector size onto smaller, evenly divisible physical sectors. This is possible because the log write uses the original formatted size (the larger size of the two). SQL Server may use a bit more log space in this configuration, but the writes to the log are larger than the physical sector size. This prevents rewrites as long as the smaller sector size is an even divisor. An irregular division of (original sector size / physical sector size) creates rewrites (RMWs) and should not be allowed.
from this doc: http://technet.microsoft.com/en-us/library/cc917726.aspx


http://www.sqlserverio.com
http://www.cactuss.org
http://www.salssa.org
Post #1514290
Posted Thursday, November 14, 2013 8:34 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:56 AM
Points: 25, Visits: 196
Wow! I already forgot about this post! Thank you, Wesley! It's very useful to know. I should read this IO white paper, looks interesting.

Denis
Post #1514315
« Prev Topic | Next Topic »

Add to briefcase «««34567

Permissions Expand / Collapse