Proper way to construct a multi tenant database system using sqlite? #3810
Unanswered
Sourabhpatel1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to design a system where there is a master database which contains the records of companies the user creates and other information related to that particular company and for each company a user creates I want to create a new sqlite file named abc_ltd.db, xyz_ltd.db e.t.c.
What is the best approach to tackle this problem. I am thinking of having a function that retrieves the database url at runtime and feeds it to the pool creation logic like so
would this approach work and what are performance implications for this appraoch.
Beta Was this translation helpful? Give feedback.
All reactions