Configure PostgreSQL Settings
Configure the following in the DB Parameter Group (RDS) orpostgresql.conf and then restart the server for the settings to take effect.
PostgreSQL 12+
| Parameter | Value | Description |
|---|---|---|
shared_preload_libraries | pg_stat_statements | Required. Enables the pg_stat_statements extension for query tracking. |
pg_stat_statements.track | all | Recommended. Tracks all statements including those inside functions. Default is top (top-level statements only). |
pg_stat_statements.max | 10000 | Maximum number of statements tracked. Increase if you have many unique queries. |
track_activity_query_size | 4096 | Controls the maximum length of query text stored in pg_stat_activity and pg_stat_statements. Default is 1024. |
Note: After configuringshared_preload_libraries, you must restart PostgreSQL. Then runCREATE EXTENSION IF NOT EXISTS pg_stat_statements;in each database you want to monitor.
Optional: Extensions for Enhanced RCA
The following extensions improve Rapydo’s Root Cause Analysis capabilities. Rapydo will work without them, but with reduced RCA functionality.HypoPG (No Restart Required)
Allows Rapydo to test hypothetical indexes without actually creating them, enabling smarter index recommendations. Installation: Run in each database you want to monitor:Note: HypoPG is safe for production — it creates virtual indexes in memory only during your session, without affecting actual data or consuming disk space. Available on Amazon RDS.
pg_hint_plan (Requires Restart)
Allows Rapydo to test alternative execution plans and validate optimization recommendations. Installation:-
Add
pg_hint_plantoshared_preload_libraries: - Restart PostgreSQL
-
Run in each database you want to monitor:
Note: pg_hint_plan is safe for production — it only affects queries that explicitly use hints. Available on Amazon RDS.

