更新时间:2021-07-23 19:41:41
coverpage
PostgreSQL for Data Architects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Installing PostgreSQL
Installation options
Dependencies to compile the source
Configuring and creating the makefile
Building and creating the executables
Installing and moving the files to where they belong
Initializing a cluster
Working with extensions
Summary
Chapter 2. Server Architecture
Starting with the daemon process
Understanding the shared buffer
Checkpoint
WAL and the WAL writer process
The background writer
The autovacuum launcher process
The logging process
The stats collector process
The WAL sender and WAL receiver
Sorting in memory with work_mem
Maintenance with maintenance_work_mem
Chapter 3. PostgreSQL – Object Hierarchy and Roles
The PostgreSQL cluster
Understanding tablespaces
Databases schemas and search_path
Roles and privileges
Chapter 4. Working with Transactions
Understanding transactions
PostgreSQL and MVCC
Chapter 5. Data Modeling with SQL Power Architect
Tools for databases and their uses
Database design tools
Generating SQL
Chapter 6. Client Tools
GUI tools and command-line tools
pgAdmin – downloading and installation
psql – working from the command line
Chapter 7. SQL Tuning
Understanding basic facts about databases
Query execution components
Finding the execution plan
Optimization guidelines and catches
Chapter 8. Server Tuning
Server-wide memory settings
Managing writes connections and maintenance
Seek/scan cost and statistics parameters
Materialized views
Partitioned tables
Chapter 9. Tools to Move Data in and out of PostgreSQL
Setting up the production database – considerations
COPY
Fast loading with pg_bulkload
pg_dump
Filtering options
Chapter 10. Scaling Replication and Backup and Recovery
Scalability
Point-in-time recovery
Chapter 11. PostgreSQL – Troubleshooting
Connection issues
Authentication and permission issues
Parameter changes not effective
Query not responding
Chapter 12. PostgreSQL – Extras
Interesting data types
Features over time
Index