I heard about partitiondb last week, it really helped me. you just need to create one database that manages all the partition databases, and that manages them perfectly. All you need to do is declare your section.
For example, if your site deals with sales, you can split your databases into storeid. then each store is located in different database instances or on a different server. they are all managed from the same db template, which gives the feeling of some kind of object-oriented modeling.
source share