我们正在将数据库从运行 sql 2005 的旧 32 位硬件迁移到运行 sql 2008 64 位的较新硬件。我的问题是数据库在重新连接到新服务器上后是否会自动转换为 64 位,或者它是否在 64 位实例上以 32 位模式运行。有办法告诉吗?
最佳答案
是的,从 32 位 Windows 升级到 64 位 Windows 时,您可以简单地分离和附加数据库。
我过去做过 x86->x64 转换,没有任何问题。
没有问题,因为 SQL x86 和 x64 的存储层是相同的。
Microsoft says here :
The SQL Server on-disk storage format is the same in the 64-bit and 32-bit environments. Therefore, attach works across 32-bit and 64-bit environments. A database detached from a server instance running in one environment can be attached on a server instance that runs in another environment.
所以回答你的问题,如果你:
选项#1 和#2 都会导致相同的最终状态。 x86 数据库和 x64 数据库之间没有这种区别。
从 2005 年到 2008 年,使用了一种兼容模式。但是对于 x86 到 x64 没有区别。
关于sql - 32位到64位sql server 2008数据库转换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2526375/