What is the recommended approach towards multi-tenant databases in MongoDB?

后端 未结 6 1176
轮回少年
轮回少年 2020-12-02 04:08

I\'m thinking of creating a multi-tenant app using MongoDB. I don\'t have any guesses in terms of how many tenants I\'d have yet, but I would like to be able to scale into t

6条回答
  •  北海茫月
    2020-12-02 04:46

    While the discussion here is on NoSQL and primarily MongoDB, we at Citus are using PostgreSQL and building a distributed/sharded multi-tenant database.

    Our use-case guide walks through an example app, covering the schema and various multi-tenant specific features.

    For more unstructured data, we use PostgreSQL's JSONB column to store such and tenant-specific data.

提交回复
热议问题