In-Memory Databases and Performance Optimization