oli's blog

Search with special characters

Taxonomy upgrade extras: 

How can I search the following string in a text field: ‘%newline,tabluator,b)%’?

Could not increase number of max_open_files

Hello all, on some Linux systems I get the following warning during my MySQL database start-up:

Warning user entry ignored in MySQL error log

Taxonomy upgrade extras: 

Hello all,

I am getting some MySQL warnings in the error log during the start-up:

innodb_checkpoint_age in plain MySQL?

Taxonomy upgrade extras: 

In Percona Server we have a STATUS variable indicating roughly possible recovery time:

Enterprise Support for MariaDB and MySQL

Table of Contents

Lifetime Support Matrix for MariaDB Releases

Major versionGA dateLTSSupport end
MariaDB Database 5.1February 2010xFebruary 2015
MariaDB Database 5.2November 2010xNovember 2015
MariaDB Database 5.3February 2012xMarch 2017
MariaDB Database 5.5April 2012xMarch 2020
MariaDB Database 10.0March 2014xMarch 2019
MariaDB Database 10.1October 2015xOctober 2020
MariaDB Database 10.2May 2017xMay 2022
MariaDB Database 10.3May 2018xMay 2023
MariaDB Database 10.4June 2019xJune 2024
MariaDB Database 10.5June 2020xJune 2025
MariaDB Database 10.6July 2021xJuly 2026
MariaDB Database 10.7 1February 2022February 2023
MariaDB Database 10.8May 2022May 2023
MariaDB Database 10.9August 2022August 2023
MariaDB Database 10.10November 2022November 2023
MariaDB Database 10.11 2February 2023xFebruary 2028
MariaDB Database 11.0 4June 2023June 2024
MariaDB Database 11.1August 2023August 2024
MariaDB Database 11.2November 2023November 2024
MariaDB Database 11.3 5February 2024RR
MariaDB Database 11.4May 2024xMay 2029
MariaDB Database 11.5August 2024RR
MariaDB Database 11.6November 2024RR
MariaDB Database 11.7February 2025RR
MariaDB Database 11.8June 2025xJune 2030
MariaDB Database 12.0June 2025RR
MariaDB Database 12.1August 2025RR
MariaDB Database 12.2November 2025RR
MariaDB Database 12.3expected Q1 2026xQ1 2031

1 MariaDB Announces New Innovation Release Model

FromDual repositories

Overview

FromDual provides software repositories for their MariaDB/MySQL related software:

Test

Taxonomy upgrade extras: 

A test page in English…

socat dependency is also missing

Taxonomy upgrade extras: 
dpkg --force-all -i socat_1.7.2.3-1_amd64.deb

Ugly way to install MySQL Galera Cluster 5.6 on Ubuntu 14.04

Taxonomy upgrade extras: 

I wanted to install MySQL Galera Cluster 5.6 on the new Ubuntu 14.04 with provided packages. It was a bit tricky to make it work.

Query Cache and table names with special characters

Taxonomy upgrade extras: 

We found that there were similar problems with table names with a dash/minus in the name (e.g. `table-name`).
This seems to be fixed in MySQL 5.6.9 and 5.7.0. See bugs #55556, #62237 and #64821.

Comparing MySQL, MariaDB and Percona Server

