mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.62k stars 1.25k forks source link

How to create & manage individual db for each user? #1849

Open rkanani108 opened 4 years ago

rkanani108 commented 4 years ago

Hi @mbdavid ,

I am planning to use Litedb in our product. In that, we want to create a database for each individual user and store user-specific information to the respected database.

I just want to confirm below things.

  1. In our use-case Litedb is feasible or not.
  2. Is there any limit to store an amount of data for each individual db?
  3. Let me provide if any sample code is available to fit with our use-case.

Thanks' Rakesh Kanani

AlBannaTechno commented 3 years ago

@rkanani108 Hi, I know you call @mbdavid, but I think he does not have time, so

In our use-case Litedb is feasible or not. it will work, no issue with that, but you should add more details, eg the possibility for interaction between database, and the use case of what you try to achieve

Is there any limit to store an amount of data for each individual DB? as I know, from tests No, unless you exceed the size of the block in your storage driver

Let me provide if any sample code is available to fit with our use-case. I do not understand what you mean