MySQL Forums
Forum List  »  Performance

Older version of MySQL server are faster than newer Versions
Posted by: Miran Nadir
Date: May 03, 2021 06:39AM

I thought that I must state the experiment which I did Yesterday:
I have used one machine which I have to do the test, every time I installed a different MySQL server version on it, configured them the same way then tried to restore a mysqldump file of a database which is around 20MB, take in mind that after each test, I removed the MySQL server version that I tested and then installed the other version and did the test again. below are the execution times which I got for each MySQL versions that I tested: Can anyone explain the drop in performance, why the older version are performing much faster?

mysql 8.0.24 et=2m.11sec

mysql 5.7.33 et=1m.05sec

mysql 5.6.51 1et=0m.34sec 2et=0m.46sec 3et=0m.55sec

mysql 5.5.62 1et=0m.14sec 2et=0m.17sec 3et=0m.16sec

mysql 5.5.60 1et=0m.18sec 2et=0m.16sec 3et=0m.15sec

mysql 5.5.36 1et=0m.14sec 2et=0m.14sec

mysql 5.1.73 1et=0m.18sec 2et=0m.17sec 3et=0m.16sec

mysql 5.0.91 1et=0m.14sec 2et=0m.13sec 3et=0m.14sec

where et is the execution time.

how I did the measurement:

mysql> create database mysqldumpdatabasename;

mysql> use mysqldumpdatabasename;

mysql> set @str=now();source d:\mysqldumpdatabasename.sql;SELECT TIMESTAMPDIFF(SECOND,@str,now());

Your answers are appreciated.

Options: ReplyQuote


Subject
Views
Written By
Posted
Older version of MySQL server are faster than newer Versions
1801
May 03, 2021 06:39AM
479
May 06, 2021 02:17PM
445
May 09, 2021 11:28AM
424
May 09, 2021 12:27PM
404
May 10, 2021 01:42AM
399
May 10, 2021 10:17AM
393
May 10, 2021 11:15AM
497
May 10, 2021 02:39PM
443
May 11, 2021 06:58AM
407
May 11, 2021 11:42AM
480
May 11, 2021 01:14PM
429
May 11, 2021 02:05PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.