Database Performance Optimization for Large-Scale Big Data Applications