module LuckyPgExtras
Included Modules
- Habitat::SettingsHelpers
- Habitat::TempConfig
Defined in:
lucky_pg_extras.cr
Constant Summary
-
HABITAT_SETTINGS =
[{decl: database : Avram::Database.class, example: nil, validation: nil}] of Nil
-
QUERIES =
["bloat", "blocking", "cache_hit", "calls", "extensions", "table_cache_hit", "index_cache_hit", "index_size", "index_usage", "locks", "all_locks", "long_running_queries", "mandelbrot", "outliers", "records_rank", "seq_scans", "table_indexes_size", "table_size", "total_index_size", "total_table_size", "unused_indexes", "vacuum_stats", "kill_all"]
-
VERSION =
"0.2.0"
Class Method Summary
Instance Method Summary
Class Method Detail
def self.
create_table(description, result)
#
def self.
description_for(query_name)
#
def self.
empty_table(description)
#
def self.
execute_query(query)
#
def self.
index_cache_hit
#
def self.
long_running_queries
#
def self.
sql_for(query_name)
#
def self.
sql_path_for(query_name)
#
def self.
table_cache_hit
#
def self.
table_indexes_size
#
def self.
total_index_size
#
def self.
total_table_size
#
def self.
unused_indexes
#
Instance Method Detail