Decide Between SQL and NoSQL for One Specific Feature

    Updated

    How to use it

    Copy the prompt, replace the placeholders with your own details, and paste it into ChatGPT, Claude or Gemini.

    Save and favourite prompts with a free account.

    Tap any variable to replace it with your own value:

    AI prompt

    Help me decide between a SQL and a NoSQL database for one specific feature, not as an abstract debate. Feature: [describe what you're building, e.g. 'a real-time activity feed showing the last 50 actions per user']. Current stack: [what you already run, e.g. 'Postgres for everything else']. Expected scale: [rough numbers - writes/sec, reads/sec, total records after a year]. Produce: (1) the specific access patterns this feature needs (how data gets written, how it gets read, whether it needs cross-record joins or just key lookups) and which patterns each database type actually handles well versus awkwardly; (2) a direct recommendation for THIS feature specifically, not a general SQL-vs-NoSQL essay; (3) if the recommendation is to add a new database type alongside your existing stack, the honest operational cost of that (a second system to back up, monitor, and staff for) versus just solving it in Postgres with a less elegant but simpler approach; (4) the specific scenario where you'd need to revisit this decision later (a scale threshold, a new access pattern).

    Want to support this prompt?

    Share this prompt