Search code examples
memgraphdb

What's the difference between Memgraph main and replica instances?


What exactly is the difference between Memgraph main and Memgraph replica instances. If replica is used when the main fails, they should be identical, right? Is that really so?


Solution

  • Memgraph main is storing all the data and all write queries should go to the main Memgraph instance, while replica is just copying (actively) all the data and can serve read-only queries.