CREATE PUBLICATION perfomance

59 views Asked by At

I want to create publications in several databases like this:

CREATE PUBLICATION dbz_publication FOR ALL TABLES;

My Debezium should not create them automatically, because the service that uses Debezium does not have superuser permissions, and it won't always use them.

How does having a publication affect database performance?

I tried to find information in the PostgreSQL documentation, but couldn't find it.

1

There are 1 answers

2
Laurenz Albe On BEST ANSWER

A publication that has no subscribers has no performance impact. It is just a definition sitting in the metadata for use with logical replication.