MariaDB Contribution Statistics, October 2024

Another quarter year has gone by, and in the world of MariaDB, it is time for another contributions report. The raw data for this report can be found on GitHub, here.

Server contributions

Just like last quarter, I’m going to start with a breakdown of all the organisations who have contributed to MariaDB Server so far this year.

OrganisationContributorsCommits
MariaDB Plc291262
MariaDB Foundation6123
Codership777
Independent1757
Amazon1250
Arch Linux16
GSoC35
IONOS14
Alibaba13
Rakuten13
HardenedBSD12
OpenBSD12
University of Sydney12
Arm11
Chainguard11
ClearCode11
FreeBSD11
IBM11
MariaDB Server contributions for from 1st January 2024 – 8th October 2024

There have been some interesting things to note here. The first is that Google Summer of Code season has now ended. Some of the contributions from it have merged, and still quite a few that need a little bit of work before they are ready. Hopefully, more of these will be merged by the end of the year.

In addition, we have a MariaDB Foundation sponsor, IONOS, contributing code to us, which we are very happy to see. Along those lines, we have Rakuten who have been upstreaming some new features to us. Specifically, Rakuten have been working on improving the Oracle compatibility code. There is still at least one more PR from them which should be merged soon and potentially several more features in the pipeline that we are looking forward to.

The Connector/C project also had a contribution from a new contributor, ClickHouse. The project itself is owned by the MariaDB Plc rather than the Foundation, so we do not get to review these contributions, but it is great to see them come in.

From here, we can do a quick 2023 to 2024 comparison.

OrganisationContributors Q3 2023Contributors Q3 2024Commits Q3 2023Commits Q3 2024
MariaDB Plc302912131262
MariaDB Foundation76176123
Other5151160216
TOTAL888615491601
Up until end of Q3 2023 compared to end of Q3 2024

There are some interesting things here. We have more external contributions than this time last year, which is fantastic. MariaDB Foundation has had fewer commits, this is actually to be expected. The Foundation has been working on some big features that have not been merged yet. It all equates to a slight net increase in commits with a slightly fewer contributors.

Statistics by lines of code

As a bonus, I’ve also generated the statistics on lines of code. The data is recorded as lines “added” and “removed”. It is difficult to see a “changed” statistic, but you could get a rough estimate by taking the “removed” lines away from the “added” lines. We have had 215,403 lines added and 142,297 lines removed so far. Therefore under the above assumption, we have 73,106 truly new lines of code and 142,297 changed so far this year.

OrganisationPercentage of Lines AddedPercentage of Lines Removed
MariaDB Plc86.5%90.5%
MariaDB Foundation5.0%5.9%
Codership3.3%1.2%
Amazon1.3%1.5%
Other3.9%1.0%
Top four contributing organisations and their percentage of lines added / removed

I have taken the top four organisations and grouped everyone else under “Other”. From the percentages, you can see that Plc is even higher than the number of commits, with 86.5% of “new” LoC and 90.5% of the deleted.

As for Codership, the relatively high ratio of “new” lines of code caught my eye. It seems to be due to adding lots of test cases with their changes, which is a welcome thing.

Pull requests

Next up, let’s take a look at the state of pull requests. The columns are:

  • New PRs: The number of PRs that have been opened that week.
  • Draft PRs: Of the newly opened PRs that week, how many are currently drafts.
  • Closed PRs: The number of PRs that have been closed that week (not merged).
  • Merged PRs: The number of PRs that have been merged that week.
  • Total PRs: The total number of PRs we have had up to the end of that week.
  • Still Open PRs: The total number of PRs still open (including draft) at the end of that week.
  • Days to First Response: The average number of days to first meaningful response of PRs for PRs that have been responded, for the PRs opened that week.
  • New PRs Responded: The total number of PRs that have had a meaningful response that have been opened that week.
  • PRs Self Merge No Review: The number of PRs opened that week which have been merged by the author with no review from anyone else in the MariaDB team.
  • PRs Self Closed No Review: The number of PRs opened that week which have had no meaningful response and have been closed by the author.
Week EndingNew PRsDraft PRsClosed PRsMerged PRsTotal PRsStill Open PRs
2024-07-07121183376247
2024-07-141104143387240
2024-07-21908173396224
2024-07-28211363417236
2024-08-042109153438233
2024-08-1130553441231
2024-08-18160363457238
2024-08-25150283466237
2024-09-011011183481233
2024-09-08171473491232
2024-09-152102103508237
2024-09-22160343529251
2024-09-29805103545252
Pull request counts
Week EndingDays to First ResponseNew PRs RespondedNew PRs Not RespondedPRs Self Merge No ReviewPRs Self Closed No Review
2024-07-0712.52360
2024-07-14242531
2024-07-2117.25310
2024-07-2813.76860
2024-08-046.673101
2024-08-11NA2210
2024-08-1803931
2024-08-2502412
2024-09-0111.73641
2024-09-0824.33420
2024-09-158.76560
2024-09-224.112531
2024-09-292.36550
Pull request responses

There are some interesting things in this data as well. The week ending 2024-08-11 had 3 new PRs, the lowest of the year. None of these PRs have had a response, one was self-merged without a public review. This means for the first time ever we have an “NA” in the “Days to first response”. In addition, we are ending the quarter on 252 open pull requests. This is the highest it has ever been, we started the year at 205 open pull requests. I will say that the first week of Q4 saw this number drop to 242 open pull requests, so the count will hopefully trend downwards.

Next Time

If there are any additions you would like to see, please let us know. Otherwise, we’ll be back in early next year with even more metrics!

Featured image: by Anita Peeples used under a CC0 license.

Published by Andrew Hutchings

Chief Contributions Officer for the MariaDB Foundation