Common Database Bottlenecks and How to Fix Them