PostgreSQL VS MariaDB

Compare PostgreSQL vs MariaDB and see what are their differences.

PostgreSQL

Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch (by postgres)

MariaDB

MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. (by MariaDB)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
PostgreSQL MariaDB
466 17
16,363 5,726
1.5% 1.4%
10.0 9.9
6 days ago 3 days ago
C C++
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PostgreSQL

Posts with mentions or reviews of PostgreSQL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-02.
  • ClickHouse: The Key to Faster Insights
    4 projects | dev.to | 2 Dec 2024
    While both Postgres and ClickHouse serve different purposes, the key distinction lies in how they handle replication and sharding. Postgres is primarily designed for transactional workloads (OLTP), where data consistency and durability are prioritized. On the other hand, ClickHouse is tailored for analytical workloads (OLAP), and optimized for high-speed querying and large-scale data analysis.
  • PostgreSQL Performance Tuning: The Power of work_mem
    5 projects | dev.to | 1 Dec 2024
    For your information, the tuplesort.c module flags when the Sort algorithm will use disk by setting the state to SORTEDONTAPE at this line. Disk interactions is handled by the logtape.c module.
  • How I Solved Common Prisma ORM Errors: Debugging Tips and Best Practices
    4 projects | dev.to | 1 Dec 2024
    This error happens when using a relational database, like PostgreSQL (one of the most popular, and advanced open-source SQL databases on the market).
  • How to Set Up Next.js 15 for Production in 2024
    11 projects | dev.to | 19 Nov 2024
    This tutorial is going to use Postgres for its database because it is well battle-tested, but you're going to use the Prisma ORM to abstract away the database layer. This gives you the flexibility to use a variety of databases, and simplifies the API that you use to interact with it.
  • PSA: SQLite does not do checksums
    2 projects | news.ycombinator.com | 9 Nov 2024
    Yes, it's a balancing act. I think it's better to have safer defaults here, not prioritizing extra performance. People who are concerned with performance to the degree where checksums would matter need to consult configuration anyway (in many aspects, not only this one) and can disable this specific thing easily.

    For the reference, change is in https://github.com/postgres/postgres/commit/04bec894a04c (so should land in PostgreSQL 18 in a year, unless it will get reverted for some reason).

  • How to self-host Postgres Database on Linux
    1 project | dev.to | 7 Nov 2024
    PostgreSQL, commonly referred to as Postgres, is a powerful, open-source relational database management system (RDBMS) known for its robustness, extensibility, and standards compliance. It was introduced in 1986 by Michael Stonebraker and his team at the University of California, Berkeley, as part of the POSTGRES project, which aimed to address some of the limitations of existing database systems at the time.
  • 100+ Must-Have Web Development Resources
    28 projects | dev.to | 14 Oct 2024
    PostgreSQL: An open-source object-relational database management system, used early on by Uber.
  • Las herramientas imprescindibles para desarrolladores Full Stack en 2024
    10 projects | dev.to | 9 Oct 2024
    PostgreSQL
  • 8 Backend Tools to Become a Better Developer
    3 projects | dev.to | 8 Oct 2024
    Link: https://www.postgresql.org/
  • Simple Next.js Magic Link JWT Authentication with Prisma, PostgreSQL, and Resend
    5 projects | dev.to | 7 Oct 2024
    When building web applications, authentication is almost always a core requirement. I needed something simple and secure that would let me get started quickly on new projects without over-complicating the setup. My goal was to have a solution that's easy to implement, handles email verification out of the box, and just works. In this post, I'm sharing how to build a straightforward magic link authentication system using Next.js, Auth.js, Prisma, PostgreSQL, and Resend. It's a powerful yet simple solution that accomplishes exactly what I needed, and I hope it'll be useful for your projects too.

MariaDB

