Amazon RDS Performance Insights provides an on-demand analysis experience

Amazon RDS (Relational Database Service) Performance Insights now helps customers analyze database performance metrics on demand to troubleshoot performance issues. It leverages machine learning models to help identify performance bottlenecks during the selected time period and gives advice on what to do next. This feature is available for Aurora MySQL, Aurora PostgreSQL and RDS for PostgreSQL engines.

Source:: Amazon AWS