java - Database Schema -
if have file/folder , want have different users able access it... i.e folder 1 can accessed j, k , m....
should file/folder have own table list of users can access it, or should each user have list of files/folders can access.
i want bare in mind extensibility when comes database. cant see best thing do.
in database, same space: imagine 1million folders 3 person: @ maximum: 1million / person or 3person / million equals 3millions in db. if have in mind extensibility, think of you're going add most, folders or people. if you're adding lot of folders, it's easier put people can access folder attached folder, if you're adding lot of people, it's better have folder person can access attach person when create new folder/person can directly give him rights/persons.
Comments
Post a Comment