Skillset
Infinite Education
Play & Learn
Prices
Skillset
Upgrade
Login
Skillset
PostgreSQL DBA Skillset
by
Wadim Woytenko
Subject:
Computer skills and competences
Read more
0%
Your learning progress
0/132
Legend
Must-have
Nice to have
Optional
Recommended option
Must-have
Nice to have
Optional
Recommended option
Architecture
PostgreSQL: processes and workers
backend processes
logging collector
autovacuum launcher
checkpointer
bgwriter
archiver
stats collector
wal receiver
wal sender
walwriter
logical replication launcher
PostgreSQL: memories types
local memory
work_mem
temp_buffers
maintenance_work_mem
autovacuum_work_mem
shared memory
shared_buffers
PostgreSQL: Vacuum
cleaning stages
importance vacuuming tables
tables bloat
How to find tables bloat and fix it
tips & tricks
Attributes ordering for optimizing size alignment (machine-dependent)
fillfactor parameter
HOT update
Autovacuum
Tuning
Monitoring
Common parameters
FREEZE
PostgreSQL Analytics (ANALYZE)
ANALYZE command
AUTOVACUUM ANALYZE
Configuring and importence
PostgreSQL: WAL
LSN
Restoring after crash
pg_control
algorithm
WAL files naming
wal_buffers
Time line
WAL levels
PostgreSQL: Checkpointer
parameters
monitoring
system affection
PostgreSQL: bgwriter
parameters
monitoring
Tunning
PostgreSQL: pages caching
PostgreSQL: MVCC
Transaction Isolation levels
Transaction level anomalies
PostgreSQL: Physical imagine of objects
$PGDATA catalog structure
oid
$PGDATA directories
Finding path to DB object in $PGDATA
LOCKS
Lock types
Objects locks
Locks in memory
SPIN
Loght weight
Buffer pin
Predicates locks
Tuples locks
Implementation
modes
Waiting queue on-tuple based locks
TTL of locks
Parameters
Locks queue
Deadlocks
PostgreSQL: Extensions
Understanding how PostgreSQL extends
object layers
Free Space Map
Visibility Map
Main layer
Init layer
Large objects storage
TOAST
storage types
plain
main
extended
external
Pages structures
Page Header
Tuple pointer
Tuple header
Tuple (version)
Tuples
Versions and MVCC implementation based by transaction numbers
tuple attributes
xmin
cmin
cmax
xmax
ctid
infomask
xmin commited
xmin aborted
xmax commited
xmax aborted
heap hot update
heap only tuple
tuple data
Snapshots
xmin
xmax
"Events horizon"
virtual transactions
Snapshot exporting
freezing
XACT structure
commited
aborted
Imagine of what's going on during DML operations with low level structure like tupeles, xid etc.
UPDATE
DELETE
In-page Vacuum
HOT UPDATE
SELECT