Answer the question
In order to leave comments, you need to log in
Django - balancing MySQL master-slave?
Previously, django-replicated was used for this purpose, but this project has not been supported for a long time.
How do you live with it? Do you use any other libraries or custom solutions everywhere? Or maybe balancing is not at the application level like mysql-proxy?
Answer the question
In order to leave comments, you need to log in
The request should return me multiple counts depending on the ActionTypeIdAnd will return:
SELECT
(SELECT COUNT(ActionTypeId) FROM MatchupLog WHERE (ActionTypeId = 3)) AS FGmade,
(SELECT COUNT(ActionTypeId) FROM MatchupLog WHERE (ActionTypeId = 4)) AS FGMissed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question