简体   繁体   English

数据迁移与架构迁移(sql server)

[英]data migation vs schema migration (sql server)

This question is related to SQL server migration.此问题与 SQL 服务器迁移有关。

I know BCP is used for data migration whereas tools such as DAC's (Data tier applications) are used for schema migration.我知道 BCP 用于数据迁移,而 DAC(数据层应用程序)等工具用于模式迁移。

Generate SCRIPT wizard can do both right?生成 SCRIPT 向导可以做到这两点吗?

can BCP perform schema migration? BCP 可以执行架构迁移吗? can DAC perform data migration? DAC可以进行数据迁移吗?

it would be great can briefly state the difference between data migration vs schema migration.可以简要介绍一下 state 数据迁移与架构迁移之间的区别。 I read and searched about material that could delineate the difference, but was not able to find it in concise and clear form.我阅读并搜索了可以描述差异的材料,但无法以简洁明了的形式找到它。

Thanks.谢谢。

Paras,帕拉斯,

I am NOT sure what you are referring to regarding DAC here.我不确定您在这里指的是关于 DAC 的内容。 If you mean Dedicated Admin Connection that is NOT helpful in this situation.如果您指的是在这种情况下没有帮助的专用管理员连接。

You have Database Publishing wizard in SQL Server 2005 and it is integrated in SQL Server 2008 in the SSMS.您在 SQL Server 2005 中有数据库发布向导,它集成在 SSMS 的 SQL Server 2008 中。 That will help here but you need to add more details like how many tables, how much data, what's the source & destination.这在这里会有所帮助,但您需要添加更多详细信息,例如有多少表、多少数据、源和目标是什么。 You could also use SSIS here and get minimal logging reducing the overhead.您还可以在此处使用 SSIS 并获得最少的日志记录以减少开销。

If you haven't looked at this already, checkout this brief article on different options.如果您还没有看过这个,请查看这篇关于不同选项的简短文章。 http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/title-12 http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/title-12

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM