How to ensure replica is in sync between AWS RDS PSQL primary DB and Aurora RDS PSQL replica cluster?

0

I am migrating RDS PSQL 11.13 to Aurora PSQL 11.13 provisioned DB instance as a part of that I have created read replica of Auroa PSQL but I couldn't confirm replica status. Replica lag metric in Aurora doesn't show any data? where do I check to confirm sync is up-to-date ?

1 回答
0

Please contact AWS Support in case you are not seeing replication lag in your CloudWatch metric. You can also use the query documented here to check replication lag.

"Check the amount of ReplicaLag between source DB instance and replicas. Replica lag is the amount of time, in milliseconds, that a read replica lags behind its source DB instance. This metric reports the result of the following query."

SELECT extract(epoch from now() - pg_last_xact_replay_timestamp()) AS replica_lag
AWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则