MySQL Forums
Forum List  »  Performance

Re: Mysql performance between installation
Posted by: Rick James
Date: January 20, 2015 04:57PM

And nothing else is going on on the machines?

Puzzling.

The 40-minute load could _partially_ be explained by a terribly fragmented disk. But I would not expect 8x slowdown. Probably not even 2x.

Here's what is going on:
CREATE DATABASE --> mkdir
CREATE TABLE --> creates 1-3 files in the directory, plus some stuff in ibdata1 (if ENGINE=InnoDB). .frm file contains schema.
INSERT --> populate the data and index(es) for the table. This goes into .ibd or ibdata1 (InnoDB) or .MYD and .MYI (MyISAM).

The effort taken for those should be virtually the same for given OS and MySQL versions. (Windows vs Unix has some noticeable differences.)

Are both using the same "engine"? Is innodb_file_per_table the same on both? You may as well compare all of
SHOW VARIABLES LIKE 'innodb%'.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Mysql performance between installation
908
January 20, 2015 04:57PM


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.