Use read only replica for reads?

Use read only replica for reads?

MaxPovverMaxPovver Posts: 2Questions: 1Answers: 0

Hello, everyone
We have two databases, master(read write) and slave(read only)
Our goal is to usemaster db as little as possible. Is there any way in data tables to use read-only replica for data reading, and master db only for data writing?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @MaxPovver ,

    When you talk about writing, is this with Editor? You can specify different Ajax sources for the Editor and DataTables initialisations, though I'd be very surprised if this use case was considered when it was designed and implemented, it might be worth giving it a try!

    Cheers,

    Colin

  • MaxPovverMaxPovver Posts: 2Questions: 1Answers: 0

    Thank you for your help, @colin, we'll try that!

This discussion has been closed.