12 messages in com.mysql.lists.clustermultiple keys| From | Sent On | Attachments |
|---|---|---|
| Matthew Story | 15 May 2006 14:09 | |
| pek...@mysql.com | 15 May 2006 14:26 | |
| Matthew Story | 15 May 2006 14:32 | |
| pek...@mysql.com | 15 May 2006 14:42 | |
| Matthew Story | 15 May 2006 15:37 | |
| Kishore Jalleda | 15 May 2006 15:47 | |
| Kishore Jalleda | 16 May 2006 10:29 | |
| Kishore Jalleda | 16 May 2006 11:17 | |
| Matthew Story | 16 May 2006 11:18 | |
| Matthew Story | 16 May 2006 11:55 | |
| Matthew Story | 16 May 2006 12:42 | |
| Stewart Smith | 17 May 2006 04:44 |
| Subject: | multiple keys![]() |
|---|---|
| From: | Matthew Story (matt...@gmail.com) |
| Date: | 05/15/2006 02:09:19 PM |
| List: | com.mysql.lists.cluster |
I'm getting an error while migrating a database from mysql 5.0 MyISAM to MySQL 5.0 NDBCLUSTER. The problem comes when i try to move tables with multiple keys. I've looked through the documentation and noted that it doesn't support foreign keys, but MyISAM also doesn't support foreign keys and there are no foreign keys on the tables in question. Each of the tables is a little different. The first table I noticed it on had a primary key and a single column unique key. The next table has a primary key, a three column unique key, a two column key and a single column key. There are a few other tables as well that feature similar keys mostly single or multicolumn unique keys or single or multicolumn keys. I will also note that there is only one auto_increment variable defined in the table and that is the primary key. The error that is generated when i try:
ALTER TABLE foo ENGINE=NDBCLUSTER;
is the following:
ERROR 1005 (HY000): Can't create table './login/#sql-41a_3752.frm' (errno: 4242)
When I use the SHOW ERROR command i get this:
+-------+------+--------------------------------------------------------------+ | Level | Code | Message | +-------+------+--------------------------------------------------------------+ | Error | 1296 | Got error 4242 'Too many indexes' from NDB | | Error | 1005 | Can't create table './login/#sql-41a_3752.frm' (errno: 4242) | +-------+------+--------------------------------------------------------------+
and a similar result from perror: perror --ndb 4242
NDB error code 4242: Too many indexes: Permanent error: Application error
Many thanks in advance for the help.
-- regards, matt




