postgresql.sessions
Total sessions establishedDimensions:None
Technical Annotations (23)
Configuration Parameters (4)
max_connectionswork_memrecommended: 64MBtrack_activity_query_sizerecommended: 1024hikaricp.cache_prepared_statementsrecommended: consider enablingError Signatures (2)
LWLock:lock_managerlog patternLWLock:LockManagerlog patternCLI Commands (2)
pgbench -c 100 -j 10 -n -f transaction.sql -T 900diagnosticSELECT query, calls, total_exec_time, mean_exec_time, rows FROM pg_stat_statements ORDER BY total_exec_time DESC LIMIT 20;diagnosticTechnical References (15)
CloudWatch Database Insightscomponentaverage active sessionsconceptpgbenchcomponentcheck_postgrescomponentmax_connectionscomponentwork_memcomponentsort operationsconcepthash tablesconceptpg_stat_activitycomponentpg_stat_activity.querycomponentplanidcomponentqueryidcomponentHikariCPcomponentAurora PostgrescomponentBIND phaseconceptRelated Insights (5)
Lock manager contention reduces throughput by up to 34 percent under high concurrencywarning
▸
Connection count approaching max_connections causes connection failurescritical
▸
Excessive work_mem allocation can exhaust system memory under concurrent loadcritical
▸
Query text truncation prevents full query visibility in monitoringinfo
▸
Brief CPU spike in active sessions during bind phase prevents query plan generationwarning
▸