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 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- ISBN-101449326331
- ISBN-13978-1449326333
- Edition1st
- PublisherO'Reilly Media
- Publication dateJuly 21, 2012
- LanguageEnglish
- Dimensions7 x 0.36 x 9.19 inches
- Print length168 pages
There is a newer edition of this item:
From the brand
-
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.
-
Your partner in learning
-
Bestsellers
-
Software Development
-
Programming Languages
-
AI / Machine Learning
-
Data Science
-
Data, Databases and more
-
Cloud Services
-
Business
-
Finance
-
Blockchain / Cryptocurrency
-
Security
-
Cookbooks
-
Head First series
-
97 Things series
-
Lean series
Editorial Reviews
Book Description
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
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 is a co-author of the book PostGIS in Action.
Product details
- Publisher : O'Reilly Media
- Publication date : July 21, 2012
- Edition : 1st
- Language : English
- Print length : 168 pages
- ISBN-10 : 1449326331
- ISBN-13 : 978-1449326333
- Item Weight : 10.4 ounces
- Dimensions : 7 x 0.36 x 9.19 inches
- Best Sellers Rank: #3,531,099 in Books (See Top 100 in Books)
- #348 in Network Storage & Retrieval Administration
- #514 in SQL
- #4,439 in Computer Programming Languages
- 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.
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 April 12, 2014Format: PaperbackVerified PurchaseThis 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.
- Reviewed in the United States on September 17, 2015Format: PaperbackVerified PurchaseThis 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.
- Reviewed in the United States on August 7, 2013Format: PaperbackVerified PurchaseI'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.
- Reviewed in the United States on January 16, 2015Format: PaperbackVerified PurchaseCovers some stuff. I had expected a little more on writing PSQL functions.
- Reviewed in the United States on August 13, 2012PostgreSQL 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.
- Reviewed in the United States on June 10, 2013Format: PaperbackI 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.
- Reviewed in the United States on April 22, 2013Format: PaperbackVerified PurchaseThis 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").
Top reviews from other countries
-
Guillaume LelargeReviewed in France on August 31, 20125.0 out of 5 stars Un bon livre de débutant sur PostgreSQL
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 GodseReviewed in Canada on November 7, 20135.0 out of 5 stars Useful
Format: PaperbackVerified PurchaseThis 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önigReviewed in Germany on February 5, 20135.0 out of 5 stars Sehr hilfreich
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 DivakerReviewed in India on January 21, 20185.0 out of 5 stars Good and clear explanation
Good and clear explanation on important topics. Overall a good book for those who want to learn rapidly growing PostgreSQL database.
richardtooheyReviewed in the United Kingdom on September 30, 20125.0 out of 5 stars Exactly what it says on the cover
Format: PaperbackVerified PurchaseI'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!

