php - Using Sqlite in a web application -


i'm developping application allows doctors dinamically generate invoices. fact is, each doctors requires 6 differents database tables, , there 50 doctors connected @ same time , working database (writing , reading) @ same time.

what wanted know if construction of application fits. each doctors, create personnal sqlite3 database (all database secure) him can connect to. i'll have 200 sqlite database, there problems ? thought better using big mysql database everyone.

is solution viable ? have problems deal ? never did such application many users, thought best solution

firstly, answer question: no, not have significant problems if single sqlite database used 1 person (user) @ time. if highly value edge cases, ability move users/databases server, might solution.

but not terribly design. usual way have data in same database, , tables having field identifies rows belong users. application code responsible maintaining security (i.e. not let users see data doesn't belong them), , indexes in database (which should use in cases, in own design) responsible making fast.

there large number of tutorials make better database design; random google result http://www.profsr.com/sql/sqless02.htm .


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -