Skip to content

Instantly share code, notes, and snippets.

View lindauruchurtu's full-sized avatar

Linda Uruchurtu lindauruchurtu

View GitHub Profile
@lindauruchurtu
lindauruchurtu / psql_useful_stat_queries.sql
Created April 24, 2020 09:24 — forked from anvk/psql_useful_stat_queries.sql
List of some useful Stat Queries for PSQL
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192
-- 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
@lindauruchurtu
lindauruchurtu / 0_reuse_code.js
Created October 7, 2013 22:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console