Taxonomy upgrade extras: 
MySQLPerconaMariaDB
CompanyOracle Corp.
(former MySQL AB)
Percona LLCMariaDB Corp.
(former SkySQL)
FromDual supportOk-icon.pngOk-icon.pngOk-icon.png
GA versions5.5, 5.65.5, 5.65.5, 10.0
Galera Clustersupportedsupportedsupported
LicenseGPL, commercial (OEM!)GPLGPL, LGPL, BSD
AncestryMother of allBranch of actual releaseFork of MySQL 5.5
Storage EnginesArchive, Blackhole, CSV, Federated (disabled), InnoDB (default), Memory, MyISAMArchive, Blackhole, CSV, Federated (disabled), InnoDB (default), Memory, MyISAM, TokuDBArchive, Aria (crash-safe MyISAM), Blackhole, Cassandra, CSV, FederatedX, InnoDB (default), Memory, MyISAM, OQGraph (Graph-SE), TokuDB
Storage Engine enforcementyes
Fulltext searchMyISAM: yes
InnoDB: yes
MyISAM: yes
InnoDB: yes
MyISAM: yes
Aria: yes
InnoDB: yes, Sphinx-SE
Partitionsavailableavailableavailable
PluginsAuth, Auth Socket, MemcacheD, SemiSync ReplAuth PAM, Auth Socket, Handlersocket, MemcacheD, SemiSync ReplAuth PAM, Auch Socket, Connect SE, Handlersocket, Sequence, Sphinx, Spider, QueryCache Info, SemiSync Repl
MemcacheDavailable
virtual ColumnsSince 5.7.6since 5.2
Performance
GeneralAll 3 branches/forks have roughly the same performance. They mostly distinguish in features not in performance.
PERFORMANCE_SCHEMAenabled (5.6)enabled (5.6), userstatsenabled (10.0)
Thread Pool5.5, commercial plugin5.5 and 5.65.1 - 5.3 (old), 5.5 (new)
DML EXPLAIN5.65.6?
JSON EXPLAIN5.65.6?
Optimizer Trace5.65.6?
Table eliminationavailable
Security
Rolessince 10.0.5
Password expirationsince 5.6since 5.6since 10.0?
Password validationPlugin since 5.6.6Plugin since 5.6Worklog, comes in 10.1/10.2
Password complexitycommercial?
PAM AuthenticationMySQL 5.5, commercial pluginsince 5.5since 5.2
Backupmysqldump, mysqlbackupmysqldump, XtraBackupmysqldump, XtraBackup
Audit Plugin5.5 a, b
MyAfee Audit Plugin
5.5 and 5.6
MyAfee Audit Plugin
5.5
MyAfee Audit Plugin
Slow Query Logavailableavailable, improvedavailable
Replication
Master/SlaveOk-icon.pngOk-icon.pngOk-icon.png
multi-Source ReplicationMySQL 5.7-labsunknownMariaDB 10.0
parallel ReplicationMySQL 5.6 (per Schema)Percona 5.6 (per Schema)MariaDB 10.0 (per Instance!)
GTIDMySQL styleMySQL styleMariaDB style (incompatibility!)
MySQLPerconaMariaDB

gethostbyname

Taxonomy upgrade extras: 

Hello poorx7,

I see, that you are using an old version of mpm: 0.9.2 the current version is 0.9.3 which you can download from here.

wrong number of rows

Taxonomy upgrade extras: 

Can you repeat this at the command line? This is such a basic problem that I expect that it has nothing to do with MySQL but with your environment/application/set-up or testing method…

Check interval

Taxonomy upgrade extras: 

An mpm agent run should not be started before the previous has ended. To make this sure we have some internal checks (and a kill). So the interval should be bigger than the duration of a (the longest) run. Typically we run mpm every 10 seconds and that is fine in most of the cases. But our biggest DB is around 250 Gbyte. So I am wondering why your runs take much longer. Should be visible by the timestamps of the log (debug) file where most of the time is spent.

TERM signal

Taxonomy upgrade extras: 

As mentioned earlier (now with a nicer error message) somebody or something is killing the actual mpm agent job. This is typically a next mpm agent job who has to wait too long for the actual one. The question is more: Why is the first one lasting for so long…

MySQL Performance Monitor v0.9.3 release

Taxonomy upgrade extras: 

It is done: v0.9.3.

bug in master module found and fixed

Taxonomy upgrade extras: 

The following fixes in the file lib/FromDualMySQLmaster.pm should do the job:

binlog_ignore_filter in master module broken

Taxonomy upgrade extras: 

Thanks, got it:

hostnameX FromDual.MySQL.master.Binlog_ignore_filter 1400661892

Cache file broken

Taxonomy upgrade extras: 

I think I see what went wrong. Can you please send me the first 10 lines of the file /tmp/FromDualAgentCache.hostnameX.cache:

exit with rc=1

Taxonomy upgrade extras: 

I see… The only part in the code where exit code 1 can be reached is the signal TERM trap. Either somebody killed the process or mpm killed a long running former mpm process automatically. How do you start mpm agent?

Pages

Subscribe to RSS - oli's blog