Category Archives: Contributions
This is the first part of the series about how to add a new data type to MariaDB using the Type_handler framework. A preliminary article has already been published to start the series; it covers how to set up your development environment and compile MariaDB Server: Adding a New Data Type to MariaDB with Type_handler – Part 0.
Understand Type_handler Before Writing Code
When you add a new type to MariaDB, you are not only adding a new SQL keyword. Historically, that kind of work required invasive changes across the parser, optimizer, protocol, replication, and type-conversion mechanisms.
…
Continue reading “Adding a New Data Type to MariaDB with Type_handler – Part 1”
Welcome to this new series about extending MariaDB. This series covers the addition of a new data type using the Type_handler.
The goal of the entire series is to create a new plugin data type MONEY to store and display amounts with currency.
Something like:
MariaDB [test]> select * from t1;
+—-+————-+
| id | amount |
+—-+————-+
| 1 | $2,000.00 |
| 2 | $100,000.56 |
+—-+————-+
2 rows in set (0.002 sec)
Of course, the ultimate goal is to teach how to add data types in MariaDB, and we expect to see how creative our community developers are!
…
Continue reading “Adding a New Data Type to MariaDB with Type_handler – Part 0”
One of the things I really like about open source is that a project is never only about the software.
Yes, code is important. Very important. But a project like MariaDB exists and grows because of people. People who contribute code, of course, but also people who help users, review bugs, write blog posts, speak at events, answer questions, test new features, build tools, and share knowledge with others.
This is exactly why I’m very happy to announce the MariaDB Foundation Sea Lion Champions program.
It’s a new initiative to recognize the people who help make the MariaDB ecosystem stronger.
…
Continue reading “Know a MariaDB champion? Submit a nomination”
I came across an excellent paper by the Linux Foundation. In it I find solid economical evidence for a very fundamental idea: contributions are the life-blood of an open source project.
Contributions in the broader sense (code, documentation, quality assurance, marketing, education, financial support) are central to every project. Open source or not. Giving users what they need and want is what makes any project appealing. It’s just that with open source, the cost to procuring these is not that directly attached to the actual use. So, there is a gap to cross between passive use and active participation.
…
I wanted to share with you all some statistics on the incoming community contributions for the MariaDB server in the last year or so. And some of my thoughts looking at the data.
I’ve been quietly working on scripting some of my daily routines using the github CLI and the Jira REST API. Thanks to a question by Anna, the visionary MariaDB Foundation CEO, I’ve also created some scripts to fetch and summarize statistics on the incoming community contributions pull requests.
A picture’s worth a thousand words. So here we go:
This depicts the community pull requests opened or closed each month (the top graph).
…
Continue reading “The Rising Tide of Community Contributions to MariaDB Server”
Inspired by my VERY long presentation on the topic at FOSDEM26 I thought I’d say a couple of words on how the contribution process works.
Contributing changes to MariaDB server is easy because it follows industry best practices: it’s using “normal” GitHub pull requests. Note that I’m working for the MariaDB Foundation. As such, “normal” for me is doing everything in the open, for everybody to see and participate. And all of the communication around the contribution (including the code review) is happening in that same pull request and is public. Until the intended end of the process: merging the pull request into the repository.
…
Continue reading “The MariaDB contribution process: a step by step guide.”
Couple of weeks ago we’ve announced a poll for the Top external contribution of 2025. Thank you all that voted for the time you took to do so.
The vote was organized in two categories:
- Organizations
- Individuals
We are extremely happy to share that the winner of 2025 Top Contributor to MariaDB award.
In this section the Winner is:
MDEV-36737 Research and Estimation for Adapting VIDEX to MariaDB!
Congratulations to ByteDance and Haibo Yang (YoungHypo) and Rong Kang (kr11)!
…
Continue reading “And The Winners Of The Inaugural Top External Contributor To MariaDB Award are …”
I have recently completed a large project to implement a new improved binlog format for MariaDB. The result will be available shortly in the upcoming MariaDB 12.3.1 release.
In this article, I will give a short overview of the new binlog implementation. For more details, check the documentation which is in the source tree as the file Docs/replication/binlog.md, or here: https://github.com/MariaDB/server/blob/knielsen_binlog_in_engine/Docs/replication/binlog.md
EDIT: Also see Mark Callaghan’s benchmark of the new feature.
Using the new binlog
To enable the new binlog, configure the MariaDB server with binlog_storage_engine=innodb.
Additionally, the binlog must itself be enabled as usual using the option log_bin.
…
Continue reading “New binlog implementation in MariaDB 12.3”