Machine-Learning Database Performance Analysis and Data-Driven Database Cost Management