Re: Help diagnosing replication (copy) error

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Steve Baldwin <steve(dot)baldwin(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Help diagnosing replication (copy) error
Date: 2024-03-08 22:13:50
Message-ID: ea5e509a-a7e9-4424-8b0d-564cbea91bb1@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/8/24 14:04, Steve Baldwin wrote:
>
>
> On Sat, Mar 9, 2024 at 8:56 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
>
> What are the rest of the values in pg_replication_slots?
>
> b2bcreditonline=> select * from pg_replication_slots;
>                   slot_name                  |  plugin  | slot_type |
> datoid |    database     | temporary | active | active_pid | xmin |
> catalog_xmin |  restart_lsn  | confirmed_flush_lsn | wal_status |
> safe_wal_size | two_phase
> ---------------------------------------------+----------+-----------+--------+-----------------+-----------+--------+------------+------+--------------+---------------+---------------------+------------+---------------+-----------
>  b2bcreditonline_prod_e_master               | pgoutput | logical   |
>  16404 | b2bcreditonline | f         | t      |      13700 |      |
>  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA478       | reserved   |
>       | f
>  b2bcreditonline_prod_sandbox_d_master       | pgoutput | logical   |
>  16404 | b2bcreditonline | f         | t      |       9232 |      |
>  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   |
>       | f
>  b2bcreditonline_prod_e_master_only          | pgoutput | logical   |
>  16404 | b2bcreditonline | f         | t      |      13710 |      |
>  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   |
>       | f
>  pg_378075177_sync_60067_7343845372910323059 | pgoutput | logical   |
>  16404 | b2bcreditonline | f         | f      |            |      |
>  455719618 | 2E2A/1C0972E0 | 2E2A/1C097318       | extended   |
>       | f
>  b2bcreditonline_prod_e_shard                | pgoutput | logical   |
>  16404 | b2bcreditonline | f         | t      |      13718 |      |
>  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   |
>       | f
> (5 rows)
>
> Is there data in the subscriber side table?
>
> No there is not, although when I did a 'select count(*) from {table}' it
> took several minutes to return 0 rows.
>
> What are the publisher and subscriber configurations?
>
> Not sure which settings, but here's a few.

I should been clearer.

What are the CREATE PUBLICATION and CREATE SUBSCRIPTION statements?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-03-08 22:32:29 Re: Help diagnosing replication (copy) error
Previous Message Adrian Klaver 2024-03-08 22:11:15 Re: Question related to partitioning with pg_partman