Unlocking high-performance PostgreSQL with key memory optimizations