Module13_Data_Dictionaries Flashcards
where are the data dictonary objects stored
pg_catalog or \dS
what is stored in pg_file_settings
contents op postgresql.conf
what is stored in pg_policy
stores row level security for tables
what is stored in pg_policies
Provides acces to usefull info about each row-level secuirty in DB
pg_*_size
pg_column_size
pg_size_pretty
pg_ls_dir,pg_read_file
pg_blocking_pids()
pg_*_size: diskspace used by DB,schema,tablespace
pg_column_size: bytes used to store value
pg_size_pretty: convert raw size to hum an readable
pg_ls_dir,pg_read_file: file operation function restricted to superuser.
pg_blocking_pids(): function to find blocking sessions
pg_stat_activiry
pg_locks
pg_stat_database
pg_stat_user_*
pg_stat_archiver
pg_stat_progress_basebackup
pg_stat_progress_vacuum
pg_stat_progress_analyze
pg_hba_file_rules
details of open connections and transactions
list of current locks being held
details of databases
details of tables, indexes and functions
status of archiver process
view pg_basebackup progress
show progress report for vacuum ops
show progress report for analyze ops
provides summary of pg_hba.conf
how to get output better readable in psql
\x
how to force log switch
select pg_switch_wal();
how to kill session
pg_terminate_backend()