1
Yesterday I've imported 10 million rows into MySQL in about 1 hour, using SomeHosting's:
2C CPU/4GB Memory/60GB SSD
[Ubuntu 14.04 64-bit]
Today I've imported only 500k rows in 1 hour, using my 'desktop' server:
4C CPU/16GB Memory/4TB HDD
[CentOS 6.5 64-bit]
The only difference I see here is the SSD, but I don't think it matters, for let's say, 1GB data total. Am I missing something? Is there any chance to be a configuration, that somehow limits the import? The server stays on 10% Memory Usage and 2% CPU Usage.
1You do understand, that MySQL is primary limited by the speed of the storage device, and not the speed system's processor? By your own admission the server is using neither memory nor the CPU when it processes the query. – Ramhound – 2015-12-30T17:20:04.297
I wasn't thinking clearly about this. When I think about it, it makes sense, since it's 10x slower, just like the SSD/HDD speed difference. Thanks for the heads up! – htorbov – 2015-12-30T17:41:04.363