r/SQL • u/Prize-Wolverine-5319 • May 31 '26
Discussion What made you choose your current database?
I'm starting to learn more about databases and backend development. I'm less interested in which database is "best" and more interested in the reasoning behind the choice.
What database tools are you using (Postgres, MySQL, MongoDB, Supabase, Neon, Redis, etc.)? What problem were you trying to solve, what alternatives did you consider, and what ultimately made you choose that stack?
I'd also love to hear any lessons learned, surprises, regrets, or things you'd do differently if you were making the decision again.
7
Upvotes
59
u/jaxjags2100 May 31 '26
My boss said you’re hired. This is what you’re working on. 🤣
10
u/Better-Credit6701 May 31 '26
MS-SQL, so many additional tools come along with it: SSRS (reports) , SSIS (ETL) , SSAS (OLAP), Always On (Disaster recovery), merge and transactional replication. Plus, it's great for those bigger databases as well as smaller stuff. The developer edition is free for playing around with enterprise
12
u/miskozicar May 31 '26
Mssql - It is easy too find a good job
5
u/gumnos Jun 01 '26
It depends on the use-case.
If I can architect the solution with
sqlite, it's the brain-dead-simple solution with the fewest deployment complexities. For individual users and for heavy-read/light-write loads, it does astoundingly well.If I need a shared DB, PostgreSQL is my go-to. It's free, powerful, scales well, and pretty standards-compliant (glares at MySQL/MariaDB which has a long history of warty adherence to standards)
And for
$DAYJOB, I'm stuck using MSSQL, so my choice to use it isfinanciallyexternally driven 😆4
u/alinroc SQL Server DBA May 31 '26
I was working for a company that was all MSSQL when I discovered the SQL Server community. I've stuck with it since.
3
u/Beaufort_The_Cat May 31 '26
My client
In all seriousness I started in SSMS and MS SQL Server right as “big data” was a thing since it’s what my first job used, once things moved to the cloud it was really pretty easy to switch over, just learn spark.
Now I consult in mostly Azure env and Databricks projects, hence the “my client” joke at the start lol
2
u/Eleventhousand May 31 '26
When I was head of business intelligence, our company was already solidly a Microsoft shop, so we naturally went to SQL Server.
When it was time to migrate to a better, modern, Cloud DW, I chose BigQuery because I really like the disconnect between the compute and storage, and the default pricing model where you essentially only pay for how much you use.
2
u/Roostersplace Jun 01 '26
Claude told me to create a SQLite db and I did
2
u/ComicOzzy sqlHippo Jun 01 '26
The two database engines I was aware of in the 90's were Oracle and SQL Server. I had heard Oracle was for big enterprises and SQL Server was for everyone else. I didn't imagine I was going to be working for a big enterprise, so I took a course to get certified as a SQL Server DBA. While I was there I met someone and got a job working with SQL Server, and I've been working with it ever since.
2
u/agiamba Jun 01 '26
Ms SQL is my primary. Common in enterprise shops, runs with c#, azure, entra id / AD
Most of your backend logic and such shouldn't be at the DB level, but at the app level. Not always of course
As far as which to pick? Depends on -type of data needed, like do you need a relational db, nosql, a key value type system etc -what other tools are involved? Like if you're using c# and iis, SQL server makes a lot of sense -which are you most familiar with
Cost obviously plays a role in it too
2
u/Lordofderp33 Jun 01 '26
Postgres, i need postgis and postgres is all my company serves.
3
u/kagato87 MS SQL May 31 '26
It's what was already in place. MS is generally preferable for smaller businesses because their top tier licensing is less expensive that oracle's cheapest licensing. The price difference is MASSIVE.
I really would like to know what makes it so superior... I've been doing this for a while now and I've yet to run into a problem where the solution is oracle...
1
u/sinceJune4 Jun 01 '26
Last job I used HiveQL, db2, mssql together. Previous job was Oracle and Postgres. Only common elements in both were Python and SAS.
1
u/kwonfig Jun 01 '26
I started by just going with whatever had a usable free tier, then narrowed down from there. Supabase has been my main one for a few years now — the cron + edge functions combo is really what sold me, so I reach for it whenever a service needs scheduled jobs or background logic without standing up separate infra.
I keep hearing good things about Neon too — the database branching (git-style branches for preview/dev) and scale-to-zero on idle especially — but I haven't actually shipped on it yet, it's on my list to try for a lighter project.
Honestly I've stopped hunting for the "one right answer." I just pick whatever fits the service I'm building. What are you leaning toward?
1
u/imtheorangeycenter Jun 01 '26
MSSQL. First started using it in 1998ish. And have always worked in MS-based houses (always charity sector, so the 90% discount make it the no-brainer go-to). That's it really, it's not requirements, tech specs or anything. We need it cheap (ee above discounts) and with a massive community, and easy to find new staff. Boxes ticked.
1
u/zbignew Jun 01 '26
Postgres + redis. Postgres has the most features for something I can set up in 3 seconds with 'brew install' and work with exclusively via scripts so everything can live in git.
I'd use MS SQL if I could stomach software development on Windows. I even like Windows as a desktop experience, but for software development, for my peace of mind, I just need everything to live in text so I can use git and diff. That's almost doable on Windows, but most people don't do it, so it's annoying.
Redis was required for a specific rate-limiter package I was using with FastAPI, and since then there have been a few things that made sense to throw into a cache on Redis rather than Postgres. I'm honestly not even sure if its contents are persisted to disk, and that's fine.
1
u/UniForceMusic Jun 01 '26
Xampp, and the shared TransIP hosting came with MariaDB, so i stuck to MySQL.
Then i got hired at my last job, and they used Postgres. Since then i use Postgres + SQLite.
1
u/datashark2 Jun 01 '26
We’ve used neon for most of our db needs with a little bit of azure sql and cosmos. We also have Databricks and starting to look at Lakebase recently since they acquired neon. From what I understand it’s Postgres but being designed more to fit into the new AI world while inheriting some work we’ve already done in dbx. Seems good so far.
1
u/sambobozzer Jun 02 '26
I got hired and my manager said you’re working on this … and that was 1998
1
u/AravinthZoldyck Jun 02 '26
It's an interesting ask. My suggestion is to go with an open source database like postgres. It terms of community, resources, materials and market traction, postgres is becoming better and better.
In this agentic ecosystem, traditional database will become risky. Pretty sure you have already read about "My agent casually delete our database and apologised". I think more and more posts like that will popup.
To avoid this, some of my customers have reached out asking about Databricks Lakebase.
Did research about it and below are my findings:
I think if at all you wanna get started, try it out. It's honestly very good and I would take a bet this will the future. Hope this helps, cheers!
1
u/reyarama Jun 04 '26
I have a super intelligent senior on my team but every 2 weeks when we are considering a data model that is just JSON with some indices, he always tells me to explore battling with our infra team to provision Mongo because its fit for that purpose. Why are people so afraid of just using Postgres, its totally fine IMO
1
u/Harpagon1668 Jun 04 '26
Neon has been a game-changer with the branching. Copy on write database branch gives git like workflow also to databases. Each feature branch and PR get their own isolated database in less than a second.
And who doesn't like the cost savings autoscaling brings
1
u/OkSink6598 Jun 05 '26
I’ve always loved Postgres and that’s why recently I’ve been using Neon/Lakebase instances.
Separated storage and compute is a game changer for small proof of concepts where I can start small and scale to zero to preserve cost.
I used to work with GIS so postGIS is a must for me.
1
u/Weary-Ad-4050 Jun 05 '26
Lakebase from Databricks. The automatic sync back to the lakehouse removed our need for writing ETL pipelines. I highly recommend it
1
u/Outrageous_Let5743 Jun 12 '26
Most of the time there is already a database so that is the database you are working from. If I myself have to choose then 100% postgres. The database itself is fantastic + all the extensions.
1
u/Plane-Structure-2020 Jul 10 '26
I usually choose based on how much work I want to own after launch.
For most app data, Postgres is the safe default. The bigger decision is hosting. I’d compare Neon if you want serverless features, Supabase if you want auth/storage too, and Nearbase if you mainly want managed Postgres with simpler pricing.
Biggest lesson for me is not choosing only by the free tier. Backups, region, pricing after growth, and how easy it is to migrate matter more later.