简体   繁体   English

如何在Amazon Redshift中创建现有数据库的副本

[英]Ways to create a copy of an existing Database in Amazon Redshift

I come from a Microsoft SQL Server background and of late working on Amazon Redshift. 我来自Microsoft SQL Server背景,并且最近在Amazon Redshift上工作。 Was looking for options to create a copy of development database for QA. 正在寻找为QA创建开发数据库副本的选项。 The quickest way to accomplish this in SQL Server would be to generate scripts with schema & data for instance or use SSIS. 在SQL Server中实现此目的的最快方法是生成具有模式和数据的脚本或使用SSIS。 What are the different options to accomplish the same in Amazon Redshift. 在Amazon Redshift中有哪些不同的选项可以实现相同的目标。

The simplest way is taking a snapshot of your existing Redshift cluster and restoring to a new one. 最简单的方法是拍摄现有Redshift群集的快照并恢复到新群集。 As Redshift is compatible with Postgres, you could also use Postgres backup tools, but it would be slower, more difficult to maintain and probably more expensive. 由于Redshift与Postgres兼容,您也可以使用Postgres备份工具,但它会更慢,更难维护并且可能更昂贵。

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

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