Refurbished favorites for less
Kindle app logo image

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.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

PostgreSQL: Up and Running 1st Edition


If you’re thinking about migrating to the PostgreSQL open source database system, this guide provides a concise overview to help you quickly understand and use PostgreSQL’s unique features. Not only will you learn about the enterprise class features in the 9.2 release, you’ll also discover that PostgeSQL is more than just a database system—it’s also an impressive application platform.

With numerous examples throughout this book, you’ll learn how to achieve tasks that are difficult or impossible in other databases. 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

From the brand

Editorial Reviews

Book Description

A Practical Guide to the Advanced Open Source Database

From the Back Cover

  • 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

Product details

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

3.6 out of 5 stars
38 global ratings

Top reviews from the United States

  • Reviewed in the United States on April 12, 2014
    Format: PaperbackVerified Purchase
    This book targets people with a good understanding of database technology. It doesn't spend time on explaining the basics, just summarizes the PostgreSQL technology and provide more than a few good references to the source documentation.
    One person found this helpful
    Report
  • Reviewed in the United States on September 17, 2015
    Format: PaperbackVerified Purchase
    This is a good light-weight intro to PostgreSQL. If you don't know where to start, this is a good place. It should be noted that PostgreSQL's official documentation is excellent and the first chapter is a step-by-step setup. The biggest shortcoming of this book it the fact that it inexplicably lacks an index.
    One person found this helpful
    Report
  • Reviewed in the United States on August 7, 2013
    Format: PaperbackVerified Purchase
    I'm a big fan of O'Reilly books in general and have come to expect a high level of quality from them. In light of their good record with me, this book was an extreme disappointment. I understood when I got this book that it was meant to be the quicker guide to learning and administrating PostgreSQL and had expected that it would at least be able to act as a good reference book. I came into the book knowing MySQL and was generally okay with SQL and how relational databases work.

    However, this book took the what you must know before hand to an extreme level and doesn't even act as a very good reference. First, you must know ANSI SQL in and out before using this book. The book fails to teach the nuances of PostgreSQL because it can always fall back on "well, you should know ANSI SQL before reading this book and PostgreSQL is completely ANSI SQL compliant, therefore we don't need to explain this." It will often throw code at you without much prose.

    Its larger failing is the failure to act as a good reference. Almost every paragraph of the book is cut short with "well, you can read the PostgreSQL manual here" followed by a url to the relevant manual page. It's not a reference or an explanation in itself, but rather a reference of where to go to find what you really want. Instead of buying this book for either learning or reference, you would be better off taking your $18 and just getting a nice printed copy of the PostgreSQL manual, since all this book does effectively is point you to it.
    5 people found this helpful
    Report
  • Reviewed in the United States on January 16, 2015
    Format: PaperbackVerified Purchase
    Covers some stuff. I had expected a little more on writing PSQL functions.
  • Reviewed in the United States on August 13, 2012
    PostgreSQL is something I always wondered about having seen its use in Google Earth Enterprise and a few other products. This book helps those with some experience in databases understand this interesting application platform. The run-of-the mill relational database features (datatypes, database objects and such) are covered briefly but the focus of the book is on what makes PostgreSQL unique. Good points of consideration concerning the applicability of PostgreSQL are provided making this a good book for professionals thinking about using PostgreSQL in their projects.

    The book does a good job of distilling the vast on-line content surrounding PostgreSQL and explains the tools surrounding it a bit better than the documentation provided for them (in particular pgAdmin). Installation, configuration, security, database object management, functions (in SQL and Python) as well as performance tuning are covered. Don't expect elaborate coverage of the topics. I enjoyed this conciseness but there were times I had to used the provided references (links) to on-line material to get a better understanding.

    Any reader must be aware that the book focuses on PostgreSQL 9.1. It does mention where there are differences with older versions but you might be left wanting if you are stuck with an older version.

    It's short and powerful introduction to PostgreSQL's core features and approach. Many useful links to PostgreSQL resources are included. This book was enjoyable to read and perfect for getting me up-to-speed with PostgreSQL.
    10 people found this helpful
    Report
  • Reviewed in the United States on December 30, 2014
    Format: PaperbackVerified Purchase
    Fine.
  • Reviewed in the United States on June 10, 2013
    Format: Paperback
    I think the title is accurate; the book helps users get "up and running" with PostgreSQL. I think that getting "up and running" with PostgreSQL is difficult relative to systems like SQLite or MySQL for users like myself who aren't running websites, but like the structure and power of SQL for maintaining data (research-related data in my case). Once one gets over that hurdle (I end up compiling from source), PostgreSQL is well worth the initial investment.

    The authors went a little further and introduced other features of PostgreSQL, including window functions and procedural languages. I see some value in covering these topics to people new to PostgreSQL, as they help encourage people to make the leap. I can see value in future editions pushing the latter aspect of the book further (perhaps in a separate book), but for now the authors did an admirable job in the limited space of the book.
    3 people found this helpful
    Report
  • Reviewed in the United States on April 22, 2013
    Format: PaperbackVerified Purchase
    This is not an introduction to PostgreSQL. It's certainly not a "tutorial", as another reviewer claims. A better title would be "PostgreSQL Tips and Tricks". This book won't make much sense until you've already familiarized yourself with PostgreSQL's online documentation. As for how useful those tips and tricks are, I can't say. I came to this book with a solid academic understanding of databases (at the level of Ullman's Principles of Database & Knowledge-Base Systems, Vol. 1: Classical Database Systems) and some light experience with Oracle and PostgreSQL itself. With that as my background, this book didn't offer me much. However, I do intend to learn a lot about PostgreSQL (at this, point, I guess, from its own online documentation), at which point I will return to this book and have more to say. But for now, my warning stands: if you're looking for an introduction or a tutorial, look somewhere else.

    As a secondary point, the English in this book is bad enough to be annoying. O'Reilly should be concerned enough about its reputation to hire an editor who understands noun-verb agreement (e.g. "the dog bites the man", not 'the dog bite the man").
    36 people found this helpful
    Report

