I am trying to install replication on several MariaDB servers. With no experience at all on this.

I am wondering something.

Would it be possible to have both servers acting simultaneously as master and as slave for each others, for different databases?

The idea would be replicating some databases from one main server to a slave server, then running some periodical heavy loading post-processing on these databases replications on the slave, writing results to other database(s), then replicating back these resulting databases from the slave server to the master server, meaning that for these resulting databases, the slave would become master and the master would become slave.

(unless it would be possible to filter replication on tables rather than on databases?)

  • What version?..
    – Rick James
    Aug 5, 2023 at 17:16
  • This was a quite generic question, but on the multiple servers I have, MariaDB versions can be 10.3.38 or 10.5.19 or 10.6.12. Servers are Linux Debian 10, Linux Debian 11 or Linux Ubuntu 22.04.3 LTS.
    – GingkoFr
    Aug 5, 2023 at 17:41

1 Answer 1

  • Ok. Thank you very much. I will consider that. But why should I use binlog-format=ROW ?<br/> And by the way, I just asked another question related to the same idea.
    – GingkoFr
    Aug 6, 2023 at 14:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .