Database Community Insights
Community pulse
Database Community Insights
Follow MySQL and MariaDB project updates, database engineering articles, SQL discussions, performance tuning, administration and community insights.
MySQL: Planet MySQL
Community and Oracle MySQL team blog aggregation covering MySQL development, releases, performance and operations.
This week, we're highlighting ProxySQL. As applications grow, so do the demands on MySQL. ProxySQL helps developers and DBAs manage database traffic through connection pooling, query routing, and load balancing, providing greater control over how applicatio...
MySQL and DuckDB Unlike row-oriented databases, which store data for a single record sequentially on disk, favoring single-row lookups, columnar databases store all the values from a column contiguously in storage, allowing only the selected column to be re...
Welcome back to Village News, our curated roundup of MySQL and database news. This week, AWS contributed a fix for large-transaction binlog stalls to community MySQL, and MariaDB launched Enterprise Platform 2027. If you want to get these updates, just subs...
Jonathan shares how he discovered MySQL through building websites and WordPress, his experience at the EU Summit for the MySQL Community, and the challenges of balancing backwards compatibility with modern MySQL features.
MySQL's null-safe equality operator helps you write SQL queries that correctly match NULL values and retrieve records that ordinary equality comparisons miss. See how to filter assigned and unassigned support tickets using null-safe comparisons, and explore...
When MySQL commits a large transaction carrying gigabytes of changes, writing it to the binary log (binlog) can freeze every other commit on the server for minutes. This includes transactions that touch unrelated data. This bottleneck is detrimental to appl...
Vinicius shares how he got started with MySQL, the community members who inspire him, and his enthusiasm for performance troubleshooting, community events, and AI.
One ecosystem, many projects, shared challenges. Join us in Brussels on Sunday, January 31, 2027, for the M-Ecosystem Devroom at FOSDEM! Building on the tradition of the MariaDB, MySQL & Friends Devroom, this new chapter expands its scope and ambition, brin...
I shared a meme on LinkedIn because it made me laugh. Then I kept looking at the constraint name at the bottom. PK__LAW__3214EC07B14E510A. I would like to cooperate, officer, but I may need a minute to figure out what I did. PK gives me a clue that this is ...
A recent post on the MariaDB Foundation Blog has the impressive title How MariaDB 11.8 became about 3× faster on some in-memory workloads, fixing a regression dating back to 10.5. The claim is technically correct when viewed in isolation, but I believ...
MariaDB Foundation: Planet MariaDB
Community-driven MariaDB articles, project developments, releases and ecosystem updates from the MariaDB Foundation.
The optimizer is one of the most important components of a database server. Most of the time, we trust it to make the right decisions. But sometimes, we know something about our data or workload that the optimizer doesn’t, and we’d like to give it a little ...
Nobody has ever said “I’m so excited about our in-memory cache” at a dinner party. And yet these unglamorous layers […] Why MariaDB is giving financial services a cache of its own appeared first on MariaDB.org
MariaDB is pleased to announce the immediate availability of the MariaDB Connector/Node.js 3.5.5, 3.4.8, 3.3.5, and 3.2.6 GA releases. Release […] MariaDB Node.js Connector 3.5.5, 3.4.8, 3.3.5, and 3.2.6 now available appeared first on MariaDB.org
What is MariaDB Enterprise Server? MariaDB Enterprise Server is a core component of our flagship product MariaDB Enterprise Platform, delivering […] What’s New in MariaDB Enterprise Server 12.3? appeared first on MariaDB.org
MySQL and DuckDB Unlike row-oriented databases, which store data for a single record sequentially on disk, favoring single-row lookups, columnar databases store all the values from a column contiguously in storage, allowing only the selected column to be re...
MariaDB Scaling Improvements From 10.6 to 12.3 Welcome back! For those of us at MariaDB, the 10.6 scaling story is […] MariaDB Enterprise Server 12.3 LTS: About 4x More OLTP Throughput than 10.6 appeared first on MariaDB.org
Almost every application we use today, from the banking app on our phones to the order screen at the coffee […] Agents Are the Database’s Newest Customer: AI in MariaDB Enterprise Platform 2027 appeared first on MariaDB.org
Every enterprise is racing to put AI agents to work. But an agent is only as trustworthy as the data […] Introducing MariaDB Enterprise Platform 2027: one foundation for the agentic enterprise appeared first on MariaDB.org
Let’s say you’re processing events from an API into your CRM. An event comes in and tells you that a particular contact is a Director at a company. So you update the job title on their contact record in the CRM, along with some other fields like the company...
When deploying MariaDB in the cloud, controlling the infrastructure can be as important as controlling the database itself. Plenty of cloud providers offer their own approaches to virtual machines, networking, storage, and managed services. One of them is K...
MariaDB Foundation: Official Blog
Official MariaDB Foundation news, release announcements, community activity and technical articles.
When deploying MariaDB in the cloud, controlling the infrastructure can be as important as controlling the database itself. Plenty of cloud providers offer their own approaches to virtual machines, networking, storage, and managed services. One of them is K...
MariaDB Foundation is pleased to welcome luroConnect as a Silver Sponsor, bringing practical experience in running MariaDB for Magento and Adobe Commerce merchants to our sponsor community. luroConnect provides managed cloud hosting for eCommerce, with 24/7...
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...
InnoDB about 3x faster on in-memory workloads, the FOSDEM 2027 M-ecosystem devroom call for papers, parallel query execution, our first India meetup and 17 years of MariaDB Server. MariaDB Foundation Newsletter – 1 November 2026 appeared first on MariaDB.org
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 u...
Last week was about PHP. This week, check your database. On 21 October 2026, the PHP project shipped emergency fixes for two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, known together as PHP2Shell. Exploit details leaked befor...
MariaDB Server has executed every query on a single thread since the beginning. That is changing. In the first episode of Inner Join, our new video series with the engineers of the MariaDB core team, I sat down with Oleg Smirnov of the Optimizer team to tal...
Earlier this month we wrote that Laravel 13 now supports MariaDB Vector natively. Mohamed Touhami Rhaima, one of the community contributors who made that happen, has now written a tutorial on how to use it, and recorded a video version. Why MariaDB Vector i...
Publishing on behalf of Alessandro Vetere. Conclusions first: InnoDB in-memory workloads started paying for LRU management in 10.5, a performance regression, and I think the reason is that a clock, which was meant to say “eviction has started”, began tickin...
One ecosystem, many projects, shared challenges. Join us in Brussels on Sunday, January 31, 2027, for the M-Ecosystem Devroom at FOSDEM! Building on the tradition of the MariaDB, MySQL & Friends Devroom, this new chapter expands its scope and ambition, brin...
Percona: Database Performance Blog
Independent database engineering insights, MySQL and MariaDB performance, reliability, backups and operations.
In my previous post I said that MongoDB published some impressive numbers for 9.0, but I couldn’t find any details about how the tests were done. I ended with “always run your own benchmarks”. So I figured I should follow my own advice. Let me be clear up f...
MySQL and DuckDB Unlike row-oriented databases, which store data for a single record sequentially on disk, favoring single-row lookups, columnar databases store all the values from a column contiguously in storage, allowing only the selected column to be re...
Percona Search for MongoDB 1.70.5-3 is now Generally Available and supported for production use. You can now easily run full-text, vector, and hybrid searches with automatic embedding on production Percona Server for MongoDB deployments. The release also ad...
An alternative to sharding a MongoDB replica set that outgrew its memory: a proof of concept A replica set that no longer fits in memory Most MongoDB replica sets start small. The working set fits in the WiredTiger cache, reads come from memory, and nobody ...
Every MySQL schema that’s been around for a few years collects indexes nobody remembers adding. Some were for a report that was retired. Some came from an ORM migration. A few were added “just in case” and never used. They all cost something: extra writes o...
Earlier this year, we introduced PSMDB Sandbox, a lightweight web UI that sits on top of our Terraform and Ansible automation for MongoDB. Since then, the project has changed a lot. It has a new name and repository, and it supports many more Percona product...
We loaded 990,000 OpenAI embeddings of 1,536 dimensions into six databases that index vectors themselves, built an HNSW index in each, and measured five things: time to a queryable index, storage and memory, recall against throughput, throughput under concu...
Back in December I introduced Percona Load Generator for MongoDB Clusters (PLGM), a benchmark tool built around one idea: test your database with your own schema and your own queries, not some random data. At the time, PLGM was a command-line tool. You edit...
Percona Operator for MySQL 1.3.0 is out. This release moves three things forward for teams running MySQL on Kubernetes: the operator now tunes MySQL for you based on the pod resources, async clusters can fail over without losing data in flight, and point-in...
This blog post was born of a discussion with a colleague in Percona Support, who also co-authored it with me here on the use of the ARBITER feature in MongoDB installations nowadays. Turns out, after analyzing past real cases we’ve faced in support, maybe i...
Reddit: r/mysql
Community discussions about MySQL development, SQL, administration, performance and troubleshooting.
Readyset is a query cache for MySQL and Postgres. It now has support for automatic failover and multi-server support. Basically it means that if the server that it’s shadowing fails over, the cache will automatically adjust and work post-failover. It’s a pr...
I benchmarked PostgreSQL and MySQL with same scenarios by using k6 in real server. Really would like to discuss results submitted by /u/huseyinbabal [link] [comments]
We're currently running a single primary MySQL node, which we recognize as a single point of failure (SPOF). To address this, we're considering introducing a read replica. However, read replication comes with its own set of challenges, such as read-after-wr...
Most "best MySQL GUI" lists rank tools by how many features they have. That doesn't help much, because the right tool depends on what you do all day. Running a few queries against a dev database is a different job from maintaining a dozen schemas or buildin...
I am learning about databases and need to install MySQL on my Mac. I installed the MySQL Community edition using the DMG file, but it isn't running in the terminal; when I enter the command "mysql -u root -p," I get the following error message: "ERROR 2002 ...
https://mariadb.org/how-mariadb-11-8-became-about-3x-faster-on-some-in-memory-workloads-fixing-a-regression-dating-back-to-10-5/ Couple years ago Marko decided to remove a partioned LRU cache from MariaDB(it is still used in MySQL code). There was a lot of ...
I have a MySQL database stored only in a local instance made with MySQL Workbench. I would like to export the data to have backups until I can get this properly set up in a server-hosted database. My problem is that any special characters seem to get messed...
I just download sql workbench and I tried to make a connection but it keeps showing Connection error. I think it might be bc of my connection ip. It is set at “localhost” by default. I have tried searching it up but I can’t really understand them. Can anyon...
Title states the question, I'm curious do share your experiences. submitted by /u/diagraphic [link] [comments]
Hi r/mysql, I'm David, one of the two developers of Oxynote. My friend Simon and I also maintain ttlcache, a Go caching library with about 1,300 GitHub stars, so this isn't our first open-source project. I've spent 8 years writing software, 2 of them as an ...
Reddit: r/mariadb
Community conversations about MariaDB Server, migrations, configuration, performance and troubleshooting.
I'm happy to share that my book SELECT to Ship: MariaDB for Application Developers is now available in paperback and Kindle editions on Amazon. I wrote this book with application developers in mind. Basically, I asked myself "what is it that I need to know ...
Hi all, Im a hobbyist trying to learn some basics and would appreciate some direction. I'm learning by doing and by attempting to follow what's on w3schools and stackexchange. My only experience of SQL prior to this project was on microsoft access and my on...
I've been benchmarking CSV import performance into MariaDB using several approaches, including Scriptella, a Java-based, SQL-first ETL tool I maintain. The latest experiment uses Scriptella 1.7 and compares four workflows on MariaDB 11.8.8. Results (1M rows...
Choosing between relational databases for AI applications usually comes down to how efficiently they handle high-dimensional vectors and memory allocation under heavy concurrent load. Postgres has established a solid ecosystem for vector-heavy workloads pr...
https://preview.redd.it/crr50tt6ifzh1.png?width=1200&format=png&auto=webp&s=25dac979598f34ebea8a2def877f710ec83d8024 I wanted to see how far I could automate a WordPress + MariaDB deployment on Kamatera using OpenTofu. The result is a small open-source proj...
We’ve published a MariaDB Foundation article about the security considerations around staying on MariaDB 10.6 and planning an upgrade: https://mariadb.org/still-on-mariadb-10-6-why-your-next-upgrade-is-a-security-decision/ For those still running 10.6: what...
https://mariadb.org/how-mariadb-11-8-became-about-3x-faster-on-some-in-memory-workloads-fixing-a-regression-dating-back-to-10-5/ Couple years ago Marko decided to remove a partioned LRU cache from MariaDB(it is still used in MySQL code). There was a lot of ...
MariaDB is pretty new to me but I worked with mysql and other databases before. I'm having an issue with my 3 node cluster. I built a vanilla mariadb as a DB for Keycloak. I first built all 3 nodes and used "rsync" as wsrep_method, had them all running well...
This article by Simona Aleksandrova does an excellent job explaining why that matters and how the work fits into the broader open‑source ecosystem. I’m honored to have been interviewed, and she told the story with real clarity. https://mariadb.org/the-man-w...
Hi r/mariadb, I'm David, one of the two developers of Oxynote. My friend Simon and I also maintain ttlcache, a Go caching library with about 1,300 GitHub stars, so this isn't our first open-source project. I've spent 8 years writing software, 2 of them as a...
Reddit: r/Database
Broader database discussions covering relational databases, architecture, data modelling and operations.
submitted by /u/shdw_0x0 [link] [comments]
submitted by /u/CalligrapherDry8314 [link] [comments]
Hello! I'm taking my first database design course in grad school and our final project is to make our own databook on any topic we want. I chose to make a database of all the Pokémon, moves, trainers, products, and locations in Pokémon Ultra Sun for the Nin...
I'm experimenting with a database model for contracts and their associated fulfillment obligations. Some services offer duration-based discounts: the longer a customer commits, the lower the monthly price. Every product has a base price, but only some have ...
A security definer function checked "has the permission, or is the creator, or is the assignee" and raised if that was false. The tasks were seeded automatically, all 3,683 of them with owner and assignee NULL. false or null or null is null, not false. IF o...
I've noticed that some SQL queries using WITH clauses (CTEs) take significantly longer to execute than expected, especially when multiple CTEs are chained together. I understand that a CTE is mainly used to organize complex queries and make them easier to r...
Unique constraints. A deleted user still "uses" their username. Use a partial unique index (`where deleted_at is null`). Every query must filter deleted rows. Miss one, and deleted data shows up in a report or API response. Foreign keys. What happens to ord...
submitted by /u/TomFighter [link] [comments]
If you prefer reading article: https://huseyinbabal.dev/posts/postgres-vs-sqlite-load-test/ submitted by /u/huseyinbabal [link] [comments]
I was looking into how to build out the database architecture for a new RAG agent and found out the landscape is basically splitting into two camps. I was reading a guide that broke it down this way. On one side you have dedicated vector databases like Pine...
Database Administrators: Stack Exchange
Technical questions and answers from database administrators about SQL engines, reliability, performance and database operations.
Doc walks into a bar The DELETE docs say a TABLOCK hint lets a delete from a heap deallocate the pages it empties. I've also seen it said (and said it myself) that this goes out the window for heaps with LOB columns, or with any column that could push data ...
With EXEC sp_WhoIsActive @show_system_spids = 1, I can see a spid that I am reasonably confident is time-based Query Store cleanup. Is there anything more that I can pass into sp_WhoIsActive to make it obvious that the spid is that of Query Store cleanup? I...
Below is a script composed of the statements taken verbatim from MS Learn for SQL Server and linked articles: USE [master] GO CREATE DATABASE [MEM_OPT] CONTAINMENT = NONE GO ALTER DATABASE [MEM_OPT] SET AUTO_CLOSE OFF WITH NO_WAIT -- Required on Express but...
I executed an ALTER TABLE DDL statement on a PolarDB MySQL instance. The table contains fewer than 10,000 rows. When there is no business traffic, the statement completes in less than 100 ms. However, when the same statement is executed during a stress test...
We need to import our older MariaDB databases, which are in older "so-called" utf8 format, meaning utf8mb3, into a new, more current, web and database server (running MariaDB 10.11). We are a very small jacks-of-all-trades internal systems team and unfortun...
I am investigating a PostgreSQL 18.6 authorization check in a disposable test database with synthetic roles. I would appreciate help understanding whether the observed behaviour is expected, an error in my function or test, or something that warrants furthe...
I am using DolphinDB version 3.00.2.2. A few years ago, I copied the entire DolphinDB data directory to a new path and ran the instance from the copy. Recently I noticed the retention policy was not cleaning up historical data, so I tried to manually drop p...
I have been asked to disable STRICT_TRANS_TABLES in MariaDB (because of potential problems that this may cause with some legacy code). This seems to be a setting that is now enabled by default (amongst some other sql_mode settings, which I think we will be ...
All of the examples that address this issue seem to gloss over it by telling people to use d a t e t i m e instead of timestamp, and then when they show a timestamp insert example they invariably use "NOW()" instead of a defined timestamp. Sometimes you nee...
We've been having problems with transaction log files being full, while I can't control when netbackup backs up tran logs. I think the logs starting at S0001234 are empty (since their StartLSN values are 0000000000000000), but am concerned that StartLSO val...
Discussions are sourced from public third-party communities. Their content, opinions and availability are controlled by the respective platforms and users. Flipnzee does not endorse every opinion or product mentioned. Please follow each community’s rules when participating.
