Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
wersooth1768yLinux will read the full file and keep it in memory, so after the CAT, mysql won't have to re-read from the disk, it's already in the mem. I was looking at this and laughing, but a DB pro explained to me once :)
-
Biscuit85928yIt's preloading the db file to mem. But there is a running joke/rant on mongo vs dev/null
-
Biscuit85928y@spl0 sorry had only a glimpse at the code that has been posted. On the second look the > was to the right :)
when I first saw this trixk to speed up the db:
1. stop mysql
2. cat dbfile > /dev/null
3. start mysql....
and it works...
undefined