My friend Henrietta Dombrovskaya pinged me on Telegram. Her production cluster had just been killed by the OOM killer after eating 2 TB of RAM. work_mem was set to 2 MB. Something didn’t add up. Hetty, like me, likes playing with monster hardware. 2 TB of



We've already discussed some object-level locks (specifically, relation-level locks), as well as row-level locks with their connection to object-level locks and...
This article explores three data models for strings with few distinct values: a simple string, a lookup table or an enum type.


