-
Recent Posts
Recent Comments
- Sinisa Milivojevic on Hash of shame
- Martynas on Hash of shame
- Domas Mituzas on Hash of shame
- Hash on Hash of shame
- mdcallag on Hash of shame
Tag Archives: memory
Blowing up in memory
MySQL isn’t too concerned about table handler memory usage – it will allocate row size buffer thrice per each table invocation. There’s a few year old bug discussing UNION memory usage – for each mention in an union one can allocate … Continue reading
Stonebraker trapped in Stonebraker 'fate worse than death'
Oh well, I know I shouldn’t poke directly at people, but they deserve that sometimes (at least in my very personal opinion). Heck, I even gave 12h window for this not to be hot-headed opinion. Those who followed MySQL at … Continue reading
Logs memory pressure
Warning, this may be kernel version specific, albeit this kernel is used by many database systems Lately I’ve been working on getting more memory used by InnoDB buffer pool – besides obvious things like InnoDB memory tax there were seemingly … Continue reading
uncache!
this is source code for a tiny program I just wrote that traverses specified directories and removes them from file system cache. There are few use cases for it. One is for all these people who benchmark stuff and want … Continue reading
Memcached for small objects
Memcached quite often ends up as a store for very small objects (small key and some integer value), though it isn’t really designed to do this kind of work by default. Current memory management is based on slabs (200 of … Continue reading
mmap()
I’ve seen quite some work done on implementing mmap() in various places, including MySQL. mmap() is also used for malloc()’ing huge blocks of memory. mmap() data cache is part of VM cache, not file cache (though those are inside kernels … Continue reading
Wasting InnoDB memory
I usually get strange looks when I complain about memory handling inside InnoDB. It seems as if terabytes of RAM are so common and cheap, that nobody should really care about memory efficiency. Unfortunately for me, I do. Examples: The … Continue reading
LAMPS on steroids
I’m not sure if I’m the first coining in ‘LAMPS’ – scaled out LAMP environment with Squid in front, but it sounds cool. Squid is major component in content distribution systems, reducing the load from all the backend systems dramatically … Continue reading