Multitenancy support database per tenant

Hi there,
I’ve question.
I want to rewrite my project in new Jmix FlowUI.
Now I’m using cuba-platform with multitenancy addon. My database is getting bigger and bigger. I’m controlling with indexes and partitions in postgresql. But it seems soon become difficult.
My question is, is there any way to separate every tenant to the separate database? or separate scheme?

Thanks,
Nurmuhammad.

1 Like

Hi Nurmuhammad,

The Jmix Multitenancy add-on is designed solely for implementing multitenancy in a single database.

If you need a multi-database solution, consider for example the Spring’s routing datasource.