Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 1 to 10 of 45618 « Previous | Next »
DuckDB inside MySQL: a talk from DuckDB × MySQL Day

To ask MySQL a question about a Parquet file in an S3 bucket, you either copy the data into a table first or run a second query engine beside the database. The vsql-duckdb extension puts DuckDB inside the server, so you can read the file where it sits over the MySQL connection you already have.

On November 17, 2026, Dominic Preuss explained how we built it at DuckDB × MySQL Day, an online conference hosted by the OurSQL Foundation. Watch the recording (free registration required).

What the talk covers

  • What VillageSQL is. Dominic …
[Read more]
Putting Sixta to the Test: AI-Assisted MySQL Troubleshooting with PMM

Sixta is an AI agent that investigates database problems the way a DBA would. We wanted to evaluate how effectively it could diagnose MySQL problems using only the monitoring data already available in Percona Monitoring and Management (PMM).

To test this, we set up a Percona Server for MySQL 8.0 primary-replica environment monitored by PMM. We introduced several test scenarios, ranging from simulated database failures and performance issues to proactive health checks. For each scenario, we asked Sixta to investigate through Slack, relying exclusively on PMM metrics and monitoring data, without direct access to the database servers.

In this blog post, we share how Sixta works, the scenarios we tested, how it analyzed the available data, and the insights it provided. We also highlight where Sixta performed well, its …

[Read more]
MySQL CDC parallelism is set to 8. Why are all eight readers on the same table?

Why can eight MySQL CDC readers all be busy with the same table? This article explains how Apache SeaTunnel distributes snapshot splits, uses binlog watermarks to reconcile concurrent changes, and transitions to continuous change capture, with practical guidance for tuning performance and testing correctness.

MySQL Performance : 8.4-LTS vs MariaDB-12.3 LTS | part3

This is the third part of the test results obtained during MariaDB and MySQL performance evaluation. In case you've missed the first 2 parts, it's better to start from here :

The following part is about various configs impact on each engine.

Read more... (70 min remaining to read)

MySQL Performance : 8.4-LTS vs MariaDB-12.3 LTS | part2

This is the second part of the test results obtained during MariaDB and MySQL performance evaluation. In case you've missed the first part, it's better to start from the beginning : mysql-perf-84-vs-mariadb12-part1.html

Read more... (45 min remaining to read)

MySQL Performance : 8.4-LTS vs MariaDB-12.3 LTS | part1

The following is just a tentative to get my own understanding about improvements and evolution in MySQL and MariaDB development made during the last years from the performance side point of view. And this by comparing MySQL 8.4-LTS and MariaDB 12.3-LTS performance as fairly as possible.

I'll be a long read, so don't start it without a cup of coffee near by ;-))

P.S. Finally the post became longer than I've expected, so I've finished by divide it into 3 parts. Here is the first part. And at the end you'll find the links to the part2 and part3.

Read more... (111 min remaining to read)

November 2026 MySQL Contributor Summit: Advancing Community Collaboration 

On November 4–5, the MySQL community gathered online for the third MySQL Contributor Summit of 2026. Across two days, contributors shared proposals, demonstrated progress, and discussed how to make MySQL easier to extend, operate, and contribute to.  The summit marked another step in the community engagement plan announced in January. Progress since then includes new […]

Announcing VillageSQL Server 0.0.8

VillageSQL Server 0.0.8 is now available. This release is about using extensions from applications: through prepared statements, with text in other character sets, and with the server protected when an extension function throws an exception.

Highlights of this release include the following:

  • Functions that take custom types work in prepared statements.
  • Extensions built with the 0.0.8 SDK can tell raw bytes from text.
  • When a function in an extension built with the 0.0.8 SDK throws an exception, only that statement fails, and the server keeps running.

Custom types in prepared statements

Many applications keep values out of the SQL text. They send the query once as a prepared statement and pass the values separately, and most MySQL connectors can work this way. In 0.0.8, functions that take custom …

[Read more]
Modernize on Your Terms: How Nutanix and AWS Accelerate Migrations, Simplify Operations, and Enable AI

Learn how Nutanix and AWS help organizations migrate workloads without refactoring, simplify hybrid cloud operations, and build a flexible foundation for AI.

Why MySQL OR is slower than IN

Queries with OR conditions are commonly used to implement business logic.

However, it might be slower than we expected. 

Although the query below scans only 1 million rows, it runs for 6,7254 seconds.

# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:   188
# Schema:   Last_errno: 1160  Killed: 0
# Query_time: 67254.081455  Lock_time: 0.000006  Rows_sent: 1  Rows_examined: 1000000  Rows_affected: 0  Bytes_sent: 0
...
SELECT COUNT(*) FROM db1.sbtest1 WHERE id = 1 OR id = 2 OR id = 3 OR id = 4 OR id = 5 OR id = 6 OR id = 7 OR id = 8 OR id = 9 ...
...

The CPU profile indicates that 99% of CPU time was spent in Item_cond_or::val_int() on MySQL 8.4.

connection
└ mysql_execute_command → Sql_cmd_dml::execute → Query_expression::ExecuteIteratorQuery
  └ AggregateIterator::Read                                99.80%
    └ FilterIterator::Read                                 99.80% …
[Read more]
« Previous | Next »