RDS Postgres, RDS Proxy, Read Replicas?

0

I have two Postgres RDS instances (Not Aurora). One is the Primary and the other is a Read Replica to that Primary. I currently use PGBouncer as a Proxy Pool for both the Primary and Replica. I note that in the documentation for RDS Proxy it does not support Replica, but it also has read only endpoints so the messaging here is confusing.

Does RDS Proxy now support Read Replicas but only through the main proxy? Does it detect that there is a Read Replica and automatically point the read only endpoint to that instance?

1개 답변
1
수락된 답변

Does RDS Proxy now support Read Replicas but only through the main proxy?

No, RDS Proxy does not support automatic routing to Read Replicas for non-Aurora PostgreSQL databases. You can't use RDS Proxy to automatically direct read queries to a Read Replica through the main proxy.

Does it detect that there is a Read Replica and automatically point the read only endpoint to that instance?

No, RDS Proxy does not automatically detect a Read Replica and point the read-only endpoint to that instance for non-Aurora PostgreSQL databases. This automatic detection and routing are available for Aurora databases but not for regular PostgreSQL RDS instances.

Maybe the confusion comes from the fact that RDS Proxy's read-only endpoints feature is designed for Aurora databases, not for regular PostgreSQL databases like yours. For your PostgreSQL setup, RDS Proxy won't automatically send read queries to your Read Replica. You would need to continue managing that yourself, as you currently do with PgBouncer.

profile picture
전문가
답변함 2달 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