News
what exactly to be monitored ?
Hi Srihari,
What exactly you want to monitor in MySQL ?
Taxonomy upgrade extras:
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 Plugin: https://launchpad.net/galera/3.x/25.3.1
- The MySQL: https://launchpad.net/codership-mysql/5.6/5.6.14-25.1
Or directly on our download page.
Careful: Online-Upgrade from 5.5 to 5.6 will not work yet. We have to find a work-around…
Taxonomy upgrade extras:
Xtrabackup in a nutshell
Table of Contents
Taxonomy upgrade extras: Gtid Xtrabackup Backup
MySQL Environment MyEnv 1.0.1 has been released
FromDual has the pleasure to announce the release of the new version 1.0.1 of its popular multi-instance MySQL Environment MyEnv.
You can download MyEnv from here.
In the inconceivable case that you find a bug in MyEnv please report it to our Bugtracker.
Any feedback, statements and testimonials are welcome as well! Please send them to feedback@fromdual.com.
If you have questions about MyEnv we will answer them in the MyEnv forum.
Upgrade from 1.0 or 1.0.x to 1.0.y
# cd /home/mysql/product
# tar xf …Taxonomy upgrade extras: Myenv Operation Mysql Operations Multi Instance Consolidation Release
No such way available
I don’t think that there’s such way in MySQL like MSSQL to track users modifications, but you can check the general log file (if it’s enabled) and search for all DCL statements related to the user in question. In the general log file, MySQL records all commands received by the client along with the issuance timestamp. I hope that helps..
Taxonomy upgrade extras:
Querying the GLB, draining, removing and adding nodes in CentOS
Thanks Oli for the very helpful post, it really helped me to understand how to use and operate GLB, but I'd like to mention here that the option "-q" works only in Ubuntu, but in CentOS, it should be replaced by "-s" to be used as follows:
- To query the GLB on CentOS, the following command should be used instead:echo getinfo | nc -s 1 127.0.0.1 4444
- To drain a node from the GLB, the following command should be used:
echo 192.168.56.101:3306:0 | nc -s 1 127.0.0.1 4444
- To add or remove a node …
Taxonomy upgrade extras:
Upgrade from Galera Cluster 2.x to 3.0
Table of Contents
- Introduction
- Prerequisites
- Upgrade the first node
- Rolling upgrade the other nodes
- Get rid of old release option
Introduction
Codership announced from weeks ago introducing the Galera Cluster new release 3.0 having many bug fixes, performance enhancements plus the main purpose which is working with MySQL 5.6. In this …
Taxonomy upgrade extras: Upgrade Galera
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 of the background of this case: The customer wanted to do a rolling-restart of the Galera Cluster under load because of an Operating System upgrade which requires a reboot of the system.
Lets have a look at the MySQL error log to see what was going on. Customer restarted server with NodeC:
12:20:42 NodeC: …Taxonomy upgrade extras:
MySQL Environment MyEnv 1.0 has been released
FromDual has the pleasure to announce the release of the new version 1.0 of its popular multi-instance MySQL Environment MyEnv.
Thanks to the countless feedback of many big customers and the community we finally feel ready to publish version 1.0. A major step forward from the last version 0.4 (dated March 2011) and not published version 0.5 (dated August 2013).
What is MyEnv?
MyEnv is a CLI environment for operating multiple MySQL instances on the same server. If you are using mysqld_multi or/and if you …
Taxonomy upgrade extras: Myenv Release
MySQL community is invited to join FromDuals company meeting
FromDual holds its annual company meeting this year in Leoforos Vravronos near Athens (20 km outside) in Greece.
We are happy to invite everybody interested in MySQL technologies (MySQL, Percona Cluster, MariaDB, Galera Cluster, etc.) to participate Wednesday evening October 9th at the Mare Nostrum Hotel in Leoforos Vravronos for exchanging ideas about MySQL.
Meeting at 17:00 in the hotel lobby.
- Presentation about Xtrabackup (25’) and 5’ Questions and Answers (Abdel-Mawla Gharieb, Support …
Taxonomy upgrade extras:
#ports and FIN_TIMEOUT
Hello thatsafunnynamecomment,
Thanks for reading and correcting my findings! You are absolutely right. I did a bit short-cut too much in maths!
For your comment #2 it looks like I did not investigate carefully enough. Thanks for correcting me. I found several sources pointing to tcp_fin_timeout and mentioned TIME_WAIT is affected. So I should just be more careful next time. Especially in a domain I am an absolute noob.
Shinguz
Taxonomy upgrade extras:
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 that the maximum number of TCP ports are exhausted.
The maximum number of TCP ports we can find with:
# cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
In this example we can have in maximum (61000 - 32768 = 28232) connections concurrently open.
When a TCP connections closes the port cannot be …
Taxonomy upgrade extras:
Galera Arbitrator (garbd)
It 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 Arbitrator (garbd)
shell> ./garbd --address gcomm://192.168.13.1,192.168.13.2 --group "Our Galera Cluster" --log /tmp/garbd.log --daemon
How to stop Galera Arbitrator (gardb)
shell> killall garbd
How to start Galera Arbitrator (garbd) with a configuration file
shell>./garbd --cfg /tmp/garb.cnf --daemon
The configuration file looks as follows:
# …Taxonomy upgrade extras: Galera Start Stop
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 load balancer it is not possible to see if a Galera node is available or not because the MySQL daemon is still running and responding on port 3306 but the service is not available nonetheless.
So the load balancer still serves the Galera node while he feeds for example a joiner node with a SST. This would lead …
Taxonomy upgrade extras:
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 union in query.*
The question itself was not too interesting because the answer is easy: It depends. But I wanted to see if there was an improvement in this common problem over time in MySQL.
Test set-up
So I prepared a little test to simulate some of the possible scenarios:
CREATE TABLE `u` (
`id` int(10) …Taxonomy upgrade extras:
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
service mysqld restartbut MySQL does not start when a server is rebooted. - Or after upgrading MySQL binaries
mysqldwill not start at all any more. - Or after relocating MySQL
datadiror changing default port MySQL does not start any more.
shell> service mysqld start
MySQL Daemon failed to start.
Starting …Taxonomy upgrade extras: Selinux
Unbreakable MySQL Cluster with Galera and Linux Virtual Server (LVS)
Recently we had to set-up a 3-node Galera Cluster with a Load Balancer in front of it. Because Galera Cluster nodes (mysqld) still reply to TCP requests on port 3306 when they are expelled from the Cluster it is not sufficient to just leave it to the Load Balancer to check the port if a Galera node is properly running or not.
We used the wsrep_notify_cmd variable to hook our own script into the Galera Cluster which disables each Node on the Load Balancer when its state changed.
# my.cnf
#
[mysqld] …Taxonomy upgrade extras: Galera Cluster Mysql Cluster High Availability Load Balancer Keepalived Lvs Vip
MySQL Performance Monitor New Release 0.9.1
The new release of the MySQL Performance Monitor (mpm) is out!
New additions and improvements
- Easy to use templates
- Improved Security
- New Trigger Checks
- New Warnings Enabled
- Time Zone Shift Added
- New screens added
- Data transfer enabled
and much more (see below).
The MySQL Performance Monitor (mpm) for MySQL, Galera Cluster, Percona Server and MariaDB is a Monitoring Solution based on the Enterprise open source Monitor Zabbix.
It provides all the necessary modules to monitor MySQL performance metrics in …
Taxonomy upgrade extras: Fpmmm Release
Galera Cluster for MariaDB training
You are running already MariaDB or MySQL databases in production but you have higher requirements in database availability? If you want to solve these High Availability requirements with Galera Cluster this training is the right one for you.
Requirements
You are used in operating demanding MariaDB/MySQL databases. Further you are familiar with the Linux console and rule the most important UNIX commands.
Audience
- MariaDB/MySQL application developer
- MariaDB and MySQL database administrators
- System …
Taxonomy upgrade extras:
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 extensively
- Are Familiar with the open source eco-system
- Know how to operate database systems, as a DBA or a DevOps
- Understand what can go wrong in operating a database
- Are happy to work autonomously, remotely and to communicate with IRC, Skype, Mail and Phone
- Are comfortable on Linux systems
- Are team players, keen to contribute to the growth of the company
- Are Comfortable dealing direct …
Taxonomy upgrade extras:

