UUIDv4: My Biggest Database Performance Mistake

A long time ago, I made a call I thought was smart and scalable: using UUIDv4 as the primary key for alerting data. It seemed forward-looking.