Top reviews from other countries

  • Guillaume Lelarge
    5.0 out of 5 stars Un bon livre de débutant sur PostgreSQL
    Reviewed in France on August 31, 2012
    Simple et facile à lire, il permet de bien commencer avec PostgreSQL. Ce n'est clairement pas un livre pour expert mais il ravira tous les débutants qui veulent utiliser un vrai moteur de bases de données.
  • Jay Godse
    5.0 out of 5 stars Useful
    Reviewed in Canada on November 7, 2013
    Format: PaperbackVerified Purchase
    This is a useful goto guide for everything PostgreSQL. It shows you how to do most useful functions. Definitely going to be on my tool belt with my next PostgreSQL project.
  • Egbert König
    5.0 out of 5 stars Sehr hilfreich
    Reviewed in Germany on February 5, 2013
    Dieses Buch ist ein typisches O'Reilly Buch, genau richtig geschrieben. Der Text ist kurz und prägnant, die Anleitungen im Buch haben mir sehr weitergeholfen.
  • Paras Divaker
    5.0 out of 5 stars Good and clear explanation
    Reviewed in India on January 21, 2018
    Good and clear explanation on important topics. Overall a good book for those who want to learn rapidly growing PostgreSQL database.
  • richardtoohey
    5.0 out of 5 stars Exactly what it says on the cover
    Reviewed in the United Kingdom on September 30, 2012
    Format: PaperbackVerified Purchase
    I'm a MySQL user wondering about other open source options (and wondering where Oracle is going to take MySQL) and this book was a good introduction to modern PostgreSQL and what's good/different about it.

    I already have some PostgreSQL books but they are for older versions - I wanted a good introduction including some of the 9.x features, and this book didn't disappoint.

    It is a short text - but it is about "Up and Running" - and that's exactly what you get. It's good for giving you ideas (and links to where you can find out more) - so it touches on lots of things and if you are interested, you'll know where to go to find out more.

    There's no padding to boost up the page count.

    If you are looking for an in-depth tome on every feature - this won't be the book for you. If you want an introduction to SQL, it's not here. BUT if you want something easy-to-read that gives you a good overall feel for PostgreSQL and what it is capable of - buy it!