Menu
MySQL gets live schema updating with Tokutek engine

MySQL gets live schema updating with Tokutek engine

Tokutek offers an alternative MySQL storage engine for on-the-fly schema changes

Database tools provider Tokutek has updated its MySQL storage engine to support live updating of schemas, the company announced Wednesday.

Taking a database offline to update the schema can be too time-consuming in today's fast-paced environments, said Lawrence Schwartz, Tokutek director of marketing.

For organizations, "information is coming in at extremely high volume. Being able to ingest all that data and analyze it in real time is what we're addressing," Schwartz said.

TokuDB is a storage engine that can replace MySQL's default storage engine, InnoDB. It also works with the MariaDB database.

Version 5.0 of Tokutek's TokuDB storage engine offers two new features that the company claims can speed database performance: hot indexing and hot column addition and deletion.

With hot indexing, the software can index an operational database, allowing organizations to build targeted queries or revise a data model on the fly.

With hot column addition or deletion, database administrators can add columns or remove columns while the database is still running.

In order to execute these actions with an unmodified MySQL, the database must be stopped to apply the changes, then restarted, Schwartz explained.

"With this new version, it is not necessary to schedule downtime or switchover from a primary to a secondary server to add new columns or indexes," said Sheeri Cabral, database operations manager at MySQL hosting service PalominoDB, in a statement. "Business analysts will not have to wait hours or days for a new index to make their queries faster and release engineers will breathe a sigh of relief if a new column needs to be added."

Tokutek markets TokuDB for organizations that need to run queries against high-volume applications, such as financial transactions or logfile analysis.

TokuDB uses fractal tree indexing, a technique optimized for speedy index insertion. Unlike binary tree (b-tree) indexing used by InnoDB and other storage engines, fractal tree indexing bundles the data that needs to be written to the database, reducing the amount of time the disk drive controller may take storing away individual entries around the disk drive. Fractal tree also avoids the fragmentation problems inherent in b-tree indexing, which can slow database performance, Schwartz argued.

This fractal tree approach can speed data insertions by 20 percent or more, the company claims, especially as the data set grows beyond 500 gigabytes. "It allows you to index tons of information in very, very high speeds," Schwartz said.

Using TokuDB requires no changes at the application level, and, like traditional storage engines, maintains all the ACID (atomicity, consistency, isolation, durability) and MVCC (multiversion concurrency control) requirements for proper databases.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags databasessoftwareapplicationsTokutek

More about FractalIDGMySQL

Show Comments
[]