StackOverflow's developers survey results are already in, and the most popular databases for 2022 have been revealed.
The survey had 48,788 votes and it is important to highlight that the popularity of different databases can vary depending on a number of factors, such as the type of application being developed, the size and needs of the organization, and the preferences of the developers and their past experience.
Without further ado, let's look into the results:
So what can we learn from these results?
- After 48,788 votes there is a new queen in town! The most popular database is now PostgreSQL for the first time ever.
- MySQL is on the 2nd place and it is still a very close match.
- We predict that PostgreSQL growth will continue. This is not a surprise as last year it was on the second place, and three years ago it was on the third place.
- Both MySQL and PostgreSQL are open source database systems known for their stability, reliability, and performance. However recently PostgreSQL has a reputation for being highly extensible, meaning it can be customized and extended in a variety of ways to meet the needs of different applications. PostgreSQL also supports a wide range of programming languages, making it a good choice for developers who work with multiple languages. Also, Google cloud and AWS invest more resources into PostgreSQL managed databases and PostgreSQL compatibilities, such as Google's new AlloyDB and Spanner.
- StackOverflow also surveyed to find out which databases are being used for learning:
It's interesting to that those both Professional Developers and developers learning to code use MongoDB in similar amounts, and it's the second most popular database for those learning to code (after MySQL). - StackOverflow also checked what are the loved vs. dreaded databases and PostgreSQL turns out to be the most loved database after five years of Redis leading the charts:
Even though MySQL is popular, it is not as beloved as it once was. It might be related to the fact that it isn't being maintained as much as it used to be. - How much knowing PostgreSQL can contribute to your salary?
According to the Top paying technologies survey, developers using DynamoDB are the highest-paid. The interesting thing is that it is a game of supply and demand: DynamoDB is the highest paid database, but it is the 9th most loved, and not very popular.
If you're a developer using PostgreSQL at work, you're probably going to earn $70,385 median yearly salary (USD). - It's amazing to see that SQL is the 3rd most popular programing language and even more popular than Python, TypeScript and Java.
Summary
The database ecosystem is thriving and constantly evolving. Developers prefer open source databases with developer friendly state of mind and thriving communities, such as PostgreSQL and MySQL.
Disclaimer: charts and data copyrights are of StackOverflow. EverSQL is in no way associated with StackOverflow.