#[SOLVED] Scalable database design

12 messages · Page 1 of 1 (latest)

green juniper
#

ultimately, there are tradeoffs and it's up to you.

you can research database normalization, but in practice, databases aren't always normalized because it depends on the use case

brave star
#

[SOLVED] Scalable database design

green juniper
#

@brave star no need to delete your posts. it can be helpful for others to see

brave star
green juniper
glacial elbow
brave star
#

But my actual setup is one collection per functionnality

#

But its so hard to maintain consistency between each document

#

There is an exemple about my database design but isnt really good

brave star
#

Maybe I can create another table movie_actions which is a collection connected to movie_liked, movie_review, movie_rated, movie_watched, movie_watchlisted, movie_guidelisted. Like this I can only call the movie_actions to get all action from user about a movie