Skip to content

Instantly share code, notes, and snippets.

View ominidx's full-sized avatar
🤘

Omkar Nayak ominidx

🤘
View GitHub Profile
@ominidx
ominidx / k8s.md
Last active October 21, 2021 07:34
K8s kubernetes

Get external ips of k8s nodes (v1.19.14)

kubectl get nodes -o wide | awk '{print $7}'

@ominidx
ominidx / psql_useful_stat_queries.sql
Created September 30, 2019 15:08 — 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