Comment

Comment by genewitch

I ran a 4000qps postgres database set to use no more than 640KB of RAM (its in the configs).

The DBA was having fun with my silly idea until Slow-Query takes 10 seconds and we flipped back over to the production systems with much more allowed memory for postgres.

My purpose was to show that Linux itself is pretty fast at caching and paging, even if Postgres was hamstrung. The db actually ran fine except for the slow queries, and we probably could have cleaned them up, too. But I proved my point.

DB was ~300GB, metal had 512GB RAM. This was in 2012.

parent genewitch 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton