EmergencyEMERGENCY? Get 24/7 Help Now!

The feature I love in TokuDB

 | June 11, 2009 |  Posted In: Insight for DBAs


Playing with TokuDB updates I noticed in SHOW PROCESSLIST unsual for MySQL State.

(Do not look in stupid UPDATE query, it’s just for testing 🙂 )

So looking in SHOW PROCESSLIST you can see progress of query execution.

I would want to see it in standard MySQL and InnoDB more than all these triggers and stored routines! Probably will implement this in XtraDB.

Vadim Tkachenko

Vadim Tkachenko co-founded Percona in 2006 and serves as its Chief Technology Officer. Vadim leads Percona Labs, which focuses on technology research and performance evaluations of Percona’s and third-party products. Percona Labs designs no-gimmick tests of hardware, filesystems, storage engines, and databases that surpass the standard performance and functionality scenario benchmarks. Vadim’s expertise in LAMP performance and multi-threaded programming help optimize MySQL and InnoDB internals to take full advantage of modern hardware. Oracle Corporation and its predecessors have incorporated Vadim’s source code patches into the mainstream MySQL and InnoDB products. He also co-authored the book High Performance MySQL: Optimization, Backups, and Replication 3rd Edition.


  • That is so awesome. Does it work for ALTER TABLE too?

    Can’t help but wonder how many times I’ve impatiently killed a MySQL server, assuming a long-running query was never going to finish, never to discover that it was only 30 seconds away from completing.

  • Gil, TokuDB shows progress for alter tables that add or drop indexes. It does not show progress for other alter tables (such as those that add a column).

    In summary, TokuDB shows progress in the following situations:
    1) updates, as shown above
    2) deletes, similar to above
    3) insert statements (for example, doing loads with “insert into foo select * from bar” will show progress)
    4) index creation

Leave a Reply


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.