Tagged articles

net_buffer

1 articles · Page 1 of 1
ITPUB
ITPUB
Oct 1, 2026 · Databases

Why SELECT * 20M Rows Won't OOM MySQL: Streaming Protocol & LRU Protection

The article explains why a MySQL SELECT * query scanning 20 million rows won't cause server-side OOM due to its streaming protocol using a 16KB net_buffer, but warns that full table scans can pollute the Buffer Pool, though InnoDB's midpoint insertion strategy and innodb_old_blocks_time (default 1s) protect hot data from eviction.

Buffer PoolInnoDBLRU
0 likes · 13 min read
Why SELECT * 20M Rows Won't OOM MySQL: Streaming Protocol & LRU Protection