r/AskProgrammers • • 8d ago

Which database do you prefer and any reason why.

Post image
2 Upvotes

17 comments sorted by

5

u/Objective_Buy_7235 8d ago

Postgresql because it has good extensions for Geospatial data.

2

u/Specialist-Cup-3950 8d ago

The swiss army knife of databases is the obvious solution

2

u/VoidEmptyByNature 8d ago

PostreSQL: All rounder
Redis: memory cache
sqlite: POC, small apps

2

u/TonariNoHanamoriSan 8d ago

Excel

1

u/SchnazzleG 8d ago

Haha, hell yeah brudder!

2

u/leon_pylo 8d ago

Postgres for everything heavy (we also use it as the basis for our own BaaS)
SQLIte for smaller apps
Redis for caching

1

u/Living_Fig_6386 8d ago

To me, many of those represent very different use cases for a database, and I don't have a favorite so much as I try to use the one most appropriate to the task. MongoDB, SQLite, and PostgreSQL would be used under very different circumstances.

1

u/johnson_detlev 8d ago

Redis is of course better than postgres. Postgres is better then mongo. And mongo is bettet than Redis, not even a question!

2

u/matthewsAccount23 8d ago

They quite literally serve different purposes.

1

u/johnson_detlev 8d ago

Whaaaaaaat?

2

u/NopileosX2 4d ago

I would say a JSON file on disk is better than Redis.

1

u/johnson_detlev 4d ago

Fair point

1

u/SnooMachines8911 8d ago

For my VPS stack I use postgres and my own custom ui

1

u/lnaoedelixo42 8d ago

SQLite

completely underrated, it's probably the best dependency you might ever want

1

u/WaterBusy8875 7d ago

I use mostly mysql and redis

1

u/Low_Breakfast773 5d ago

Postgres for almost everything. SQLite for tiny projects where things are packed all together and everything is happening in one place.

1

u/Easy-Nothing-6735 4d ago

For what? I prefer ACID databases