performance_schema.setup_actors is a table in MySQL Performance
schema which could be used to specify what users/hosts one wants
to have instrumentation on for. By default connection from all
users and hosts are enabled to be instrumented for. Here is the
default configuration :
mysql> select * from performance_schema.setup_actors;
+------+------+------+
| HOST | USER | ROLE |
+------+------+------+
| % | % | %
|
+------+------+------+
1 row in set (0.00 sec)
It is easy to see that one can set for what user/host he/she
wants to have instrumentation ON.
BUT, how about if one wants to say except. i.e. how about if one
wants to say except 'mayank' turn ON instrumentation for every
other user. Thats what is implemented in 5.7.6 DMR.
In latest MySQL-5.7.6 DMR, a new column added to …
Today Oracle released MySQL 5.7.6 milestone 16. With this, MySQL 5.7
has been in development for over 2 years.
Compared to MySQL 5.6, the changes are quite extensive. The main
effort of the team has been focused on speed, with performance
reportedly improved from 2 to 3 times compared to previous
releases.
A full list of what is new would take too much
space here, but I would like to mention some key points:
- Oracle has spent a considerable amount of energy in the improvement of MySQL security and safety. You will see many new features, but even more old features that were deprecated and more that were removed after deprecation in 5.6.
- The installation process has been changing in every …
The MySQL Development team is happy to announce our 5.7.6 development milestone release (DMR), now available for download at dev.mysql.com! The source code is available at GitHub. You can find the full list of changes and bug fixes in the 5.7.6 release notes. Here are the highlights. Enjoy!
InnoDB
Refactoring needed for general tablespace (CREATE
TABLESPACE
) support (WL#8109) : This work by Kevin Lewis refactors and
cleans up InnoDB code in preparation for supporting general
tablespaces in WL#6205.
…
[Read more]This Log Buffer Editions scours the Internet and brings some of the fresh blog posts from Oracle, SQL Server and MySQL.
Oracle:
Most of Kyles’ servers tend to be Linux VMs on VMware ESX without any graphics desktops setup, so it can be disconcerting trying to install Oralce with it’s graphical “runInstaller” being the gate way we have to cross to achieve installation.
Working around heatbeat issues caused by tracing or by regexp
APEX 5 EA Impressions: Custom jQuery / jQuery UI implementations
Introduction to the …
[Read more]As your needs change, and you start managing more database instances or larger centralized backups with ClusterControl, you might find that your controller host is over-utilized. Or you might need to migrate your infrastructure to the cloud. If this is the case, you can migrate to another instance.
In this blog post, we’ll show you how to migrate ClusterControl to another server. Here is our architecture diagram:
We would like to migrate an existing ClusterControl instance to another server with bigger disk space and RAM. The ClusterControl node currently monitors a two-node Galera cluster, stores centralized database backups under /root/backups directory, runs garbd (Galera arbitrator daemon) as well as an HAProxy instance to load balance connections to the Galera nodes.
ClusterControl Migration
…[Read more]Spring is approaching, and with it, the season of sponsorships. For vendors, trade shows offer a unique opportunity to gain valuable insight regarding market needs, engage potential customers, and show off their product to hundreds. In order to maximize this opportunity, your team needs to enter with a plan. Here are five tips we keep front of mind to put our best foot forward when demoing VividCortex at trade shows.
-
Keep The Focus On The Prospect. Your trade-show demo isn’t about you; it’s about the prospect. Talk as little as possible, ask questions, listen a lot, demo only what’s relevant, and get lead information for later followup. Resist the temptation to demo the entire product. You both have a lot of people to talk to and limited time, so set the hook but do not try to close the deal at the booth.
-
Develop A Default …
The MySQL Windows Experience Team is proud to announce the release of MySQL for Excel version 1.3.4. This is a maintenance release for 1.3.x. It can be used for production environments.
MySQL for Excel is installed using the MySQL Installer for Windows which comes in 2 versions:
- Full (150 MB) which includes a complete set of MySQL products with their binaries included in the download
- Web (1.5 MB - a network install) which will just pull MySQL for Excel over the web and install it when run.
You can download MySQL Installer from our official Downloads page at http://dev.mysql.com/downloads/installer/. The MySQL for Excel product can also be downloaded by using the product standalone installer found at this link …
[Read more]Introduction
Nowadays most companies use geographic distributed platforms to better serve their customers. It is quite common to see companies with datacenters in North America, Europe and Asia; each site hosting databases and shared data. In some cases the data is simply spread around for better accessibility; in other cases it is localized and different on each geographic location; in most cases a mix of the two.
Useless to say that most of the solutions were implemented using MySQL, and asynchronous replication. MySQL Asynchronous replication had being the most flexible solution, but at the same time also the most unreliable given the poor performance, lack of certification and possible data drift.
In this scenario the use of alternative solutions, like MySQL Synchronous (galera) replication had being a serious challenge. This because the nodes interactions was so intense and dense, that poor network performance …
[Read more]MySQL Replication is very simple to set up. In this post I’ll discuss its importance and five handy tools for monitoring and managing MySQL replication.
What is MySQL Replication? It’s the process of copying the (real-time events) data from one master instance to another slave instance and maintaining the redundant consistent data in a different machine. This enables a distributed database system that shares the same level of information.
In MySQL the replication works based on the three threads as shown below.
1) I/O thread on the slave server: To start on receiving replication events, an I/O thread starts on the slave server and connects to the master server.
2) Master connection handler thread: As a connection handier, master starts a thread whenever a replication slave connects to a master. The master server sends the events from its binary log file to the slave I/O thread, notifying slave …
[Read more]As discussed in my presentation to NYLUG, I wanted to provide system administrations with some really quick analysis and performance fixes if you had limited knowledge of MySQL.
One of the most important things with MySQL is to tune memory properly. This can be complex as there are global buffers, and per session buffers, memory tables, and differences between storage engines. Even this first tip has conditions.
Configuration of MySQL can be found in the my.cnf file (How can I find that). Some variables are dynamic and some are not, and these can change between versions. Check out The most important MySQL Reference Manual page that everybody should bookmark …
[Read more]