Database Details View
The Database Details View provides a comprehensive interface for monitoring and managing the databases connected to the system. It is divided into several sections, each serving a specific purpose to assist administrators in managing database instances effectively.
Top Bar: Summary of Key Database Metrics
The top bar presents an overview of the key metrics across all databases connected to the system. It includes:- CPU Usage: Displays the maximum CPU utilization percentage among the databases.
- Available RAM: Shows the maximum amount of available RAM for the connected databases.
- Connections: Shows the maximum number of active connections across databases.
- Duration: Shows the maximum session duration.
- Users: Displays the number of active users for the database with the highest activity.
- Locks: Indicates the number of database locks on the most utilized database.
- Databases: Displays the total number of databases in the system.
- Hosts: Shows the number of hosts running databases.
- IOPS (Input/Output Operations Per Second): Displays the IOPS for the database under the highest load.

Configured Databases Table
The table presents all the currently configured databases along with the following details for each:- DB Identifier: The unique identifier or name of the database.
- Engine: The database engine in use (e.g., MySQL).
- Engine Version: The version of the database engine.
- Size: The instance size of the database (e.g., db.t3.medium).
- Cluster Identifier: If applicable, shows the identifier for the database cluster.
- Status: The current status of the database (e.g., available, stopped).
- Has Rapydo: Displays whether Rapydo, the system’s monitoring tool, is installed on the database (Yes/No).

Configuration View: Database Connections
This section allows administrators to connect new databases to the system. It presents the list of databases that are available for connection and those that are already configured. Administrators can check off the databases they want to add to the system. This view also enables administrators to review and update the list of databases being actively monitored, ensuring that the system always has the latest database connections.
Configuration Modal: Database Authentication
When adding new databases to the system, the Configuration Modal prompts the user to provide their Amazon RDS credentials. This includes:- Username: The admin or master username for the database.
- Password: The corresponding password for the database.

Deployment Process
When you click “Deploy Rapydo” and provide your RDS credentials, the following setup occurs automatically based on your database engine:PostgreSQL Setup
sqlMySQL Setup
sqlRequired Privileges Explained
PostgreSQL Privileges
- rds_superuser View all user sessions in pg_stat_activity, not just monitoring user’s own sessions
- pg_monitor Access to all pg_stat_* views for performance monitoring
- pg_read_all_settings Read database configuration for optimization recommendations
- pg_read_all_stats Access to detailed database statistics
- pg_stat_scan_tables Analyze table sizes and storage usage
MySQL Privileges
- PROCESS Required - View all user sessions in
SHOW PROCESSLIST
- SELECT Read performance schema tables and system statistics
- EXECUTE Run RDS procedures like
mysql.rds_kill_query()
andmysql.rds_kill()
for query termination.
Security Notes
- Credentials are encrypted and used only for initial setup
- Read-only monitoring - no data modification capabilities
- Dedicated user - isolated from your application users
- Minimal required access - only what’s needed for database monitoring