9

エラー:

2019-06-17T05:00:11 [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 58P01 NativeError: 1 Message: ERROR: could not access file "pglogical": No such file or directory;, Error while executing the query [1022502] (ar_odbc_stmt.c:2546)
2019-06-17T05:00:11 [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42P01 NativeError: 1 Message: ERROR: relation "pglogical.replication_set" does not exist;, No query has been executed with that handle [1022502] (ar_odbc_stmt.c:3722)

このエラーは 3 か月ごとに発生します。タスクを再開すると問題は解決しますが、再開は機能しません。

レプリケーション スロットは存在しますが、非アクティブな状態のようです:

   postgres=> select * from pg_replication_slots ;
                               slot_name                            |    plugin     | slot_type | datoid |   database    | active | active_pid | xmin | catalog_xmin | restart_lsn
    ----------------------------------------------------------------+---------------+-----------+--------+---------------+--------+------------+------+--------------+--------------
     juvmrynv47ajpwrc_00016389_f28d6802_db75_43d6_8058_315783e9b1b2 | test_decoding | logical   |  16389 | postgres | f      |            |      |    148271120 | 8DF/B292FB48
    (1 row)
4

3 に答える 3

0

rds.logical_replication 設定を更新することで、この問題の解決策を見つけることができました。これを行う手順はこちら - AWS DMS を使用して RDS Postgres (リードレプリカ) から Redshift にデータをレプリケートする際のレプリケーションスロットエラー

于 2021-12-01T14:38:19.607 に答える