Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The first method is the best. Create <strong><em>individual userId's</em></strong> and then you can assign specific roles to them. A database retrieval time indeed depends on the number of records too. But, there is a trade-off where you can write <a href="http://www.codeproject.com/Articles/35665/Top-10-steps-to-optimize-data-access-in-SQL-Server" rel="nofollow">efficient sql queries to fetch data</a>. Well, according to this <a href="http://technet.microsoft.com/en-us/library/ms143432.aspx" rel="nofollow">site</a>, you will probably won't run out of memory or run into concurrency issues, because with a good server, the performance ought to be good, provided that you are efficient in writing queries.</p> <p>If you recreate table sets, you will just end up creating lots of tables and can make the indexing slow which is a bad practice. Whereas if you opt of <strong>relational database scheme</strong> rather than an ordinary database scheme, and <strong>normalize the database</strong> and datatables for improving efficiency.</p> <p>Creating a new database for each and every user, just sums up the complexity from both the above statements resulting in a shabby and disorganized database access. Because, if you decide to run individual instances of databases for every single user, you would just end up consuming your servers physical resources like RAM and CPU usage which will affect the service quality of all the other users. </p> <p>Take up option 1. Assign separate userIds and assign them roles and privileges where needed. That is more efficient than the other two methods. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload