EmergencyEMERGENCY? Get 24/7 Help Now!

On TokuMX (and MongoDB) Replication and Transactions

 | March 28, 2014 |  Posted In: Tokutek, TokuView

In my last post, I describe the differences between a TokuMX oplog entry and a MongoDB oplog entry. One reason why the entries are so different is that TokuMX supports multi-statement and multi-document transactions. In this post, I want to elaborate on why multi-statement transactions cause changes to the oplog, and explain how we changed […]

Read More

Comparing a TokuMX and MongoDB Oplog Entry

 | March 26, 2014 |  Posted In: Tokutek, TokuView

As I mentioned in my last post, TokuMX replication is completely incompatible with MongoDB replication. Replica sets (and sharded clusters, but that is for another blog) must be either entirely TokuMX or entirely MongoDB. This is by design. While elections and failover are basically the same, we have completely changed the oplog protocol. In the […]

Read More

Why TokuMX Replication Differs from MongoDB Replication

 | March 24, 2014 |  Posted In: Tokutek, TokuView

MongoDB replication has some great features. As I discussed in my last post, MongoDB’s crash safety design is very elegant. In addition to that, MongoDB has automatic failover, parallel slave replication, and prefetch threads on secondaries. The latter, as Mark Callaghan points out, is similar to “InnoDB fake changes”, a feature that has helped Facebook […]

Read More

My Favorite MongoDB Replication Feature: Crash Safety

 | March 18, 2014 |  Posted In: Tokutek, TokuView

At an extremely high level, replication in MongoDB and MySQL are similar. Both databases have exactly one machine, the primary (or master), that accepts writes from clients. With a single transaction (or atomic operation, in MongoDB’s case), the tables and oplog (or binary log in MySQL) are modified to reflect the change. The log captures […]

Read More

What’s new in TokuMX 1.4, Part 3: Optimized updates

 | February 19, 2014 |  Posted In: Tokutek, TokuView

We just released version 1.4.0 of TokuMX, our high-performance distribution of MongoDB. There are a lot of improvements in this version (release notes), the most of any release yet. In this series of blog posts, we describe the most interesting changes and how they’ll affect users. In TokuMX 1.4.0, we improved performance by making two […]

Read More

What’s new in TokuMX 1.4, Part 2: Partitioned oplog

 | February 18, 2014 |  Posted In: Tokutek, TokuView

We just released version 1.4.0 of TokuMX, our high-performance distribution of MongoDB. There are a lot of improvements in this version (release notes), the most of any release yet. In this series of blog posts, we describe the most interesting changes and how they’ll affect users. In MongoDB, the replication oplog is a capped collection, […]

Read More

Introducing TokuMX 1.4: Major improvements to MongoDB sharding and replication

 | February 13, 2014 |  Posted In: Tokutek, TokuView

Today we are thrilled to announce the availability of the latest release (1.4.0) of TokuMX, our high-performance distribution of MongoDB. For those of you just joining us, TokuMX is an open-source distribution of MongoDB that shares much of the code, and all of the driver protocols, data model, and programming interface with MongoDB, but which […]

Read More

Percona Replication Manager (PRM) now supporting 5.6 GTID

 | January 20, 2014 |  Posted In: High-availability, MySQL, Percona replication manager

Over the last few days, I integrated the MySQL 5.6 GTID version of the Percona Replication Manager (PRM) work of Frédéric Descamps, a colleague at Percona. The agent supports the GTID replication mode of MySQL 5.6 and if the master suffers a hard crash, it picks the slave having applied the highest transaction ID from […]

Read More

Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.

Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.

No, thank you. Please do not ask me again.