In a few weeks, I’ll be speaking at MySQL Conference & Expo about the new major
feature in MySQL 5.6, Global Transaction ID (GTID). I’ll explain
what is GTID and how to implement a GTID Replication and
troubleshoot most of the common issues that might be faced in
GTID Replication.
Also, I’ll talk in brief about how to perform the migration from
Classic to GTID replication in MySQL 5.6 and the online migration
in MySQL 5.7 as well.
My talk is titled “GTID REPLICATION – IMPLEMENTATION AND
TROUBLESHOOTING“, more information about my talk can be
checked out here.
The conference will be held in …
We are excited to sponsor and exhibit at PGConf US in New York City on March 26 and 27.
The conference is run by the United States PostgreSQL Association and contributes to the awareness and overall growth of the PostgreSQL community.
We are happy to contribute with a database performance solution that provides unprecedented insights into PostgreSQL. Stop by our booth for a free hat and live product demo. We look forward to seeing you next week!
Because interactivity with the trainer (our classes are not dry lectures) and discussions are an important and intrinsic part of our teaching approach, we’ve long tracked development of technologies for online training, but previously were not satisfied.
High costs of various corporate offerings would negatively impact our pricing, given the relatively small scale use and our purposely small classes. The student system requirements would often be problematic – obviously students use different operating systems (Windows, Mac, Linux) and we cannot prescribe that people use a particular OS.
Big Blue Button has long looked like it had the right potential, and it’s now developed to a point where were happy with it. For more tech and practical details, see our Interactive Online Training page.
After our successful trial runs, we have the following …
[Read more]#DBHangOps 03/19/15 -- Failing over in the moment, Old and weird bugs, and more!
Hello everybody!
Join in #DBHangOps this Thursday, March, 19, 2015 at 11:00am pacific (19:00 GMT), to participate in the discussion about:
-
Failing over in the moment
- How do you recognize you need to failover?
- When is it safe to kill -9 the server?
- Other thoughts?
- Old/Weird bugs!
- GTID for operators -- Have you set it up?
You can check out the event page at https://plus.google.com/events/ch7dvhercc2anl9knnvig02hng4 on Thursday to participate.
As always, you can still watch the #DBHangOps twitter …
[Read more]I love finding out new things about MySQL. Last week, I stumbled on a query that had the phrase “SOUNDS LIKE” in it. Sounds made-up, right? Turns out MySQL is using a known “soundex” algorithm common to most databases, and popular in use cases in geneaology.
The basic idea is that words are encoded according to their consonants. Consonants that sound similar (like M and N) are given the same code. Here’s a simple example:
(“soundex” and “sounds like” are different ways of doing the same thing in these queries)
MariaDB> select soundex("boom"); +-----------------+ | soundex("boom") | +-----------------+ | B500 | +-----------------+ MariaDB> select soundex("bam"); +----------------+ | soundex("bam") | +----------------+ | B500 | +----------------+ MariaDB> select soundex("bin"); +----------------+ | soundex("bin") | +----------------+ | B500 | +----------------+
…
[Read more]This Log Buffer Edition picks the sea shells from Blogs across the seas of Oracle, SQL Server and MySQL and arrange them for you in this Edition. Enjoy.
Oracle:
12c Parallel Execution New Features: Concurrent UNION ALL
Visualizing Statspack Performance Data in SQL Developer
Optimizer statistics – Gathering Statistics and Histograms
Big Data Made Actionable with Omar TawaKol at SXSW
Mobile …
[Read more]Mon, 2015-03-16 11:20jean-françoisgagné
Parallel replication is a much-expected feature of MySQL. It’s available in MariaDB 10.0 and in MySQL 5.7. Yet, both lose efficiency when replicating through intermediate masters. In this post, we’ll explain how parallel replication works and why it does not play well with intermediate masters. We’ll also offer a solution (hint: it involves Binlog Servers).
In MySQL 5.5 and MariaDB 5.5, replication is single threaded: on a slave, the previous transaction must complete (commit) before the next transaction can start. This is not the case on a master where many transactions can make progress at the same time. The consequence is that a slave has less transaction processing capabilities than its master (for writes). This means that care must be taken to avoid loading a master with …
[Read more]Over on the codecentric blog I just published a new post on True KVM Live Migration with OpenStack Icehouse and Ceph based VM storage, outlining the process it took me to get this actually working. There were several issues to work around, some of them bugs in OpenStack, some of them home-grown issues.
I provide a few patches to OpenStack classes as well as a description of what is actually going wrong and how to circumvent the problems. So head right over and have fun reading :)
One of our Percona Support customers recently reported that Percona XtraBackup failed with a page corruption error on an InnoDB table. The customer thought it was a problem or bug in the Percona XtraBackup tool. After investigation we found that an InnoDB page was actually corrupted and a Percona XtraBackup tool caught the error as expected and hence the backup job failed.
I thought this would be an interesting topic and worthy of a blog post. In this article I will describe the innochecksum tool, when and how to use it and what are the possible fixes if an InnoDB table suffers from …
[Read more]
PostgreSQL’s approach to automatic numbering is as simple as
Oracle but different than MySQL, and Microsoft SQL Server. For
example, you have a two-step process with Oracle, PostgreSQL,
MySQL, and Microsoft SQL Server. First, you create an Oracle
table with the GENERATED AS IDENTITY
clause, a
PostgreSQL table with the SERIAL
data type, a MySQL
table with the AUTO_INCREMENT
clause, and a
Microsoft SQL Server table with the IDENTITY(1,1)
clause. Then, you need to write an INSERT
statement
for Oracle, MySQL, or Microsoft SQL Server like:
- Oracle’s
INSERT
statement excludes the auto-incrementing column from the list of columns or provides aNULL
value in theVALUES
-list. You can then assign theRETURNING INTO
result from anINSERT
statement to a session-level (bind) variable. - MySQL’s …