Posts with mentions or reviews of MariaDB. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-06.
  • From License to Freedom: Embracing Open Source Forks Knowing What to Expect
    7 projects | dev.to | 6 Nov 2024
    One of the most famous examples is MariaDB, a fork of MySQL. When Oracle acquired MySQL back in 2009, concerns arose about the future of the database under a corporate umbrella and while MySQL has remained open source, the idea of it living under Oracle's roof was enough to push some of the original creators to fork an alternative that still lived within the developer community. During the early stages of MariaDB, it was used as a drop-in replacement that promised to remain open and community-driven. Being able to simply switch from MySQL to MariaDB with minimal effort made adopting their product easy. Fast forward to today, MariaDB is widely adopted and continues to evolve independently from its ancestor. With the community driving the success, MariaDB has been adopted as the default database in major Linux distributions, including Debian, RHEL, CentOS, openSUSE, and Fedora.
  • Using the built-in SQLite module in Node.js
    5 projects | dev.to | 16 Oct 2024
    SQLite is a lightweight database engine written in C. It is a simple, fast, and fully featured implementation of an SQL Database Management System. SQLite differs from other relational databases like MariaDB and PostgreSQL because it does not run as a server.
  • 100+ Must-Have Web Development Resources
    28 projects | dev.to | 14 Oct 2024
    MariaDB: A fork of MySQL developed by early MySQL employees.
  • The Home Server Journey - 6: Your New Blogging Career
    13 projects | dev.to | 8 Oct 2024
    It seems easy enough to just deploy a MySQL container and use it, right? Well... It seems that there are some concerns about its licensing and development direction ever since the brand has been bought by Oracle (remember OpenOffice?). That was the motivation for the MariaDB fork, distributed under the GPLv2 license, which nowadays is not even a 100% drop-in replacement for MySQL, but still works for our case
  • The Home Server Journey - 5: Rebuilding Burned Bridges
    7 projects | dev.to | 29 Sep 2024
    (At first we're using a PostgreSQL image from the official DockerHub repository, but different databases such as MySQL/MariaDB or MongoDB will follow a similar pattern)
  • Which Database is Perfect for You? A Comprehensive Guide to MySQL, PostgreSQL, NoSQL, and More
    10 projects | dev.to | 26 Jun 2024
    MariaDB is an open-source RDBMS that originated as a fork of MySQL. It aims to maintain compatibility with MySQL while offering additional features.
  • Relational Databases: PostgreSQL Vs. MariaDB Vs. MySQL Vs. SQLite
    5 projects | dev.to | 7 Jun 2024
    In a landscape filled with open-source and commercial relational databases, this article focuses on the four most prominent open-source databases - PostgreSQL, MySQL, MariaDB, and SQLite. These DBMS are the most preferred databases per the SO’s 2023 survey.
  • System Design: Databases and DBMS
    12 projects | dev.to | 1 May 2024
    MariaDB
  • Ask HN: Postgres vs. MySQL in 2023?
    2 projects | news.ycombinator.com | 29 Sep 2023
    MariaDB [1] is a community developed fork of MySQL, so you can feel free to use that in place of MySQL.

    Another alternative would be Percona [2] which is a drop-in replacement for Oracle MySQL.

    About PostgreSQL I haven't had that much of personal experience with it, but for sure I plan to learn it, because it has been battle-tested for years with lots of well-known projects, such as Django framework, for instance.

    [1] https://github.com/MariaDB/server

    [2] https://github.com/percona/percona-server

  • What is technically happening in the server when you "prepare an SQL statement"? $mysqli->prepare($sql)
    1 project | /r/PHPhelp | 24 Apr 2023

What are some alternatives?

When comparing PostgreSQL and MariaDB you can also consider the following projects:

psycopg2 - PostgreSQL database adapter for the Python programming language

Firebird - FB/Java plugin for Firebird

ClickHouse - ClickHouse® is a real-time analytics DBMS

phpMyAdmin - A web interface for MySQL and MariaDB

Percona Server - Percona Server

Adminer - Database management in a single PHP file

MySQL - MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

debezium - Change data capture for a variety of databases. Please log issues at https://issues.redhat.com/browse/DBZ.

SQLite - Unofficial git mirror of SQLite sources (see link for build instructions)

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured