Amazon web services AWS Oracle RDS实例的创建需要花费大量时间(~2小时)
我开始研究AWS RDS,因为我们正在考虑将生产环境迁移到AWS,并且我正在使用云形成创建一个Oracle RDS实例。当我打开数据库堆栈时,创建实例需要30分钟到2小时 我注意到时间取决于Amazon web services AWS Oracle RDS实例的创建需要花费大量时间(~2小时),amazon-web-services,amazon-rds,amazon-cloudformation,Amazon Web Services,Amazon Rds,Amazon Cloudformation,我开始研究AWS RDS,因为我们正在考虑将生产环境迁移到AWS,并且我正在使用云形成创建一个Oracle RDS实例。当我打开数据库堆栈时,创建实例需要30分钟到2小时 我注意到时间取决于DBInstanceClass类越大,所需时间越长。对于30分钟到45分钟的实例创建,我使用以下参数: MasterDatabase: Type: AWS::RDS::DBInstance Properties: BackupRetentionPeriod: 7
DBInstanceClass
类越大,所需时间越长。对于30分钟到45分钟的实例创建,我使用以下参数:
MasterDatabase:
Type: AWS::RDS::DBInstance
Properties:
BackupRetentionPeriod: 7
VPCSecurityGroups:
- Ref: SomeSecurityGroup
AllocatedStorage: 10
DBInstanceClass: db.t2.small
DBInstanceIdentifier: Development-DBInstance
DBSnapshotIdentifier: ''
DBName: DEV
MultiAZ: false
Engine: oracle-se2
LicenseModel: license-included
MasterUsername: user
MasterUserPassword: password
DBSubnetGroupName: !Ref SomeSubnetGroup
CopyTagsToSnapshot: true
这些是正确的参数还是我遗漏了什么
在我看来,30分钟到2小时是很长的时间,但不确定这是否是预期的时间
提前谢谢我认为这些时间很典型。我用您的参数构建了一个多AZ Oracle RDS实例,花了25分钟完成。MySQL等价物花费了20分钟。我使用控制台而不是CloudFormation创建了这两个 Oracle DB的DB实例事件日志提供了花费时间的详细情况,在我的例子中,类似如下所示:
11:00 Start DB creation
11:09 DB instance created
11:09 Start conversion to multi-AZ
11:20 End conversion to multi-AZ
11:22 Start DB backup
11:25 End DB backup
11:25 DB available