Open himanshusatani opened 2 years ago
PGSync version: 2.1.9
Postgres version: 12.7
Elasticsearch version: AWS Opensearch Version 1.0
Redis version: 5.0.7
Python version: 3.8.10
Problem Description: I am testing PGSync locally in daemon mode, and found that the transaction log are not being cleared, due which the size of My RDS is increasing and free space is being reducing
Below are the env config I am using
export PG_HOST= export PG_PORT=5432 export PG_USER= export PG_PASSWORD= export ELASTICSEARCH_SCHEME=https export ELASTICSEARCH_HOST= export ELASTICSEARCH_PORT=443 export ELASTICSEARCH_USER= export ELASTICSEARCH_PASSWORD= export ELASTICSEARCH_TIMEOUT=100 export ELASTICSEARCH_CHUNK_SIZE=3000 export ELASTICSEARCH_VERIFY_CERTS=false export ELASTICSEARCH_USE_SSL=true export ELASTICSEARCH_SSL_SHOW_WARN=false export ELASTICSEARCH_STREAMING_BULK=true export ELASTICSEARCH_MAX_RETRIES=10 export ELASTICSEARCH_STREAMING_BULK=True export ELASTICSEARCH_MAX_CHUNK_BYTES=80000 export ELASTICSEARCH_MAX_RETRIES=100000 export ELASTICSEARCH_INITIAL_BACKOFF=10 export ELASTICSEARCH_RAISE_ON_EXCEPTION=false export ELASTICSEARCH_RAISE_ON_ERROR=false export REPLICATION_SLOT_CLEANUP_INTERVAL=60 export POLL_TIMEOUT=0.1
REPLICATION_SLOT_CLEANUP_INTERVAL
PGSync version: 2.1.9
Postgres version: 12.7
Elasticsearch version: AWS Opensearch Version 1.0
Redis version: 5.0.7
Python version: 3.8.10
Problem Description: I am testing PGSync locally in daemon mode, and found that the transaction log are not being cleared, due which the size of My RDS is increasing and free space is being reducing
Below are the env config I am using
export PG_HOST= export PG_PORT=5432 export PG_USER= export PG_PASSWORD= export ELASTICSEARCH_SCHEME=https export ELASTICSEARCH_HOST= export ELASTICSEARCH_PORT=443 export ELASTICSEARCH_USER= export ELASTICSEARCH_PASSWORD= export ELASTICSEARCH_TIMEOUT=100 export ELASTICSEARCH_CHUNK_SIZE=3000 export ELASTICSEARCH_VERIFY_CERTS=false export ELASTICSEARCH_USE_SSL=true export ELASTICSEARCH_SSL_SHOW_WARN=false export ELASTICSEARCH_STREAMING_BULK=true export ELASTICSEARCH_MAX_RETRIES=10 export ELASTICSEARCH_STREAMING_BULK=True export ELASTICSEARCH_MAX_CHUNK_BYTES=80000 export ELASTICSEARCH_MAX_RETRIES=100000 export ELASTICSEARCH_INITIAL_BACKOFF=10 export ELASTICSEARCH_RAISE_ON_EXCEPTION=false export ELASTICSEARCH_RAISE_ON_ERROR=false export REPLICATION_SLOT_CLEANUP_INTERVAL=60 export POLL_TIMEOUT=0.1