Bug #11646 | Simple create table takes much longer using NDB then InnoDB | ||
---|---|---|---|
Submitted: | 29 Jun 2005 20:40 | Modified: | 1 Jul 2005 6:19 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.0-wl2325-wl1354-new | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[29 Jun 2005 20:40]
Jonathan Miller
[1 Jul 2005 6:19]
Martin Skold
Create table is a distributed operation in cluster (data dictionary in all nodes has to be synchronized). Also NDB creates an extra ordered index for pk (pk is hashed), this is also a distributed operation. You could compare with defining pk with USING HASH, but it will still take longer on cluster due to communication costs not in InnoDB.