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

MySQL backup to file, gzip and load in one step

Taxonomy upgrade extras: BackupcompressWhen a MySQL Slave is set-up with mysqldump you have 2 possibilities:You dump into a file and then load the data into the Slave with the mysql client utility.You...

View Article


Last login of MySQL database users

Taxonomy upgrade extras: userlogin triggerlogon triggerloggingaudithosterhostingMySQL hosting providers can easily loose the overview over their customers and which user or schema is still in use and...

View Article


Shrinking InnoDB system tablespace file ibdata1 PoC

Taxonomy upgrade extras: innodbIn this weeks MySQL workshop we were discussing, beside other things, about the innodb_file_per_table parameter and its advantages of enabling it. In addition there was a...

View Article

Privileges of MySQL backup user for mysqldump

Taxonomy upgrade extras: Backup Restore RecoveryBackupSome MySQL customers do not want to use the root user for mysqldump backups. For this user you have to grant the following minimal MySQL...

View Article

Bootstrapping Galera Cluster the new way

Taxonomy upgrade extras: galeraclusterA while ago it was pretty inconvenient to start a complete Galera Cluster from scratch. Rolling restart an such things are already working well but bootstrapping...

View Article


Block MySQL traffic for maintenance windows

From time to time some maintenance work on the MySQL database has to be done. During the maintenance window we do not want to have application traffic on the database.Sometimes it is hard to shut down...

View Article

Switching from MySQL/MyISAM to Galera Cluster

Taxonomy upgrade extras: galeramyisaminnodbstorage engineSwitching from MySQL/MyISAM to Galera Cluster requires that all tables (except those from the mysql, information_schema and performance_schema)...

View Article

We need you: MySQL DBA for FromDual Support line

FromDual is looking for professional, enthusiastic and experienced people who:Know MySQL, Percona Server or MariaDB extensivelyAre Familiar with the open source eco-systemKnow how to operate database...

View Article


Image may be NSFW.
Clik here to view.

Unbreakable MySQL Cluster with Galera and Linux Virtual Server (LVS)

Taxonomy upgrade extras: galeraclusterMySQL Clusterload balancerlvsipvsHigh AvailabilityRecently we had to set-up a 3-node Galera Cluster with a Load Balancer in front of it. Because Galera Cluster...

View Article


MySQL and Secure Linux (SELinux)

Maybe you experienced some strange behaviour with MySQL: Everything is installed correctly and should work. But it does not.Symptoms we have seen:MySQL starts/stops properly when started/stopped with...

View Article

To UNION or not to UNION...

Recently a forum question [ 1 ] got my attention: Is there any performance issue with Union? I used union all sometime back and it was performance issue just to make an opinion that we should used...

View Article

Galera Cluster for MySQL and hardware load balancer

Our bigger customers where we help to deploy Galera Cluster for MySQL set-ups have some commercial hardware (e.g. F5 or Cisco) for load balancing instead of software load balancers.For those hardware...

View Article

Galera Arbitrator (garbd)

Taxonomy upgrade extras: galeraarbitratorgarbdstartstopIt took me quite a while to find out how the beast Galera Arbitrator (garbd) works. To safe your time here a short summary:How to start Galera...

View Article


Huge amount of TIME_WAIT connections

In MySQL we have the typical behaviour that we open and close connections very often and rapidly. So we have very short-living connections to the server. This can lead in extreme cases to the situation...

View Article

Murphy’s Law is also valid for Galera Cluster for MySQL

We had a Galera Cluster support case recently. The customer was drenched in tears because his Galera Cluster did not work any more and he could not make it work any more.Upsss! What has happened?A bit...

View Article


Galera Cluster 3.1 GA is out!

Great News: Galera Cluster v3.1 GA for MySQL 5.6 was released at Percona Live London (PLUK) 2013. The information is still a bit hidden...You can find it here:The Plug-in:...

View Article

Impact of column types on MySQL JOIN performance

Taxonomy upgrade extras: sqlquerytuningmysqlIn our MySQL trainings and consulting engagements we tell our customers always to use the smallest possible data type to get better query performance....

View Article


Image may be NSFW.
Clik here to view.

MySQL single query performance - the truth!

Taxonomy upgrade extras: mysqlperformancePerformance Tuningqueryquery tuningtuningMySQL single query performance - the truth!As suggested by morgo I did a little test for the same query and the same...

View Article

Backup Manager for MySQL, MariaDB and Percona Server (mysql_bman)

Taxonomy upgrade extras: mysqlBackupRestoreRecoverymysql_bmanpitrAboutThe MySQL Backup Manager (mysql_bman) is a wrapper script for standard MySQL backup tools. The Problem with MySQL backup tools is,...

View Article

Image may be NSFW.
Clik here to view.

Replication channel fail-over with Galera Cluster for MySQL

Taxonomy upgrade extras: channelgaleraclusterfail-overreplicationmasterslaveSometimes it could be desirable to replicate from a Galera Cluster to a single MySQL slave or to an other Galera Cluster....

View Article
Browsing all 318 articles
Browse latest View live


Latest Images