Skip to content

Instantly share code, notes, and snippets.


Ryan Walker rwalk

View GitHub Profile
anvk / psql_useful_stat_queries.sql
Last active Nov 13, 2021
List of some useful Stat Queries for PSQL
View psql_useful_stat_queries.sql
--- PSQL queries which also duplicated from
--- some of them taken from
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB.
-- Basics --
-- Get indexes of tables