Search
 
SCRIPT & CODE EXAMPLE
 

PHP

pg_relation_size in mb

SELECT
  schema_name,
  relname,
  pg_size_pretty(table_size) AS size,
  table_size

FROM (
       SELECT
         pg_catalog.pg_namespace.nspname           AS schema_name,
         relname,
         pg_relation_size(pg_catalog.pg_class.oid) AS table_size

       FROM pg_catalog.pg_class
         JOIN pg_catalog.pg_namespace ON relnamespace = pg_catalog.pg_namespace.oid
     ) t
WHERE schema_name NOT LIKE 'pg_%'
ORDER BY table_size DESC;
Comment

PREVIOUS NEXT
Code Example
Php :: Comment rediriger la page “Panier” et sauter la page Commande 
Php :: php pasar array por post 
Php :: phpunit-watcher 
Php :: how to rrestart brew php 
Php :: How to Filter Your Posts & Pages by Custom Field in WordPress Dashboard 
Php :: laravel cors error localhost 
Php :: php artisan insert user in database with tinker 
Php :: php send 204 
Php :: vscode php debugger change value 
Php :: upload image to backend (see rest of the link) 
Php :: fetch data from database withour restarting console php 
Php :: Using Cookie Authentication 
Php :: caculator 
Php :: htmlentities (PHP 4, PHP 5, PHP 7, PHP 8) htmlentities — Convert all applicable characters to HTML entities 
Php :: Funktion umgekehrt ausgeben, strrev 
Php :: tcpdf Array and string offset access syntax with curly braces is deprecated 
Php :: php obtener slug wordpress 
Php :: run php after product added 
Php :: how can we export larage data from table in laravel 8 
Php :: Stripe Test - Laravel 
Php :: get first cat php wp 
Php :: yii form custom label 
Php :: gan_sql 
Php :: namespace autoload php 
Php :: An expression was expected phpmyadmin 
Php :: getname eloquent slug laravel 
Php :: search a file name and open that file phpstrom 
Php :: Laravel To determine if an item is not present in the session 
Php :: php opencart controller 
Php :: laravel csrf token or protection or laravel form 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =