Unlogged Aurora PostgreSQL tables and read replicas

0

When setting an Aurora RDS PostgreSQL table to unlogged, will those unlogged tables still be available in read replicas?

질문됨 10달 전677회 조회
1개 답변
1
수락된 답변

Hi, you probably guessed the answer when you asked the question: the answer is no and for the clear reason that unlogged table means no existing logs to send to read replicas.

Confirmed by https://aws.amazon.com/blogs/database/understand-replication-capabilities-in-amazon-aurora-postgresql/

The UNLOGGED and TEMPORARY tables aren’t replicated, much like with physical replication.
 This is because the changes to these tables don’t have entries in the transaction logs 
(Write-Ahead Logs), and it’s impossible for the logical worker process to capture the changes 
happening on these tables.

Best, Didier

profile pictureAWS
전문가
답변함 10달 전
  • Hi Didier, We were able to query 'UNLOGGED' tables from read replica till Aurora Postgres version 12.12. But they are not available after upgrade to 13.10.

    How come they were available on read replica prior to version 12.12? Is it a change that was implemented within Aurora Postgres 13.10?

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

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

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