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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.