Add a lot of business logic for RDS analysis