Category: Plugins
-
The MariaDB Plugin API has Doxygen Documentation Now!
Developing plugins is one of the ways we really encourage to extend MariaDB Server’s capabilities. However, understanding the available APIs has often required developers to explore header files, source code, and existing plugin implementations.To make this easier, we now have a new, Doxygen-generated MariaDB Server Plugin API reference, available directly in the MariaDB documentation.If you’ve been following recent commits to the MariaDB Server repository, you may already have noticed some of the work behind this initiative. I’d like to present […]
-
What MariaDB’s plugin API can carry: the HyperLogLog case
Can a complete analytic feature live outside the MariaDB server core? By “complete” I mean a column type, aggregates that build its values, and scalar functions that read them. I built the type_hll plugin, which adds HyperLogLog sketches to MariaDB, and I use it here to answer that question.
The answer is mostly yes. One shared library, type_hll.so, registers the HLL data type and eight functions. You enable all of it with one statement:
The “mostly” is important. The HLL […]
-
Extending MariaDB with Native Aggregate Plugins: Laying the Groundwork for HyperLogLog
MariaDB already allows developers to add new Pluggable Data Types and scalar Plugin Functions. One missing piece has been Pluggable Aggregate Functions operating on PDTs. That matters for functionality such as HyperLogLog, where an extension needs to aggregate values into a custom statistical sketch while preserving its native SQL type.
MDEV-40672 closes that architectural gap. Aggregate functions can now participate in MariaDB’s native aggregation infrastructure, including DISTINCT, window execution, prepared statements and Pluggable Data Types.
MariaDB already supports MariaDB_FUNCTION_PLUGIN, a […]
-
MariaDB Server Plugins: disabled functions

During the last MariaDB Foundation Board Meeting (24 June 2026), Barry shared how it can be difficult to deploy an upgrade immediately and that they sometimes have to wait for one that fixes security bugs. Wait for the validation, wait for the fix, and the release. Even if the MariaDB engineers are doing incredible work, it might still not be fast enough for the security team.
That’s where Barry requested MariaDB implement a query-rewriter plugin, like the one in MySQL, […]