
PostgreSQL: Up and Running
Publisher: O'Reilly Media
Release Date: July 2012
Pages: 168
Read on Safari with a 10-day trial
Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything on Safari. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:
1-800-889-8969 / 707-827-7019
support@oreilly.com
Thinking of migrating to PostgreSQL? This updated guide helps you quickly understand and use the 9.3 release of this open source database system. You’ll not only learn about its unique enterprise-class features, but also discover that PostgeSQL is more than just a database system—it’s also an impressive application platform.
Using numerous examples, this book shows you how to achieve tasks that are difficult or impossible in other databases. The second edition covers LATERAL queries, augmented JSON support, materialized views, and other key topics. If you’re an existing PostgreSQL user, you’ll pick up gems you may have missed along the way.
- Learn basic administration tasks, such as role management, database creation, backup, and restore
- Apply the psql command-line utility and the pgAdmin graphical administration tool
- Explore PostgreSQL tables, constraints, and indexes
- Learn powerful SQL constructs not generally found in other databases
- Use several different languages to write database functions
- Tune your queries to run as fast as your hardware will allow
- Query external and variegated data sources with Foreign Data Wrappers
- Learn how to replicate data, using built-in replication features
Table of Contents
-
Chapter 1 The Basics
-
Where to Get PostgreSQL
-
Administration Tools
-
What’s New in Latest Versions of PostgreSQL?
-
Database Drivers
-
Server and Database Objects
-
Where to Get Help
-
-
Chapter 2 Database Administration
-
Configuration Files
-
Setting Up Groups and Login Roles (Users)
-
Databases and Management
-
Extensions and Contribs
-
Backup
-
Restore
-
Managing Disk Space with Tablespaces
-
Verboten
-
-
Chapter 3 psql
-
Interactive psql
-
Non-Interactive psql
-
Session Configurations
-
psql Gems
-
Importing and Exporting Data
-
Basic Reporting
-
-
Chapter 4 Using pgAdmin
-
Getting Started
-
pgAdmin Features
-
pgScript
-
Graphical Explain
-
Job Scheduling with pgAgent
-
-
Chapter 5 Data Types
-
Numeric Data Types
-
Arrays
-
Character Types
-
Temporal Data Types
-
XML
-
Custom and Composite Data Types
-
-
Chapter 6 Of Tables, Constraints, and Indexes
-
Tables
-
Constraints
-
Indexes
-
-
Chapter 7 SQL: The PostgreSQL Way
-
SQL Views
-
Window Functions
-
Common Table Expressions
-
Constructions Unique to PostgreSQL
-
-
Chapter 8 Writing Functions
-
Anatomy of PostgreSQL Functions
-
Writing Functions with SQL
-
Writing PL/pgSQL Functions
-
Writing PL/Python Functions
-
Trigger Functions
-
Aggregates
-
-
Chapter 9 Query Performance Tuning
-
EXPLAIN and EXPLAIN ANALYZE
-
Writing Better Queries
-
Guiding the Query Planner
-
Caching
-
-
Chapter 10 Replication and External Data
-
Replication Overview
-
Setting Up Replication
-
Foreign Data Wrappers (FDW)
-
-
Appendix Install, Hosting, and Command-Line Guides
-
Installation Guides and Distributions
-
Where to Host PostgreSQL
-
PostgreSQL Packaged Command-Line Tools
-