FromDual TechFeed (en)
Special MySQL and MariaDB trainings 2018 in English
Due to a strong customer demand FromDual offers 2018 two extra MySQL/MariaDB trainings with its Training partner The Linuxhotel in Essen (Germany). Those trainings are in English.
- MariaDB Performance Tuning on 5 and 6 September 2018 (2 days).
- Advanced MySQL/MariaDB training on 26 to 30 November 2018 (5 days).
More information about the contents of the trainings can be found at
Advanced MySQL and MariaDB training.
For conditions and booking: MariaDB Performance Tuning and Advanced MySQL Training.
For …
Taxonomy upgrade extras: Training Mariadb Training Performance Tuning
Privacy policy of FromDual LLC
Coming soon…
Taxonomy upgrade extras:
MariaDB at FromDual
FromDual as a neutral and vendor independent database service company also provides various services for the MariaDB database.
With our training partners in Germany and Switzerland we provide regular trainings for MariaDB beginners, experienced MariaDB DBAs and MariaDB Galera Cluster administrators.
For MariaDB users without their own DBA FromDual provides remote-DBA services for MariaDB. We become your MariaDB DBAs!
If you prefer to see one of our consultants on-site FromDual visit and help you solving …
Taxonomy upgrade extras: Mariadb Services
MySQL sys Schema in MariaDB 10.2
MySQL has introduced the PERFORMANCE_SCHEMA (P_S) in MySQL 5.5 and made it really usable in MySQL 5.6 and added some enhancements in MySQL 5.7 and 8.0.
Unfortunately the PERFORMANCE_SCHEMA was not really intuitive for the broader audience. Thus Mark Leith created the sys Schema for an easier access for the normal DBA and DevOps and Daniel Fischer has enhanced it further. Fortunately the sys Schema up to version 1.5.1 is available on GitHub. So we can adapt and use it for MariaDB as well. The version of the …
Taxonomy upgrade extras: Mariadb Sys Performance_schema
MariaDB 10.2 New Features - Slides available
The Chemnitz Linux Days 2018 in Chemnitz (Germany) 10/11 March 2018 are over for more than a week now and IMHO it was a huge success.
I was following many very interesting talks, met a lot of interesting people and learned a lot!
For all those who could not follow our presentation about New Features in MariaDB 10.2 (PDF, 683 kib) the presentation slides are on-line available.
If you want to hear the presentation live you can join us at the SLAC 2018 in Berlin.
Taxonomy upgrade extras: Folien Slides Vortrag Presentation Mariadb
MySQL Environment MyEnv 2.0.0 has been released
FromDual has the pleasure to announce the release of the new version 2.0.0 of its popular MySQL, Galera Cluster and MariaDB multi-instance environment MyEnv.
The new MyEnv can be downloaded here. How to install MyEnv is described in the MyEnv Installation Guide.
In the inconceivable case that you find a bug in the MyEnv please report it to the FromDual bug tracker.
Any feedback, statements and testimonials are welcome as well! Please send them to …
Taxonomy upgrade extras: Myenv Multi Instance Virtualization Consolidation Saas Operations Release Mysqld_multi
Advanced MySQL Enterprise Training by FromDual
Due to the increasing demand FromDual has developed an Advanced MySQL Enterprise Training for DBAs and DevOps. After testing this training extensively with some selected customers last year we offer this MySQL Enterprise Training in 2018 for a broader audience.
The MySQL Enterprise Training addresses MySQL DBAs and DevOps which are already familiar with MySQL and approach now the challenge to operate a serious MySQL Enterprise infrastructure.
The topics of the 3 days MySQL Enterprise training you can find …
Taxonomy upgrade extras: Training Enterprise Mysql Advanced
MySQL 8.0.4-rc is out
Yesterday MySQL 8.0.4-rc came out. The Release Notes are quite long.
But caution: Do a BACKUP before upgrading…
I experienced some nice surprises. First I have to admit that I did not read the Release Notes or anything else. Reading manuals is for Girlies! Possibly something is written in there which is of importance. But I expect that it just works as usual…
I downloaded MySQL 8.0.4-rc and just want to upgrade my MySQL 8.0.3-rc testing system, where we did the 1M tables test.
First I got: …
Taxonomy upgrade extras:
Short term notice: Percona XtraDB Cluster training in English 7/8 February 2018 in Germany
FromDual offers short term a Percona XtraDB Cluster and MySQL Galera Cluster training (2 days) in English.
The training will take place in the Linuxhotel in Essen/Germany on February 7/8 2018.
There are already enough registrations so it is certain the training will take place. But there are still free places for some additional participants.
You can book online at the Linuxhotel.
Important: The Linuxhotel is nearly fully booked out. So accommodation is in nearby locations. The Linuxhotel will recommend you …
Taxonomy upgrade extras: Galera Percona Xtradb Cluster Training Linuxhotel
Advanced MySQL and MariaDB training in Cologne 2018
End of February, from February 26 to March 2 (5 days), FromDual offers an additional training for DBAs and DevOps: our most visited Advanced MySQL and MariaDB training.
This training is hold in the training facilities of the FromDual training partner GFU Cyrus GmbH in Cologne-Deutz (Germany).
There are already enough registrations so it is certain the training will take place. But there are still free places for at least 3 additional participants.
The training is in German.
You can find the training of this …
Taxonomy upgrade extras: Training Advanced
Oracle releases MySQL security vulnerability fixes 2018-01
As in every quarter of the year Oracle has released yesterday its recommendation for the MySQL security updates. This is called, in Oracle terminology, Critical Patch Update (CPU) Advisory.
This CPU is published for all Oracle products. But FromDual is only interested in MySQL related topics. So let us concentrate on those.
This time 25 fixes with a maximum score of 8.1 (out of 10.0) were published.
Taxonomy upgrade extras: Cpu Security Mysql Upgrade
Advanced MySQL Enterprise Training
If you are already familiar with MySQL and you are challenged to operate a serious MySQL Enterprise infrastructure this training is the right one for you.
Requirements
You are familiar with the MySQL basics and have already some experience with MySQL operations. The SQL language does not look strange to you any more. Further you are familiar with the Linux console and rule the most important UNIX commands.
Audience
- MySQL Enterprise application developer and DevOps
- MySQL and MariaDB database administrators …
Taxonomy upgrade extras: Operations Workshop Training Mysql Training High Availability Mysql Enterprise
Galera Cluster and Antivirus Scanner on Linux
Today we had to investigate in a very strange behaviour of IST and SST on a MariaDB Galera Cluster.
The symptom was, that some Galera Cluster nodes took a very long time to start. Up to 7 minutes. So the customer was concluding that the Galera Cluster node does an SST instead of an IST and was asking why the SST happens.
It have to be mentioned here, that the MariaDB error log is very confusing about whether it is an SST or an IST. So the customer was confused and concluded, that MariaDB Galera Cluster was …
Taxonomy upgrade extras: Galera Cluster Ist Sst Noisy Neighbours
First Docker steps with MySQL and MariaDB
The Docker version of the distributions are often quite old. On Ubuntu 16.04 for example:
shell> docker --version
Docker version 1.13.1, build 092cba3
But the current docker version is 17.09.0-ce (2017-09-26). It seems like they have switched from the old version schema x.y.z to the new year.month.version version schema in February/March 2017.
Install Docker CE Repository
Add the Docker’s official PGP key:
shell> curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK …Taxonomy upgrade extras: Docker Mysql Mariadb Container
MariaDB Master/Master GTID based Replication with keepalived VIP
Important: FromDual does NOT recommend to use an automated VIP failover technology as described below for a MariaDB/MySQL Master/Master Replication. In such a topology we recommend a manual VIP failover with prepared scripts!
Some of our customers still want to have old-style MariaDB Master/Master Replication Clusters. Time goes by, new technologies appear but some old stuff still remains.
The main problem in a Master/Master Replication set-up is to make the service highly available for the application …
Taxonomy upgrade extras: Mariadb Master-Master Keepalived Vip Replication Gtid
Galera Load Balancer the underestimated wallflower
There are some pretty sophisticated Load Balancers for Galera Clusters setups out in the market (ProxySQL, MaxScale, HAproxy, …). They have many different exotic features. You can nearly do everything with them. But this comes at the cost of complexity. Non of them is simple any more.
A widely underestimated Load Balancer solution for Galera Cluster setups is the Galera Load Balancer from Codership. It is an simple Load Balancer solution which serves all of our daily needs when it comes to Galera …
Taxonomy upgrade extras: Galera Cluster Glb Load Balancer Operations
Solution: Slow Queries not using Indexes
There are 2 different ways to solve this task.
The first way is by enabling the variable log_queries_not_using_indexes (MariaDB/MySQL). This can be done eigther online:
sql> SHOW GLOBAL VARIABLES LIKE 'log_quer%';
+-------------------------------+-------+
| Variable_name | Value |
+-------------------------------+-------+
| log_queries_not_using_indexes | OFF |
+-------------------------------+-------+
sql> SET GLOBAL log_queries_not_using_indexes = ON;
or offline in the my.cnf …
Taxonomy upgrade extras:
Solution: SELECT Query with LAST_INSERT_ID()
The query is so evil/slow because it does a Full Index Scan (FIS). Other call this operation also a Index Fast Full Scan (IFFS). This is much too much work for the result wanted (the value of the AUTO_INCREMENT column).
This can be shown with the Query Execution Plan you get with the EXPLAIN command:
sql> EXPLAIN SELECT LAST_INSERT_ID() FROM test;
+------+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+
| id | select_type | table | type | possible_keys …Taxonomy upgrade extras:
Find evil developer habits with log_queries_not_using_indexes
Recently I switched on the MariaDB slow query logging flag log_queries_not_using_indexes just for curiosity on one of our customers systems:
mariadb> SHOW GLOBAL VARIABLES LIKE 'log_quer%';
+-------------------------------+-------+
| Variable_name | Value |
+-------------------------------+-------+
| log_queries_not_using_indexes | OFF |
+-------------------------------+-------+
mariadb> SET GLOBAL log_queries_not_using_indexes = ON;
A tail -f on the MariaDB Slow Query Log caused a …
Taxonomy upgrade extras: Query Tuning Optimizer Index Index Scan Last_insert_id Explain Slow Log
Storing BLOBs in the database
We have sometimes discussions with our customers whether to store LOBs (Large Objects) in the database or not. To not rephrase the arguments again and again I have summarized them in the following lines.
The following items are more or less valid for all large data types (BLOB, TEXT and theoretically also for JSON and GIS columns) stored in a MySQL or MariaDB (or any other relational) database.
The idea of a relational table based data-store is to store structured data (numbers, data and short character …
Taxonomy upgrade extras: Blob Lob Design Architecture

