pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Deactive Replications Slots | APM tool alert

Open orangehaired opened this issue 3 years ago • 1 comments

PGSync version: Version: 2.3.2

Postgres version: PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit

Elasticsearch version: 8.4.2

Redis version: Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=66bd629f924ac924

Python version: 3.8

Problem Description:

select * from pg_replication_slots;

I see two slots with "active:false". Are these slots consumed by pgsync? Btw sync two tables to elasticsearch.

orangehaired avatar Nov 09 '22 15:11 orangehaired

Yes those slots are created and used by pgsync. they are created when you run the bootstrap command. if you no longer wish to use a configured schema you can tear it down with bootstrap -t -c schema.json

toluaina avatar Dec 12 '22 22:12 toluaina