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 45615 « Previous | Next »
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]
Building PlanetScale with Insights Agent

We've always used PlanetScale to build PlanetScale. So when we built Insights Agent, our own databases were the first place we ran it to see what kind of gains we could get. Insights Agent identifies problematic queries or schema using Query Insights, finds the code responsible for them, and opens a pull request with a fix. Our Rails API is a large, busy app, which makes it a good testing ground.

We know a thing or two about databases over here, so our databases are already quite well optimized. Even so, Insights Agent has been able to find a bunch of wins for us, continuing our drive towards the most efficient database possible.

Here are three (of many) examples of how we tested and used Insights Agent in the weeks leading up to launch, and how we used these experiences to make the product better.

…

[Read more]
Amazon RDS for MySQL LTS version 9.7 is now generally available

Today, Amazon Relational Database Service (Amazon RDS) announced support for MySQL version 9.7, the latest Long-Term Support (LTS) major version from the MySQL community, in addition to MySQL 8.0 and 8.4. As with prior versions, you can bring your existing MySQL code, applications and tools to Amazon RDS. For customers who need more time to upgrade, Amazon RDS continues to offer earlier major versions under RDS Extended Support: MySQL 8.0 entered RDS Extended Support on August 1, 2026, and MySQL 5.7 remains available under RDS Extended Support through June 30, 2029.

MySQL 9.7 is the second LTS Release from the community, following MySQL 8.4. It includes the features delivered across the 9.0 through 9.6 Innovation Releases and adds 9.7-specific capabilities. In this post, we …

[Read more]
Village News: MySQL News + Events (18 November 2026)

Welcome back to Village News, our curated roundup of MySQL and database news. This week, MariaDB shipped its Q4 maintenance releases across four LTS series, and OurSQL Foundation opened a call for MySQL-compatible projects to share its FOSDEM 2027 booth.

If you want to get these updates, just subscribe to the blog.

Enjoy!

MySQL News

Note: Aggregated MySQL news can be found at Planet for MySQL Community and Planet MySQL (Oracle curated)

David Stokes: "Nine Times Out of Ten, It's MySQL"
Maria Nesterova, OurSQL Foundation Blog

TL;DR …

[Read more]
« Previous | Next »