Skip to main content
Tschallacka's user avatar
Tschallacka's user avatar
Tschallacka's user avatar
Tschallacka
  • Member for 9 years, 7 months
  • Last seen more than a month ago
awarded
awarded
comment
comment
MariaDB writes at 500kb/s how to get it to write at normal speeds?
I found out I was doing the transaction at the wrong database(modified a script that had pulled it from another source) i was actually reading from, so quite useless, I modified the transaction to be done on the remote server connection. The writes themselves were quite fast in the 5000 batches, but pushing the data to the remote server still quite slow. I'm suspecting some kind of rate limiting being in the way.
comment
MariaDB writes at 500kb/s how to get it to write at normal speeds?
I have everything wrapped within a laravel transaction, yet it seems as if it's still writing row by row. Not sure what could be the issue there, as I said, the same code locally goes blazingly fast. Maybe the transaction doesn't work on the remote? Disabling the cache didn't work. I tried with the mysql workbench migration wizard and it went up to 20mb/s so something is happening that makes the write go slow when accessed via php. Thanks for your insight.
revised
Loading…
revised
Loading…
Loading…
revised
Find if any of the rows partially match a string
grammar, typos, removed superfluos thanks
Loading…
awarded
awarded
comment
Does the query optimiser re-use usable data?
I did some testing, keeping it into the original tables with indexes it performs in 0.014 milliseconds, if I use intermediate tables it runs up to 16 milliseconds :-)
accepted
comment
Does the query optimiser re-use usable data?
So, to make actively use from the fact i'm already doing a lookup i'd better save the results of the lookup and use that temp table in the join? or is it better practise to depend on the query optimiser?
awarded
revised
Does the query optimiser re-use usable data?
changed download link to gist
Loading…
awarded