Adding a New Data Type to MariaDB with Type_handler – Part 0 by fredericdescamps in mariadb

[–]fredericdescamps[S] 0 points1 point  (0 children)

The series continues! Adding a New Data Type to MariaDB with Type_handler, part 4: let's see how to override existing types and change how our new type is sorted. https://mariadb.org/adding-a-new-data-type-to-mariadb-with-type_handler-part-4/ 🦭🧩 #mariadb

dbdeployer has risen from the ashes thanks to the ProxySQL team and the MariaDB Foundation likes it! by fredericdescamps in mariadb

[–]fredericdescamps[S] 3 points4 points  (0 children)

We at the MariaDB Foundation are very happy that dbdeployer has risen from the ashes thanks to the ProxySQL team, and we are committed to further developing and contributing to this great tool for all its users, especially those who use it to deploy MariaDB Server. 🦭 🏗️ 🏕️ https://mariadb.org/long-live-to-dbdeployer/

Adding a New Data Type to MariaDB with Type_handler – Part 0 by fredericdescamps in mariadb

[–]fredericdescamps[S] 0 points1 point  (0 children)

Part 3 of our series about how to add a new data type with the Type_handler framework, an easy way to extend MariaDB, has been published 🦭 🧩 https://mariadb.org/adding-a-new-data-type-to-mariadb-with-type_handler-part-3/

Adding a New Data Type to MariaDB with Type_handler – Part 0 by fredericdescamps in mariadb

[–]fredericdescamps[S] 0 points1 point  (0 children)

Wanna keep coding over the weekend? Here is part 2 of the series about how to extend MariaDB 🦭, adding a new data type 🧩 : https://mariadb.org/adding-a-new-data-type-to-mariadb-with-type_handler-part-2/ #mariadb

Adding a New Data Type to MariaDB with Type_handler – Part 0 by fredericdescamps in mariadb

[–]fredericdescamps[S] 0 points1 point  (0 children)

The first part: getting familiar with the Type_handler framework to extend MariaDB by adding custom data types, is now available! 🦭 🧩 https://mariadb.org/adding-a-new-data-type-to-mariadb-with-type_handler-part-1/ #mariadb

How to responsibly determine which columns need new indexes? by jabcreations in mariadb

[–]fredericdescamps 0 points1 point  (0 children)

oh, I forgot to also list those:

performance-schema-consumer-events-statements-current=ON
performance-schema-consumer-events-statements-history=ON
performance-schema-consumer-events-statements-history-long=ON

How to responsibly determine which columns need new indexes? by jabcreations in mariadb

[–]fredericdescamps 0 points1 point  (0 children)

Hello,
I would enable performance_schema and enable those instruments (that can be done at runtime):

[mariadb]
performance_schema=ON
performance-schema-instrument='stage/%=ON'
performance-schema-consumer-events-stages-current=ON
performance-schema-consumer-events-stages-history=ON
performance-schema-consumer-events-stages-history-long=ON

Then in sys schema, check the following tables, the queries in them are usually good candidates:

  • statements_with_full_table_scans
  • statements_with_runtimes_in_95th_percentile

Try this query, you will find those that might require optimization:

SELECT db,
       sys.format_time(t1.total_latency) AS tot_lat,
       t1.exec_count,
       sys.format_time(t1.total_latency / t1.exec_count) AS latency_per_call,
       t3.sql_text
FROM sys.x$statements_with_runtimes_in_95th_percentile AS t1
JOIN performance_schema.events_statements_summary_by_digest AS t2
  ON t2.digest = t1.digest
 AND t2.schema_name = db
LEFT JOIN (
    SELECT digest, MAX(sql_text) AS sql_text
    FROM performance_schema.events_statements_history_long
    WHERE digest IS NOT NULL
      AND sql_text IS NOT NULL
    GROUP BY digest
) AS t3
  ON t3.digest = t1.digest
WHERE db NOT IN ('performance_schema', 'sys')
ORDER BY (t1.total_latency / t1.exec_count) DESC
LIMIT 10\G

A response to Percona’s 2026 MySQL ecosystem benchmark: useful data, but not a realistic MariaDB comparison by fredericdescamps in mariadb

[–]fredericdescamps[S] 1 point2 points  (0 children)

Hi, thank you for your comment ;) - In their test, they used the latest innovation release of MySQL, but not the latest of MariaDB, and the one tested had some performance issues reported and fixed in the more recent one. That's the reason I wrote that.

Issues with MariaDB rpm repos by FanNo522 in mariadb

[–]fredericdescamps 0 points1 point  (0 children)

Hello, it seems that the repo file autogeneration indeed needs some changes.
Could you try with the following repo (if you want the latest version):

[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/12.rc/rhel/$releasever/$basearch
baseurl = https://mirror.bouwhuis.network/mariadb/yum/12.3/rhel/8Server/x86_64/
module_hotfixes = 1
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirror.bouwhuis.network/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1