A configured Postgres database and the query helpers used by the dashboard.
Summary
Functions
See PgHero.Methods.Maintenance.analyze/3.
See PgHero.Methods.Maintenance.analyze_tables/2.
See PgHero.Methods.Maintenance.autovacuum_danger/1.
See PgHero.Methods.Settings.autovacuum_settings/1.
See PgHero.Methods.Queries.blocked_queries/1.
See PgHero.Methods.QueryStats.capture_query_stats/2.
See PgHero.Methods.Space.capture_space_stats/1.
See PgHero.Methods.QueryStats.clean_query_stats/2.
See PgHero.Methods.Space.clean_space_stats/2.
See PgHero.Methods.Connections.connection_sources/1.
See PgHero.Methods.Connections.connection_states/1.
See PgHero.Methods.Connections.connections/1.
See PgHero.Methods.Basic.current_user/1.
See PgHero.Methods.Basic.database_name/1.
See PgHero.Methods.Space.database_size/1.
See PgHero.Methods.QueryStats.disable_query_stats/1.
See PgHero.Methods.Indexes.duplicate_indexes/2.
See PgHero.Methods.QueryStats.enable_query_stats/1.
See PgHero.Methods.Explain.explain/3.
See PgHero.Methods.QueryStats.explainable?/2.
See PgHero.Methods.QueryStats.historical_query_stats_enabled?/1.
See PgHero.Methods.Indexes.index_bloat/2.
See PgHero.Methods.Indexes.index_caching/1.
See PgHero.Methods.Indexes.index_hit_rate/1.
See PgHero.Methods.Indexes.index_usage/1.
See PgHero.Methods.Indexes.indexes/1.
See PgHero.Methods.Constraints.invalid_constraints/1.
See PgHero.Methods.Indexes.invalid_indexes/2.
See PgHero.Methods.Kill.kill/2.
See PgHero.Methods.Kill.kill_all/1.
See PgHero.Methods.Kill.kill_long_running_queries/2.
See PgHero.Methods.Indexes.last_stats_reset_time/1.
See PgHero.Methods.Queries.long_running_queries/1.
See PgHero.Methods.Maintenance.maintenance_info/1.
See PgHero.Methods.Indexes.missing_indexes/1.
See PgHero.Methods.QueryStats.queries_table_exists?/1.
See PgHero.Methods.QueryStats.query_hash_stats/3.
See PgHero.Methods.QueryStats.query_stats/2.
See PgHero.Methods.QueryStats.query_stats_available?/1.
See PgHero.Methods.QueryStats.query_stats_enabled?/1.
See PgHero.Methods.QueryStats.query_stats_extension_enabled?/1.
See PgHero.Methods.QueryStats.query_stats_readable?/1.
See PgHero.Methods.QueryStats.query_stats_table_exists?/1.
See PgHero.Methods.Space.relation_sizes/1.
See PgHero.Methods.Space.relation_space_stats/3.
See PgHero.Methods.Replication.replica?/1.
See PgHero.Methods.Replication.replicating?/1.
See PgHero.Methods.Replication.replication_lag/1.
See PgHero.Methods.Replication.replication_slots/1.
See PgHero.Methods.QueryStats.reset_query_stats/2.
See PgHero.Methods.Indexes.reset_stats/1.
See PgHero.Methods.Queries.running_queries/2.
See PgHero.Methods.Sequences.sequence_danger/2.
See PgHero.Methods.Sequences.sequences/1.
See PgHero.Methods.Basic.server_version/1.
See PgHero.Methods.Basic.server_version_num/1.
See PgHero.Methods.Settings.settings/1.
See PgHero.Methods.QueryStats.slow_queries/2.
See PgHero.Methods.Space.space_growth/2.
See PgHero.Methods.Space.space_stats_enabled?/1.
See PgHero.Methods.Basic.ssl_used?/1.
See PgHero.Methods.Tables.table_caching/1.
See PgHero.Methods.Tables.table_hit_rate/1.
See PgHero.Methods.Space.table_sizes/1.
See PgHero.Methods.Tables.table_stats/2.
See PgHero.Methods.Connections.total_connections/1.
See PgHero.Methods.Maintenance.transaction_id_danger/2.
See PgHero.Methods.Indexes.unused_indexes/2.
See PgHero.Methods.Tables.unused_tables/1.
See PgHero.Methods.Maintenance.vacuum_progress/1.
See PgHero.Methods.Settings.vacuum_settings/1.
Functions
See PgHero.Methods.Maintenance.analyze/3.
See PgHero.Methods.Maintenance.analyze_tables/2.
See PgHero.Methods.Maintenance.autovacuum_danger/1.
See PgHero.Methods.Settings.autovacuum_settings/1.
See PgHero.Methods.Queries.blocked_queries/1.
See PgHero.Methods.QueryStats.capture_query_stats/2.
See PgHero.Methods.Space.capture_space_stats/1.
See PgHero.Methods.QueryStats.clean_query_stats/2.
See PgHero.Methods.Space.clean_space_stats/2.
See PgHero.Methods.Connections.connection_sources/1.
See PgHero.Methods.Connections.connection_states/1.
See PgHero.Methods.Connections.connections/1.
See PgHero.Methods.Basic.current_user/1.
See PgHero.Methods.Basic.database_name/1.
See PgHero.Methods.Space.database_size/1.
See PgHero.Methods.QueryStats.disable_query_stats/1.
See PgHero.Methods.Indexes.duplicate_indexes/2.
See PgHero.Methods.QueryStats.enable_query_stats/1.
See PgHero.Methods.Explain.explain/3.
See PgHero.Methods.QueryStats.explainable?/2.
See PgHero.Methods.QueryStats.historical_query_stats_enabled?/1.
See PgHero.Methods.Indexes.index_bloat/2.
See PgHero.Methods.Indexes.index_caching/1.
See PgHero.Methods.Indexes.index_hit_rate/1.
See PgHero.Methods.Indexes.index_usage/1.
See PgHero.Methods.Indexes.indexes/1.
See PgHero.Methods.Constraints.invalid_constraints/1.
See PgHero.Methods.Indexes.invalid_indexes/2.
See PgHero.Methods.Kill.kill/2.
See PgHero.Methods.Kill.kill_all/1.
See PgHero.Methods.Kill.kill_long_running_queries/2.
See PgHero.Methods.Indexes.last_stats_reset_time/1.
See PgHero.Methods.Queries.long_running_queries/1.
See PgHero.Methods.Maintenance.maintenance_info/1.
See PgHero.Methods.Indexes.missing_indexes/1.
See PgHero.Methods.QueryStats.queries_table_exists?/1.
See PgHero.Methods.QueryStats.query_hash_stats/3.
See PgHero.Methods.QueryStats.query_stats/2.
See PgHero.Methods.QueryStats.query_stats_available?/1.
See PgHero.Methods.QueryStats.query_stats_enabled?/1.
See PgHero.Methods.QueryStats.query_stats_extension_enabled?/1.
See PgHero.Methods.QueryStats.query_stats_readable?/1.
See PgHero.Methods.QueryStats.query_stats_table_exists?/1.
See PgHero.Methods.Space.relation_sizes/1.
See PgHero.Methods.Space.relation_space_stats/3.
See PgHero.Methods.Replication.replica?/1.
See PgHero.Methods.Replication.replicating?/1.
See PgHero.Methods.Replication.replication_lag/1.
See PgHero.Methods.Replication.replication_slots/1.
See PgHero.Methods.QueryStats.reset_query_stats/2.
See PgHero.Methods.Indexes.reset_stats/1.
See PgHero.Methods.Queries.running_queries/2.
See PgHero.Methods.Sequences.sequence_danger/2.
See PgHero.Methods.Sequences.sequences/1.
See PgHero.Methods.Basic.server_version/1.
See PgHero.Methods.Basic.server_version_num/1.
See PgHero.Methods.Settings.settings/1.
See PgHero.Methods.QueryStats.slow_queries/2.
See PgHero.Methods.Space.space_growth/2.
See PgHero.Methods.Space.space_stats_enabled?/1.
See PgHero.Methods.Basic.ssl_used?/1.
See PgHero.Methods.Tables.table_caching/1.
See PgHero.Methods.Tables.table_hit_rate/1.
See PgHero.Methods.Space.table_sizes/1.
See PgHero.Methods.Tables.table_stats/2.
See PgHero.Methods.Connections.total_connections/1.
See PgHero.Methods.Maintenance.transaction_id_danger/2.
See PgHero.Methods.Indexes.unused_indexes/2.
See PgHero.Methods.Tables.unused_tables/1.
See PgHero.Methods.Maintenance.vacuum_progress/1.
See PgHero.Methods.Settings.vacuum_settings/1.