Evaluate need for db indexes
-
Compile list of missing db indexes in specific queries, unique and compound indexes
Suggestions:
-
Notifications Model:
-
targetId (since we get all by targetId..): validate postgresql already treats foreign keys are already indexes
-
-
UserFeedNotification:
-
userId, (userID, frequencyType)
-