Feature summary (what you would like to be able to do and where):
A distributed SQL database offers multiple advantages compared to the current master/replica setup with mariadb.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Avoid the current problems with the database growing out of a single server.
See https://www.wikidata.org/wiki/User:ASarabadani_(WMF)/Growth_of_databases_of_Wikidata for a description of the problems the operations team is facing with master and replicas on the Wikidata cluster.
Benefits (why should this be implemented?): I
The whole WMF ecosystem. WMF operations team.
Ensuring scalability is absolutely crucial to the success of Wikidata. Please get to work immediately on this so we don't have to bother Wikidata users about limiting growth because of an outdated backend that doesn't scale horizontally.