Understanding MaxScale's Mirror Router

Overview

MaxScale's Mirror Router (mirror) is designed for data consistency and database behavior verification during system upgrades. It allows statement duplication to multiple servers with exporting of collected query metrics.

Note

The Mirror Router is experimental.

What Does the Mirror Router Support?

The Mirror Router supports:

  • Routing queries to multiple stand-alone MariaDB servers at the same time

  • Routing queries to multiple other routers at the same time

  • Exporting metrics to the MaxScale log

  • Exporting metrics to a file

  • Exporting metrics to a Kafka broker

When to Use the Mirror Router?

The Mirror Router allows you to:

  • Test database upgrades by comparing query metrics between multiple servers.

Next steps: