MySQL Forums
Forum List  »  NDB clusters

Re: Example of Cluster SLOWER than InnoDB -- help?
Posted by: Heikki Tuuri
Date: December 07, 2004 08:13PM

John,

I repeat my question:

Have you set

innodb_flush_log_at_trx_commit=2

in my.cnf? NDB only flushes its log once per second, which makes the comparison unfavorable for InnoDB if you let InnoDB to flush its log at every commit. A log flush to disk restricts the commit speed to about 100 commits per second.

Actually, if the application is an implementation of a queue, it will almost certainly perform worse with a multi-node cluster than in a single-node database. You get database cache ping-pong between nodes if you repeatedly update the same row in different nodes.

Best regards,

Heikki
Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables
http://www.innodb.com/order.php

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.