Quantcast
Channel: Shinguz's blog
Browsing all 318 articles
Browse latest View live

Why you should take care of MySQL data types

A customer reported last month that MySQL does a full table scan (FTS) if a query was filtered by a INT value on a VARCHAR column. First I told him that this is not true any more because MySQL has...

View Article


Image may be NSFW.
Clik here to view.

MySQL spatial functionality - points of interest around me

This week I was preparing the exercises for our MySQL/MariaDB for Beginners training. One of the exercises of the training is about MySQL spatial (GIS) features. I always tell customers: "With these...

View Article


Temporary tables and MySQL STATUS information

When analysing MySQL configuration and status information at customers it is always interesting to see how the applications behave. This can partially be seen by the output of the SHOW GLOBAL STATUS...

View Article

MySQL Environment MyEnv 1.3.1 has been released

FromDual has the pleasure to announce the release of the new version 1.3.1 of its popular MySQL, Galera Cluster, MariaDB and Percona Server multi-instance environment MyEnv.The new MyEnv can be...

View Article

FromDual Performance Monitor for MySQL and MariaDB 0.10.6 has been released

FromDual has the pleasure to announce the release of the new version 0.10.6 of its popular Database Performance Monitor for MySQL, MariaDB, Galera Cluster and Percona Server fpmmm.You can download...

View Article


Beware of large MySQL max_sort_length parameter

Today we had a very interesting phenomena at a customer. He complained that MySQL always get some errors of the following type:[ERROR] mysqld: Sort aborted: Error writing file '/tmp/MYGbBrpA' (Errcode:...

View Article

How to Install MySQL Enterprise Server 5.7 on Red Hat Enterprise Linux 7

If you have already Red Hat Enterprise Linux 7 (RHEL 7) or CentOS 7 in use you probably found out, that it is not that easy to install MySQL Enterprise Server because there are already pre-installed...

View Article

How to build your own RPM repository for MySQL Enterprise Server 5.7 on RHEL 7

Prepare the RPM repository serverInstall the software to create a RPM repository server (on an Ubuntu web server):shell> sudo apt-get install createrepoCreate the directory structures and initialize...

View Article


What are the differences between MySQL Community and MySQL Enterprise Server 5.7

The MySQL Server itselfThe differences between the MySQL Community Server and the MySQL Enterprise Server 5.7 are as follows as claimed by Oracle:The license of the MySQL Server itself.Only MySQL...

View Article


Multi-Instance set-up with MySQL Enterprise Server 5.7 on RHEL 7 with SystemD

In our current project the customer wants to install and run multiple MySQL Enterprise Server 5.7 Instances on the same machine (yes, I know about virtualization (we run on kvm), containers, Docker,...

View Article

New Features in MySQL and MariaDB

As you probably know MySQL is an Open Source product licensed under the GPL v2. The GPL grants you the right to not just read and understand the code of the product but also to use, modify AND...

View Article

Image may be NSFW.
Clik here to view.

MySQL and MariaDB variables inflation

MySQL is well known and widely spread because of its philosophy of Keep it Simple (KISS).We recently had the discussion that with newer releases also MySQL and MariaDB relational databases becomes more...

View Article

MySQL replication with filtering is dangerous

From time to time we see in customer engagements that MySQL Master/Slave replication is set-up doing schema or table level replication filtering. This can be done either on Master or on Slave. If...

View Article


Is your MySQL software Cluster ready?

When we do Galera Cluster consulting we always discuss with the customer if his software is Galera Cluster ready. This basically means: Can the software cope with the Galera Cluster specifics?If it is...

View Article

MySQL and MariaDB authentication against pam_unix

The PAM authentication plug-in is an extension included in MySQL Enterprise Edition (since 5.5) and in MariaDB (since 5.2).Pluggable authentication moduleUnderstanding PAMMySQL authentication against...

View Article


Image may be NSFW.
Clik here to view.

MySQL Enterprise Backup Incremental Cumulative and Differential Backup

Preparing the MySQL Enterprise Administrator Training I found that the MySQL Enterprise Backup Incremental Backup is not described very well. Thus I tried it out and wrote down this how-to:Incremental...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


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%';...

View Article

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...

View Article

Image may be NSFW.
Clik here to view.

MariaDB master/master GTID based replication with keepalived VIP

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...

View Article
Browsing all 318 articles
Browse latest View live


Latest Images