Customers who viewed this item also viewed
Buy New
$44.99$44.99
FREE delivery Friday, May 1
Advertisement
Advertisement
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
$18.46$18.46
FREE delivery May 4 - 6
Advertisement
Advertisement
Ships from: Books Today For You Sold by: Books Today For You
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
PostgreSQL: Up and Running: A Practical Guide to the Advanced Open Source Database 3rd Edition
Purchase options and add-ons
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
- ISBN-101491963417
- ISBN-13978-1491963418
- Edition3rd
- PublisherO'Reilly Media
- Publication dateNovember 28, 2017
- LanguageEnglish
- Dimensions7.1 x 0.6 x 9.1 inches
- Print length314 pages
Frequently bought together

Deals on related products
Customers also bought or read
- Learn PostgreSQL: Use, manage, and build secure and scalable databases with PostgreSQL 16
Paperback$44.99$44.99FREE delivery Fri, May 1 - Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with Data#1 Best SellerComputer Programming Structured Design
Paperback$21.49$21.49Delivery Fri, May 1 - Database Design for Mere Mortals: 25th Anniversary Edition
Paperback$36.43$36.43FREE delivery Fri, May 1 - Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems#1 Best SellerMySQL Guides
Paperback$59.99$59.99FREE delivery Fri, May 1 - Database Internals: A Deep Dive into How Distributed Data Systems Work
Paperback$36.33$36.33FREE delivery Fri, May 1 - The PostgreSQL Handbook: In-Depth Techniques and Advanced Strategies
Paperback$29.99$29.99Delivery Fri, May 1 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$42.66$42.66FREE delivery May 4 - 7 - PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries
Paperback$38.63$38.63FREE delivery Fri, May 1 - Mastering PostgreSQL 17: Elevate your database skills with advanced deployment, optimization, and security strategies
Paperback$44.20$44.20FREE delivery Fri, May 1 - PostgreSQL 16 Administration Cookbook: Solve real-world Database Administration challenges with 180+ practical recipes and best practices
Paperback$31.99$31.99Delivery Fri, May 1 - Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques
Paperback$34.43$34.43Delivery Fri, May 1 - SQL for Data Analysis: Advanced Techniques for Transforming Data into Insights
Paperback$36.49$36.49FREE delivery Fri, May 1 - Fundamentals of Data Engineering: Plan and Build Robust Data Systems
Paperback$40.99$40.99FREE delivery Fri, May 1 - Ansible: Up and Running: Automating Configuration Management and Deployment the Easy Way
Paperback$42.60$42.60FREE delivery Fri, May 1 - Mastering PostgreSQL 15: Advanced techniques to build and manage scalable, reliable, and fault-tolerant database applications
Paperback$61.99$61.99FREE delivery Fri, May 1 - Kafka: The Definitive Guide: Real-Time Data and Stream Processing at Scale
Paperback$43.99$43.99FREE delivery Fri, May 1 - SQL Antipatterns: Avoiding the Pitfalls of Database Programming (Pragmatic Programmers)
Paperback$33.17$33.17Delivery Fri, May 1 - SQL Performance Explained Everything Developers Need to Know about SQL Performance
Paperback$49.99$49.99FREE delivery Fri, May 1 - SQL for Data Analytics: Harness the power of SQL to extract insights from data, 3rd Edition
Paperback$40.49$40.49FREE delivery Fri, May 1 - SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL
Paperback$52.79$52.79FREE delivery Fri, May 1 - The DevOps Handbook, 2nd Edition: How to Create World-Class Agility, Reliability, & Security in Technology Organizations
Paperback$26.57$26.57Delivery Fri, May 1 - Beginning Databases with PostgreSQL: From Novice to Professional (Beginning From Novice to Professional) (Volume 0)
Paperback$26.00$26.00FREE delivery May 1 - 7 - Spark: The Definitive Guide: Big Data Processing Made Simple
Paperback$50.97$50.97FREE delivery Fri, May 1
From the brand
-
Databases, data science & more
-
Data Science
-
Data Visualization
-
Databases
-
Streaming
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
PostgreSQL bills itself as the world’s most advanced open source database. We couldn’t agree more.
What we hope to accomplish in this book is to give you a firm grounding in the concepts and features that make PostgreSQL so impressive. Along the way, we should convince you that PostgreSQL does indeed stand up to its claim to fame. Because the database is advanced, no book short of the 3500 pages of documentation can bring out all its glory. But then again, most users don’t need to delve into the most abstruse features that PostgreSQL has to offer. So in our shorter 300-pager, we hope to get you, as the subtitle proclaims, Up and Running.
Each topic is presented with some context so you understand when to use it and what it offers. We assume you have prior experience with some other database so that we can jump right to the key points of PostgreSQL. We generously litter the pages of this book with links to references so you can dig deeper into topics of interest. These links lead to sections in the manual, to helpful articles, to blog posts of PostgreSQL vanguards. We also link to our own site at Postgres OnLine Journal, where we have collected many pieces that we have written on PostgreSQL and its interoperability with other applications.
This book focuses on PostgreSQL versions 9.5, 9.6, and 10, but we will cover some unique and advanced features that are also present in prior versions.
Audience
For migrants from other database engines, we’ll point out parallels that PostgreSQL shares with other leading products. Perhaps more importantly, we highlight feats you can achieve with PostgreSQL that are difficult or impossible to do in other databases.
We stop short of teaching you SQL, as you’ll find many excellent sources for that. SQL is much like chess—a few hours to learn, a lifetime to master. You have wisely chosen PostgreSQL. You’ll be greatly rewarded.
If you’re currently a savvy PostgreSQL user or a weather-beaten DBA, much of the material in this book should be familiar terrain, but you’ll be sure to pick up some pointers and shortcuts introduced in newer versions of PostgreSQL. Perhaps you’ll even find the hidden gem that eluded you. If nothing else, this book is at least ten times lighter than the PostgreSQL manual.
Not using PostgreSQL yet? This book is propaganda—the good kind. Each day you continue to use a database with limited SQL capabilities, you handicap yourself. Each day that you’re wedded to a proprietary system, you’re bleeding dollars.
Finally, if your work has nothing to do with databases or IT, or if you’ve just graduated from kindergarten, the cute picture of the elephant shrew on the cover should be worthy of the price alone.
Editorial Reviews
About the Author
Leo Hsu is a co-principal of Paragon Corporation, a database consulting company based in Boston. He has over 15 years of professional experience developing and thinking about databases for organizations large and small. Leo holds an MS degree in engineering of economic systems from Stanford University and BS degrees in mechanical engineering and economics from the Massachusetts Institute of Technology. He co-authored PostGIS in Action.
Product details
- Publisher : O'Reilly Media
- Publication date : November 28, 2017
- Edition : 3rd
- Language : English
- Print length : 314 pages
- ISBN-10 : 1491963417
- ISBN-13 : 978-1491963418
- Item Weight : 1.4 pounds
- Dimensions : 7.1 x 0.6 x 9.1 inches
- Best Sellers Rank: #206,261 in Books (See Top 100 in Books)
- #10 in Database Storage & Design
- #24 in SQL
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on October 28, 2017Format: PaperbackVerified PurchaseThis is for the Kindle version of 3rd edition. I had the first edition of the book in paperback but the font is very small and hard to read. I imagine that the . The 3rd edition in Kindle format is very good though, and has been updated for Postgres 9.6 with some tips about features from 10.0.
I've tried many other Postgres books but they are mostly written poorly and seem like they never passed through an editor, at least not an English-speaking one. The 3rd edition of this book is written much better than the others, including the 1st edition.
One thing that I found a bit strange and doesn't really belong in a database programming/administration book was the examples in the Full Text Search section:
"If you type in the search term _lots of steamy sex scenes_, you might end up with nothing..."
"For example, if you're interested in viewing movies where sex is depicted with smoking, you could search for the two words _sex_ and _smoking_"
"_And so they smoked after sex_"
And few more mentions of the word "sex" in that section.
I am really not a prude. I just think that they could have come up with some more appropriate examples. Also, smoking is really bad for you!
- Reviewed in the United States on November 24, 2020Format: KindleVerified PurchaseI'm at a place where I no longer use ORMs but straight SQL, and need to utiliez every feature of a DB instead of replicating it in code. This results in much less code, and a much faster app. This book helped (and is still helping) me learn Postgres features and how it all works. Keen for the 4th edition.
- Reviewed in the United States on February 5, 2020Format: KindleVerified PurchaseThe contents and writing are at least 4 stars.
I bought this book first on Kindle, but I found the subject matter difficult to enjoy as an ebook; so I purchased the print edition.
To my tremendous disappointment, the print copy’s images are surprisingly illegible. The images are in grayscale (not in color as in the e-book version), very faint and with very low contrast (almost faded looking), and quite grainy, lacking clear definition. I had expected the images to be sharp and colorful, like those in the ebook.
Amazon, do any of your copies of this book have better images? Did I get a bad print?
- Reviewed in the United States on December 29, 2023Format: PaperbackVerified PurchaseIRS my office need some bkgrd
- Reviewed in the United States on December 9, 2019Format: PaperbackVerified PurchaseThe first book on PG I read. Really helped me undersrand the landscape. If you have decided to deploy and manage a Postgre database, I would highly this book.
- Reviewed in the United States on May 19, 2020Format: PaperbackVerified PurchaseDoes not cover internals or concepts like using XMIN. I was hoping to at least get diagrams and an intro into how Postgres was designed.
- Reviewed in the United States on February 7, 2021Format: PaperbackI am old fashioned. I read books. Books like this allows you to ramp up quickly. If I were to try to ramp postgres by online searches, I will be proceeding at 1/10 the pace. After reading a few pages in chapter 1, the objects displayed by pgAdmin no longer seem like gibberish to me.
- Reviewed in the United States on February 23, 2021Format: PaperbackVerified PurchaseI enjoyed the book and it was well written, (even for beginning users), the only reason why I didn't give it 5 stars is it lacked examples of best practices for fine-tuning during and after the installation process. For me I wished it would have walked through that process, especially for newer users. Overall a good book and worth purchasing.
Top reviews from other countries
OldFashionedReviewed in Australia on March 3, 20205.0 out of 5 stars Excellent - readable and a good learning experience
Format: PaperbackVerified PurchaseA unique style, well written and easily readable. Postgres is not a small topic, so this book condenses a lot of information into a small space. Do not expect this to be your only learning tool. You need more (well I did). I found myself enjoying the read and at the same time using the internet to fill in gaps.
Worthwhile. Recommended.
PaulReviewed in Germany on August 27, 20203.0 out of 5 stars A struggle to follow the book.
Format: PaperbackVerified PurchaseUnfortunately the book is written in a way that makes it hard to follow.
The examples are rushed and poorly designed and there are almost no parallels to the real world.
The backup/recovery chapter is also just a simple copy/paste from the official pg_dump, pg_restore syntax with very little punctual explanations.
-
FMReviewed in Italy on September 2, 20193.0 out of 5 stars Onesta panoramica di PostgreSQL
Format: PaperbackVerified PurchaseIl libro è un'onesta panoramica delle caratteristiche di PostgreSQL, con riferimenti alle novità introdotte nelle ultime release.
Tutto però è trattato senza approfondimenti, rimandati a pagine di cui viene fornita la URL abbreviata, senza dire quando si sta linkando il manuale di PostgreSQL, quando articoli tecnici.
richardtooheyReviewed in the United Kingdom on November 24, 20175.0 out of 5 stars Excellent overview of PostgreSQL and what’s new in PostgreSQL 10
Format: PaperbackVerified PurchaseExcellent overview of PostgreSQL and what’s new in PostgreSQL 10.
Succinct - not padded out with bumpf you can find elsewhere.
Covers the key concepts and things you need to know to get started and introductory information on other interesting topics that you can then delve into elsewhere.
Recommended introduction to PostgreSQL and up-to-date.
novice_a5_fukReviewed in Canada on March 29, 20212.0 out of 5 stars Practical? More like just a reference book
Format: PaperbackVerified PurchaseEven as a reference book, this is just not what you'd want to read, I would have returned this book if I had the patience to do that.
To give you a perspective, one of the things you'd use a lot in Postgres is inner join. I could not find any explanation of how that works anywhere in the book at all. That's just one example.

















