[Postgres] Mesure the bloat

intéressant mon cher watson SELECT  current_database() AS « Database »,  schemaname AS « Schema »,  tablename AS « Table »,  reltuples::bigint AS « Lines »,  /*relpages::bigint, otta,*/  ROUND((CASE WHEN otta=0 THEN 0.0 ELSE sml.relpages::float/otta END)::numeric,1) AS « Table bloat », . read more…

Connexions aux db du cloud

#!/bin/sh#——————————————————————————-## Script to connect to IBM Cloud DB, version 2.0# Author : JJY##——————————————————————————-#set -vx###############INSTANCIATION##############DOMAIN= »<domain> »DATABASE= »postgres »USERNAME= »<user_dba> »while truedoDATABASE= »postgres » clear echo « CONNEXION AUX BASES DU CLOUD  » echo  »  » echo « CONNEXION A l ECOSYSTEM : <ecosystem> » echo « . read more…

Author avatar

Translate »