MySQL Forums
Forum List  »  Performance

Re: INSERT IGNORE ... SELECT performance question
Posted by: John Nahlen
Date: July 23, 2011 10:09PM

Dang, frustrating, I've tried making two posts earlier today and neither one seem to have gotten through.

move table (only relevant columns included):
CREATE TABLE `move` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fenbefore` varchar(90) DEFAULT NULL,
  `fenafter` varchar(90) DEFAULT NULL,
  `position` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fenafter_index` (`fenafter`),
  KEY `fenbefore_index` (`fenbefore`) USING BTREE,
  KEY `position_index` (`position`),

) ENGINE=MyISAM AUTO_INCREMENT=19512 DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
Explain:
 
id, select_type, table, type, possible_keys, key , key_len, ref , rows , Extra
1 , SIMPLE     , move , ALL , NULL         , NULL, NULL   , NULL, 19511,
before reading your webpage, my key_buffer_size was 685MB on a 4 GB machine.

I've never worked with InnoDB but if you think it will help I'll try it.

Thanks for replying.



Edited 3 time(s). Last edit at 07/23/2011 10:15PM by John Nahlen.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: INSERT IGNORE ... SELECT performance question
1774
July 23, 2011 10:09PM


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.