Book description
Thinking of migrating to PostgreSQL? This clear, fast-paced introduction helps you understand and use this open source database system. Not only will you learn about the enterprise class features in versions 9.5 to 10, you’ll also discover that PostgeSQL is more than a database system—it’s an impressive application platform as well.
With examples throughout, this book shows you how to achieve tasks that are difficult or impossible in other databases. This third edition covers new features, such as ANSI-SQL constructs found only in proprietary databases until now: foreign data wrapper (FDW) enhancements; new full text functions and operator syntax introduced in version 9.6; XML constructs new in version 10; query parallelization features introduced in 9.6 and enhanced in 10; built-in logical replication introduced in Version 10.e.
If you’re a current PostgreSQL user, you’ll pick up gems you may have missed before.
- 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 use built-in replication to replicate data
Publisher resources
Table of contents
- Preface
- 1. The Basics
- 2. Database Administration
- 3. psql
- 4. Using pgAdmin
- 5. Data Types
- 6. Tables, Constraints, and Indexes
-
7. SQL: The PostgreSQL Way
- Views
-
Handy Constructions
- DISTINCT ON
- LIMIT and OFFSET
- Shorthand Casting
- Multirow Insert
- ILIKE for Case-Insensitive Search
- ANY Array Search
- Set-Returning Functions in SELECT
- Restricting DELETE, UPDATE, and SELECT from Inherited Tables
- DELETE USING
- Returning Affected Records to the User
- UPSERTs: INSERT ON CONFLICT UPDATE
- Composite Types in Queries
- Dollar Quoting
- DO
- FILTER Clause for Aggregates
- Percentiles and Mode
- Window Functions
- Common Table Expressions
- Lateral Joins
- WITH ORDINALITY
- GROUPING SETS, CUBE, ROLLUP
- 8. Writing Functions
- 9. Query Performance Tuning
- 10. Replication and External Data
- A. Installing PostgreSQL
- B. PostgreSQL Packaged Command-Line Tools
- Index
Product information
- Title: PostgreSQL: Up and Running, 3rd Edition
- Author(s):
- Release date: October 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491963364
You might also like
book
Learn PostgreSQL - Second Edition
This new edition will help you learn PostgreSQL from scratch with the latest version, providing a …
book
Mastering PostgreSQL 15 - Fifth Edition
Master the capabilities of PostgreSQL 15 to efficiently administer and maintain your database. Purchase of the …
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
book
Practical SQL
"Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming …