- Newest
- Most votes
- Most comments
Well, the issue was resolved along with the instability that was noted by AWS itself. I'm closing the thread here.
This issue you're experiencing with Performance Insights not showing SQL Digest Statistics after upgrading your RDS PostgreSQL instance is not uncommon. Even though you've already enabled the pg_stat_statements extension and restarted the database instance, there are a few additional steps you can take to troubleshoot and potentially resolve this issue:
-
Double-check that pg_stat_statements is properly loaded: Ensure that 'pg_stat_statements' is included in the 'shared_preload_libraries' parameter in your DB parameter group. If it's not there, add it and then reboot the DB instance.
-
Verify the track_activity_query_size parameter: Performance Insights can only collect statistics for queries in pg_stat_activity that aren't truncated. By default, PostgreSQL truncates queries longer than 1,024 bytes. You may want to increase this limit by modifying the 'track_activity_query_size' parameter in your DB parameter group. Remember that changing this parameter requires a DB instance reboot.
-
Disable and re-enable Performance Insights: Some users have reported success in resolving similar issues by disabling and then re-enabling Performance Insights at the cluster level. After doing this, it's recommended to reboot the instances to ensure the changes take effect.
-
Check for any pending maintenance or updates: Ensure that there are no pending updates or maintenance tasks that might be interfering with the full functionality of Performance Insights after the upgrade.
-
Verify compatibility: Confirm that all your current settings and extensions are fully compatible with PostgreSQL 16.3. The upgrade might have changed some default behaviors or requirements.
-
Monitor and wait: Sometimes, it may take some time for all systems to sync up after a major version upgrade. Continue monitoring the situation, as the issue might resolve itself after a period of normal database activity.
If after trying these steps the issue persists, it would be advisable to contact AWS Support for further assistance, as they can provide more specific guidance based on your exact configuration and any potential known issues with the latest PostgreSQL version on RDS.
Remember, despite the message, you mentioned that Performance Insights appears to be working normally. This suggests that the issue might be more related to how the information is being displayed rather than a fundamental problem with data collection or functionality.
Sources
SQL statistics for RDS PostgreSQL - Amazon Relational Database Service
SQL statistics for Aurora PostgreSQL - Amazon Aurora
Performance Insights in RDS can't show the call/sec, Avg latency (ms)/call... | AWS re:Post
Relevant content
- asked 7 months ago
- asked 3 years ago

Thanks for your detailed response. Here's an update based on your suggestions:
pg_stat_statements is properly enabled and loaded in the shared_preload_libraries. track_activity_query_size is set to 4096, which should be sufficient for query collection. I’ve already tried disabling and re-enabling Performance Insights via AWS CLI, and I've restarted the RDS instance multiple times, but the issue persists. The instance has been live for several days, and there are no pending updates or maintenance tasks. Despite the warning message, Performance Insights appears to be working fine otherwise, as it continues to collect query performance data.
As I’m on the AWS Basic Support Plan, the support options are limited.
If anyone has faced a similar issue or has additional insights, I’d appreciate hearing about it.
We also noticed this problem and were just told by AWS support that this is an internal issue and they are working on a fix.
You can actually see it in your Personal Health Dashboard:
We are also facing the same issue across all RDS PostgreSQL instances and have gotten no useful feedback from AWS Support for the past two weeks.