Guest User

Untitled

a guest
Nov 28th, 2016
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. [8:42 AM, 11/28/2016] +91 96467 74646: ec ke database mai name phone jaisi cheezein seperate kyun rakhi hain organiser and sponsor ki...dono user table mai store ki jaa sakti thi na...aise alag fields alag alag table mai kyun?
  2. [8:42 AM, 11/28/2016] +91 96467 74646: Oh.. Tooooo many reasons
  3.  
  4. Because inline fields call hoti hai saari whenever accessing a table row
  5.  
  6. User table ka purpose authentication hai bas
  7.  
  8. Auth k time user ka phone number and name kyu chaiye?
  9.  
  10. And relations pollute honge inline storage se
  11.  
  12. User has Details.. Details can be different for each type of user. To sparsing avoid krni chaiye jaha bi ho ske.
  13.  
  14. Future proofing bi ho gyi in case a new type of authentication or user type is introduced
  15.  
  16. Fake, inactive, useless users detect krna easy hoga aage jake if alag details alag tables me hai..
  17.  
  18. ML se train kra ja skta hai for a specific user type for better insights
  19.  
  20. Finally.. Business sense nhi banta credentials, auth mechanism k sath personal info rakhne ka... Purpose alag hai tables ka.. To alag hi hone chaiye
  21.  
  22.  
  23. Decoupling allows you to treat every table as an independent data set. So while analysing one table, you don't need unnecessary dependencies of other tables..
  24.  
  25. But agar aggregate level pe bi chaiye ho to tables can always be joined. Ulta nhi hota easily
Add Comment
Please, Sign In to add comment