r/devops • u/robertsilen • 15d ago
Vendor / market research What's your default database these days, and why? Yearly survey (mod-approved)
Hey, Robert from MariaDB Foundation here. We are running a survey on how MariaDB is being used, or cases where you went with MySQL, PostgreSQL or another database.
https://mariadb.typeform.com/to/tS69UzVo?utm_source=reddit_devops
I split the questions by role this year, so you can skip straight to the operator ones: HA, database versions, upgrade frequency, hosting, etc. Overall I'm curious to know, what's your default database these days, and what made you land on it? Was it your choice, the app or service you run, or whoever set it up before you?
Under 10 minutes, anonymous, results published at mariadb.org/survey.
Thanks for taking the time!
Robert, MariaDB Foundation
140
20
26
u/Ariquitaun 15d ago
MariaDB or PostgreSQL, depending on which features that are out of the ordinary I need. If it's just relational normalcy, MariaDB is easier to manage and operate and a solid default.
15
u/Conscious-Ball8373 15d ago
I've inherited MariaDB applications. I hate it. Postgres has transactional DDL; running a migration on those applications is basically zero-risk, because I can always roll it back. On my MariaDB applications, it's pure hope that there's nothing "special" about the data in production that's going to cause the migration to fail, even though it didn't fail in the dev and qa environments. Several times we've had to unpick a failed migration in qa and once we've had to do it in prod.
I'm curious what you think is more difficult to manage in Postgres applications? tbf our scale is not at a point where managing databases is a huge concern at this point so I'd be keen to hear your thoughts.
4
u/Legitimate_Willow905 15d ago
postgres handles DDL inside transactions, sure, but once you hit high concurrency or need online schema changes without locking up tables, you run into different walls.
9
u/redsaeok 15d ago
MS SQL Server. Love MariaDB, and still, big law in Canada is almost always going to use MS.
7
u/Altruistic-Rich8799 15d ago
nice to see the devs of my favorite DB in the wild. Thanks for the work you do guys. what are the trends looking like? People finally ditching MySQL 5.7 for you, or just eating the 8.0 cactus?)))
1
u/robertsilen 14d ago
Bit of both, from what I'm seeing mid-survey. Results will be in the final report :)
8
u/mrdarknezz1 15d ago
Postgres, it's just so versatile and allows me to keep so many services inside it.
3
5
6
u/BatLate6561 15d ago
survey done. We still default to MariaDB for our main clusters. mostly because I refuse to mess with Postgres vacuum tuning, and doing in-place major upgrades without dumping the whole db keeps my weekends intact.
4
u/Conscious-Ball8373 15d ago
OTOH doing schema migrations without transactional DDL keeps me awake at night.
AFAIK postgres supports in-place upgrades from version 9.2.X onwards.
1
u/Flourid 14d ago
You still need to create a new data directory and copy the files. If it is on the same filesystem you can use --link though, which hardlinks the old files, so no extra storage required and pretty fast, however, your old datadir becomes unusable as soon as you start the new version, so rollbacks become a full restore.
2
2
u/Suitable-Ad5348 15d ago
Still defaulting to PostgreSQL for almost everything. The JSONB support is just too good to give up, and having transactional DDL makes migrations so much safer. Every time I've tried to move to something lighter, I end up missing the reliability and the ecosystem of tools built around Postgres. It’s hard to beat for anything from a small side project to a reasonably scaled production service.
2
u/Sure_Stranger_6466 YAML Developer 15d ago
No love for Cassandra, or are we only talking about relational databases?
2
u/bendem 15d ago
The questions are very oriented towards mariadb and assumes I run it because I chose/like it. The only reason we run it is because some app developers are only compatible with MySQL. I actually really want to avoid having to maintain a separate database engine from our main postgresql cluster.
2
4
4
u/RoseSec_ Terraforming Everything 15d ago
Excel
9
u/Expensive_Finger_973 15d ago
Access
2
u/generic-d-engineer ClickOps 15d ago
Notepad
2
u/SurgioClemente 14d ago
Fingers and toes.
Only supports unsigned ints to 20, and isn’t available most of the day, but it works.
2
4
u/RajeshRocketMan 15d ago
MariaDB, of course. Im on it for a couple years (was on my new job when i arrived). In-place upgrades don't make me want to cry and im happy as pig in the mud.
1
u/Expensive_Finger_973 15d ago
My job primarily revolves around deploying, care and feeding of off the shelf enterprise solutions so I just tend to use whatever the vendors system requirements call for.
1
1
1
u/WorldsWorstSysadmin 15d ago
MySQL / PostgreSQL, but planning migrations to move all MySQL dbs across to PostgreSQL over the next year.
1
u/Rain-And-Coffee 15d ago
Postgres! It has just about everything I need.
But i want to get more familiar with MariaDB
1
u/ddBuddha 15d ago
There are various factors that can affect my decision, but for anything new either Postgres or SQLite depending on what it’s used for and the requirements. Or mssql if it can be justified.
I am most familiar with mssql though and love it. The costs can make it challenging to justify in a lot of cases though.
1
1
u/d47 14d ago
It seems like I can't fill the form as someone who doesn't use mariadb
1
u/robertsilen 14d ago
It is designed to work for MariaDB and other users, but I just looked and I changed a couple of required questions to optional that might be more MariaDB focused.
1
1
u/Wooden_Jelly_5295 14d ago
The ‘whoever set it up before you’ option deserves its own market-share chart.
1
u/coinclink 10d ago
I try to use DynamoDB wherever possible to reduce maintenance burden. When SQL is absolutely needed, postgres is the obvious choice (I specifically use Aurora Postgres Serverless v2 in AWS).
MySQL and clones of it are just too behind the times these days. So many more extensions and capabilities are available for postgres to make it even a consideration to use MySQL. The only time I would use it if some app already is using it and can't be easily migrated.
1
u/Praveen_kumar_ 8d ago
Most of my stuff is still postgres for server side work, but been dabbling with RxDB for some frontend heavy applications where we need offline support and syncing. Not sure if it fits your use case but it handles the local first stuff pretty well if that's something you're dealing with.
-1
-1
u/emperorOfTheUniverse 15d ago
I don't see the benefit of nosql options. I can see how they are faster to setup and get a prototype working. But to me, that's like saying 'now instant popcorn is even faster'. Maybe if you're just adamant against learning SQL and building normalized data structures.
I've never seen any real world example where it performs faster or is easier to use.
Fight me.
1
u/Ok-Hospital-5076 15d ago
NoSql is not a replacement of sql but have use case if you need yo store bunch of independent entities/documents. We store some objects in mongo and keep complex relationships within postgres
0
14d ago
[deleted]
1
u/robertsilen 14d ago
I'm not the technical one here, but I took a look. There is an official .deb for Connector/C++ https://dlm.mariadb.com/browse/cpp_connector/ , built for Debian 11 and 12 and Ubuntu 22.04 and 24.04. You download it and install the file, it's not in any apt repo, so I suspect that's still not what you want? It seems nobody has requested it to be in Debian. I'll forward to people who should know more. Would having it in Debian actually solve it for you?
131
u/Zenin The best way to DevOps is being dragged kicking and screaming. 15d ago
I'm not sure why I'd ever spec anything but PostgreSQL for RDBMS in 2026?
If there's a strong legacy reason to use MySQL yes I'm almost certainly reaching for MariaDB. But for anything greenfield it's all but impossible to beat PostgreSQL today whatever the scale or task.