MySQL optimization for testing purpose
Hi all,
Looking for some configuration tips to speed execution of our non-regression tests with MySQL.
We do pure functional testing, data persistence is not critical.
Our tests are not using a lot of data, but we create and drop a lot of test tables.
We have concurrency tests (processes locking rows), so this feature matters.
Are there some InnoDB params to enable or disable to speed up our tests?
Some tests behave a bit strange, sometimes one of our test takes 1 min 30 secs, sometimes it takes only 15 seconds...
In fact this tests creates and drops ~150 times the same table, having a single column using different types each time.
I can clearly see that sometimes table creations are fast, but from time to time it slows down to about a second to create a table.
How can this happen?
Any log I could enable and provide here?
I have tried following settings, but it did not help:
innodb_stats_auto_recalc=0
innodb_file_per_table=0
innodb_stats_persistent=0
I have recreated my database after restarting the server.
Server version: 8.0.4-rc-log MySQL Community Server (GPL)
Thanks in advance!
Seb
Subject
Views
Written By
Posted
MySQL optimization for testing purpose
1442
April 04, 2018 10:05AM
598
April 04, 2018 10:56AM
644
April 06, 2018 02:00AM
716
April 06, 2018 12:10PM
602
April 09, 2018 02:18AM
709
April 09, 2018 07:18AM
639
April 09, 2018 07:23AM
732
April 09, 2018 07:34AM
609
April 09, 2018 08:00AM
834
April 09, 2018 10:06AM
637
April 10, 2018 08:24AM
645
April 10, 2018 10:27AM
584
April 10, 2018 11:07AM
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.