Hacked By Not Matter who am i ~ i am white Hat Hacker please update your wordpress
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
This post discusses ways of fixing broken GTID replication.
This blog series is all about the daily stories we have in Managed Services, dealing with customers’ environments (mostly when we need to quickly restore a service level within the SLA time).
One of the issues we encounter daily is replication using the GTID protocol. While there are a lot of blogs written about this subject, I would like to just highlight GTID replication operations, and the way you can deal with broken replication.
Most of the time we face way more complex scenarios then the one I’m about to present as an example, but the main goal of this blog is to quickly highlight the tools that can be used to fix issues to resume replication.
After reading this blog, you might ask yourself “Now, we …
[Read more]In this blog post, we will discuss how we can verify if an application transaction executed on the master has been applied to the slaves.
In summary, is a good practice to alleviate the load on the master by doing reads on slaves. It is acceptable in most of the cases to just connect on slaves and issue selects. But there are some cases we need to ensure that the data we just applied on our master has been applied on the slaves before we query it.
One way to do this is using a built-in function called MASTER_POS_WAIT. This function receives a binary log name and position. It will block the query until the slave applies transactions up to that point, or timeout. Here is one example of how to use it:
-- insert our data on master
master [localhost] {msandbox} (test) > INSERT INTO test VALUES …[Read more]
I have been following Facebook's MyRocks project (and Mark Callaghan's
blog) for a long time. The idea of an LSM based engine for
MySQL is actually a great idea.
We all know that InnoDB sucks at INSERTs. BTree in general
sucks when it's about insertion speed, and the more rows you
insert, the more it sucks at it. There are many blog posts on the
web that shows the insert speed degradation in InnoDB when the
amount of rows in the table grows. Things get much worse faster
if your primary key is a random key, for example an UUID.
We hit this problem with our caching servers (yes, we do caching
with MySQL!), and in order to be able to scale these servers up
we moved since a couple years to the TokuDB engine with great
success. TokuDB is based on fractal tree technology, and
guarantees the same insert speed, no matter the number of rows
you have in the table; furthermore, it …
In this blog post, we’ll look at how replication triggers a Performance Schema issue on Percona XtraDB Cluster.
During an upgrade to Percona XtraDB Cluster 5.6, I faced an issue that I wanted to share. In this environment, we set up three Percona XtraDB Cluster nodes (mostly configured as default), copied from a production server. We configured one of the members of the cluster as the slave of the production server.
During the testing process, we found that a full table scan query was taking four times less in the nodes where replication was not configured. After reviewing mostly everything related to the query, we decided to use perf.
We executed:
perf record -a -g -F99 -p $(pidof mysqld) -- sleep 60
And the query in another terminal a couple of times. …
[Read more]We are very excited about the next release of MySQL Group Replication 0.9.0 in MySQL 5.7.15 and the great work that has been done to improve its stability. Release after release, MySQL Group Replication becomes more stable and more user-friendly and has reached a maturity level that made us declare 0.9.0 a release candidate.…
I have a new blog post on blog.booking.com describing MariaDB 10.1 Optimistic Parallel Replication (with benchmark results):
Evaluating MySQL Parallel Replication Part 4: More Benchmarks in Productionhttp://blog.booking.com/evaluating_mysql_parallel_replication_4-more_benchmarks_in_production.html
If you want to know more about MySQL/MariaDB Parallel Replication and if you are attending
With Oracle Open World behind us, we are now getting ready for the next big event, i.e. the European edition of PerconaLive. I am going to be a presenter three times:
-
MySQL operations in Docker is a three-hour tutorial, and it will be an expansion of the talk by the same title presented at OOW. Attendees who want to play along can do it, by coming prepared with Docker 1.11 or later and the following images already pulled (images with [+] are mandatory, while [-] are optional):
- …
MySQL is a growing presence at Oracle Open World. While most of the headlines belong to the main products, where Oracle services are aiming at world domination, MySQL shared the spotlight, as it was announced to be part of Oracle database cloud. It seems a logical move for Oracle: after all the effort to make MySQL 5.7 the biggest release ever, it stands to reason that it is offered as a competitive feature in its own database as a service.
With this offer, Oracle is applying enterprise pricing and methodologies to a target of emerging companies. MySQL in the Oracle cloud differs from the competition by a few key points:
- It's only MySQL 5.7. While this is the most advanced MySQL server …
Another day at the office...
"Whoa, the write workload on our statistical cluster has
suddendly increased by 20% and the filesystem that holds
the binary logs is no longer large enough".
Of course, I had warned the boss about this possibility when I
received those servers with that tiny 250G filesystem for
binlogs, but my red flag was just ignored as usual.
So here we are, presto I get this new shiny 600G LUN, but we need
to stop the damn MySQL server in order to repoint the log_bin
variable to the new storage area.
Dunno about you, but the idea of waking up at 2am to just perform
a variable change is not something that makes me particularly
happy. Not to mention the maintenance period that is needed
around it....
So, I decided to investigate a bit about the possibilities to do
such change without stopping the service.
As we all know, the log_bin …