[英]Bulk copy all tables from sql server 2008 to sql server express on Amazon RDS
I am attempting to copy about 5GB of reference data from a local SQL Server 2008 standard instance to a SQL Server 2008 Express instance on Amazon RDS. 我试图将大约5GB的参考数据从本地SQL Server 2008标准实例复制到Amazon RDS上的SQL Server 2008 Express实例。 (This is a once off import)
(这是一次过的导入)
Amazon recommend using Bulk Copy for anything larger than ~ 1GB. 亚马逊建议将批量复制用于大于1GB的任何内容。 I have found examples for using bulk copy to copy single tables but not for copying all tables in a database.
我发现了一些示例,这些示例使用批量复制来复制单个表,而不是复制数据库中的所有表。
Google gives me the following http://support.microsoft.com/kb/176818 but its a bit outdated. Google为我提供了以下http://support.microsoft.com/kb/176818,但它有些过时了。
My current plan is to update the above script to do what I need, but wondering if anybody has a better idea. 我当前的计划是更新上面的脚本以执行我需要的操作,但是想知道是否有人有更好的主意。
I often use the SQL Azure Migration Wizard for quick imports - not sure how long a load this size would take, but the tool is super-easy to use. 我经常使用SQL Azure迁移向导进行快速导入-不知道此大小会花多长时间,但是该工具非常易于使用。 Get it from CodePlex and here's a short screencast on how to use this free tool to do this.
从CodePlex获取它,这是有关如何使用此免费工具执行此操作的简短屏幕录像 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.