Jump to content

[SOLVED] index time


jaymc

Recommended Posts

I have a table with 7.5 Million rows

 

only 4 fields, 2 varchar(25) and the others int(12)

 

It was originally myisam, but I wanted to convert it to INNODB

 

I tried using the ALTER TABLE to do a straight convert but after 4 hours of it running and bringing the server to a halt I give up

 

I realised it was probably due to it having to reindex after every insert, so I created another table with innodb engine, inserted all the rows accross with no index and that worked fine, took about 3 minutes

 

Now, I need to add my index back, its been running for 2 hours now on the varchar(25)

 

Is this just how it is since the table is 7.5million rows?

Link to comment
https://forums.phpfreaks.com/topic/101713-solved-index-time/
Share on other sites

Im sitting on 2x 1.4Ghz cpu with 3GB ram

 

Here is everything from my.cnf related to innod

 

innodb_data_file_path = ibdata1:500M:autoextend
innodb_buffer_pool_size = 2500M
innodb_additional_mem_pool_size = 2M
innodb_flush_method = O_DIRECT

 

Perhaps Im hitting some kind of configuration bottle knecks?

 

 

Link to comment
https://forums.phpfreaks.com/topic/101713-solved-index-time/#findComment-520450
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.