It begins with a key that can only read.
You hand SQLsage a connection string for a role that can read and nothing else. Within seconds it walks the system catalogs: every table, column, key, index, row estimate and size.
It does not read your rows to do this. It reads the shape of your data, not the data itself.
- Input
- PostgreSQL connection string for a read-only role
- Captured
- Tables, columns, types, primary and foreign keys, indexes, row estimates, on-disk size
- Not captured
- Row data
- Source
- pg_catalog and information_schema
- Output
- A versioned SchemaSnapshot
$ sqlsage inspect --url $SQLSAGE_DATABASE_URL ✓ Connected as sqlsage_readonly (read-only) ✓ Snapshot captured in 412 ms demo_saas 10 tables · 9 relationships · 14 indexes TABLE COLS ROWS public.events 5 8,214,330 public.audit_log 4 320,118 public.invoices 6 61,204 public.payments 5 59,877 public.customers 5 5,412 … 5 more