AWS RDS SQL Server failover really slow

jimmyc

We recently resized one of our Multi-AZ RDS SQL Server instances. With the goal of aligning our resource needs with instance capabilities... In summary we were cruising along on a bigger instance then we needed and saw the obvious cost savings. Our business is seasonal and we expect this could need to be up-sized later in the year.

According to AWS the failover process typically takes around 60-120 seconds. In this window we knew our application would not be able to communicate with the database. Realistically we were expecting less than 5 minutes, however the actual time was around 20 minutes before our applications were able to connect and query the databases. This is in-line with the time AWS said the failover had completed.

I am interested to know if anyone else has had similar experiences? We you able to change anything in your setup to improve the failover time? Are the factors under our control which can reduce the failover time.

Further details: We have approximately 25 databases hosted on this instance. We had been on an db.m4.2xlarge instance

Maurice

Not an expert on SQL-Server at all, so take this with a grain of salt.

RDS for SQL Server works different from the other RDS database engines and the article you linked to is very generic. The SQL Server uses either Always-On-Availability groups or Database Mirroring depending on your setup, so this could be a factor that influences the failover time. The documentation for RDS SQL Server Multi-AZ setups is quite extensive, so you might want to review that.

The only hint mentioned there is:

  • Failover times are affected by the time it takes to complete the recovery process. Large transactions increase the failover time.

If you have AWS support in your account, I'd ask them for the details, they have more insight into the underlying issues and should be able to tell you more - it's a managed service after all and if it doesn't deliver on the typically 60-120 second failover times, I'd ask the service provider what went wrong - doesn't mean it's necessarily their fault, but they can at least point you to the root cause :-)

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

SQL Server Deployment automation with SQL Server Data Tools (SSDT), VSTS and AWS RDS

分類Dev

SQL Server MERGE Slow

分類Dev

SQL Server MERGE Slow

分類Dev

AWS Lambda - VPC で SQL Server RDS に接続できない

分類Dev

AWS RDS Postgres replication to GCP cloud SQL

分類Dev

Non AWS server connecting to AWS RDS database is much slower

分類Dev

pandas groupby apply is really slow

分類Dev

Master user lost it's permissions unexpectedly on SQL Server (rds instance)

分類Dev

AWS RDS BatchExecuteStatementRequest

分類Dev

Make Azure SQL database offline in a failover group

分類Dev

S3 バケットから AWS RDS SQL Server にバックアップ ファイルを復元する

分類Dev

AWS RDS(Microsoft SQL Server Express)は、データベースを表示/作成する権限を持つユーザーを追加できません

分類Dev

Getting a GeoServer talking to an AWS RDS?

分類Dev

AWS Route53 failover and chrome DNS cache

分類Dev

One row test insertion to SQL Server RDS works but full load times out

分類Dev

tar slow on Ubuntu Server

分類Dev

Amazon RDS SQL Server:それがRDSであるかどうかを検出する方法は?

分類Dev

golang SDKを使用してAWS RDSでSQLクエリを実行できない

分類Dev

Select top 10 authors with most articles published in MySQL really slow

分類Dev

Is Kivy widgets creation really so slow or am I doing it wrong?

分類Dev

I keep getting certificate errors and websites not loading correctly or really slow

分類Dev

Configure disaster recovery and automatic failover for Azure SQL Database?

分類Dev

Extremely Slow Query which contains multiple Sub-Queries SQL Server 2008 R2

分類Dev

Creating SQL RDS instance in CloudFormation

分類Dev

Is there a way to AWS RDS postgres.log into CloudWatch?

分類Dev

AWS RDS with Postgres : Is OOM killer configured

分類Dev

Instance Size Flexibility for AWS RDS Reserved Instances

分類Dev

Create AWS RDS Instance with specific version?

分類Dev

AWS Lambda NodeJS Connect to RDS Postgres Database

Related 関連記事

  1. 1

    SQL Server Deployment automation with SQL Server Data Tools (SSDT), VSTS and AWS RDS

  2. 2

    SQL Server MERGE Slow

  3. 3

    SQL Server MERGE Slow

  4. 4

    AWS Lambda - VPC で SQL Server RDS に接続できない

  5. 5

    AWS RDS Postgres replication to GCP cloud SQL

  6. 6

    Non AWS server connecting to AWS RDS database is much slower

  7. 7

    pandas groupby apply is really slow

  8. 8

    Master user lost it's permissions unexpectedly on SQL Server (rds instance)

  9. 9

    AWS RDS BatchExecuteStatementRequest

  10. 10

    Make Azure SQL database offline in a failover group

  11. 11

    S3 バケットから AWS RDS SQL Server にバックアップ ファイルを復元する

  12. 12

    AWS RDS(Microsoft SQL Server Express)は、データベースを表示/作成する権限を持つユーザーを追加できません

  13. 13

    Getting a GeoServer talking to an AWS RDS?

  14. 14

    AWS Route53 failover and chrome DNS cache

  15. 15

    One row test insertion to SQL Server RDS works but full load times out

  16. 16

    tar slow on Ubuntu Server

  17. 17

    Amazon RDS SQL Server:それがRDSであるかどうかを検出する方法は?

  18. 18

    golang SDKを使用してAWS RDSでSQLクエリを実行できない

  19. 19

    Select top 10 authors with most articles published in MySQL really slow

  20. 20

    Is Kivy widgets creation really so slow or am I doing it wrong?

  21. 21

    I keep getting certificate errors and websites not loading correctly or really slow

  22. 22

    Configure disaster recovery and automatic failover for Azure SQL Database?

  23. 23

    Extremely Slow Query which contains multiple Sub-Queries SQL Server 2008 R2

  24. 24

    Creating SQL RDS instance in CloudFormation

  25. 25

    Is there a way to AWS RDS postgres.log into CloudWatch?

  26. 26

    AWS RDS with Postgres : Is OOM killer configured

  27. 27

    Instance Size Flexibility for AWS RDS Reserved Instances

  28. 28

    Create AWS RDS Instance with specific version?

  29. 29

    AWS Lambda NodeJS Connect to RDS Postgres Database

ホットタグ

アーカイブ