Re: Dump is fast, load is VERY slow
Posted by:
Mikhail T
Date: April 24, 2021 07:16PM
Peter, this suggestion does not answer my question. There are only two limits in computers: processors' ability to process, and the storage's (or network's) ability to push the data to or from the processing. There is nothing else.
Yet, when the slow loading is ongoing, neither the CPU-load nor the disk-bandwidths are high. At all.
So, what's the bottleneck? Is mysqld pushing each row -- however small -- to disk, waiting for the storage to "commit" it? This would make the storage's latency (rather than bandwidth) the bottleneck...
But is not there some way to disable such behavior -- for the duration of the DB-load -- the same way locks, foreign keys, and index-checking can be disabled?
Thank you!