chore(dblab-engine): expand notes

This commit is contained in:
Michele Cereda
2025-08-18 23:31:39 +02:00
parent 9089c3c981
commit f72db3ce28
9 changed files with 243 additions and 103 deletions

View File

@@ -56,6 +56,10 @@ ALTER DATABASE reviser SET pgaudit.log TO none;
\c sales
\connect vendor
-- Get databases' size
SELECT pg_database_size('postgres');
SELECT pg_size_pretty(pg_database_size('postgres'));
-- List schemas
\dn
@@ -91,6 +95,10 @@ CREATE TABLE people (
\d+ clients
SELECT column_name, data_type, character_maximum_length FROM information_schema.columns WHERE table_name = 'vendors';
-- Get tables' size
SELECT pg_relation_size('vendors');
SELECT pg_size_pretty(pg_relation_size('vendors'));
-- Insert data
INSERT INTO people(id, first_name, last_name, phone)