Enterprise PostgresのスタンバイサーバでSQLを実行したときの「FATAL: 40000: terminating connection due to conflict with recovery」エラーについて
Enterprise Postgresのよくあるご質問を検索できます。
Enterprise Postgres の技術情報はこちら
- Enterprise PostgresのスタンバイサーバでSQLを実行したところ、「FATAL: 40000: terminating connection due to conflict with recovery」というエラーになりました。原因と対処方法を教えてください。
-
[原因]
スタンバイサーバのposrtgresql.confのmax_standby_archive_delayとmax_standby_streaming_delayの値が小さいことが原因で、コンフリクトが発生している場合があります。
[対処方法]
スタンバイサーバのposrtgresql.confのmax_standby_archive_delayとmax_standby_streaming_delayをSQLの実行時間より大きな値にしてください。
詳細は以下のマニュアルを参照してください。
FUJITSU Software Enterprise Postgres 13
PostgreSQL 13.1 Documentation
Part III. Server Administration
Chapter 19. Server Configuration
19.6. Replication
19.6.3. Standby Servers
Part III. Server Administration
Chapter 26. High Availability, Load Balancing, and Replication
26.5. Hot Standby
26.5.2. Handling Query Conflicts
なお、上記以外の製品バージョン/レベルについては、該当するマニュアル箇所を参照してください。
製品・サービス情報 |
|
||||
---|---|---|---|---|---|
アンサー種別 | 設計/開発 |