MySQL Forums
Forum List  »  MyISAM

Re: 16GB index file limit
Posted by: Andon Zlatev
Date: February 07, 2006 07:12AM

Hi,

The show create is:

parameters_back | CREATE TABLE `parameters_back` (
`p_id` bigint(20) NOT NULL auto_increment,
`p_iparam_type_id` bigint(20) NOT NULL default '0',
`p_idevice_id` bigint(20) NOT NULL default '0',
`p_iunixtime` bigint(20) NOT NULL default '0',
`p_fvalue` double default NULL,
`p_ivalid` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`p_id`),
KEY `in_unixtime` (`p_iunixtime`),
KEY `in_full` (`p_iparam_type_id`,`p_idevice_id`,`p_iunixtime`,`p_ivalid`),
KEY `in_p_idevice_id` (`p_idevice_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 MAX_ROWS=4294967295 |

the autoicrement is 253643508.

The
set insert_id=253643510;
insert into parameters_back values (null,1465,256,1139221621,474431067,0);

works OK, and after that the next insert again gives error duplicate key .. 253643508.


Now we have created a new table (with large MAX_ROWS) and we're trying to move the data with "insert .... select *" from the broken, without altering the original one.

It will take awhile

Options: ReplyQuote


Subject
Views
Written By
Posted
3825
February 01, 2006 03:22AM
2341
February 02, 2006 04:14AM
2271
February 07, 2006 03:26AM
2414
February 07, 2006 03:46AM
Re: 16GB index file limit
2371
February 07, 2006 07:12AM
2185
February 08, 2006 01:43PM
2545
February 09, 2006 03:22AM


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.