PostgreSQL (2nd Edition)

  Author:    Korry Douglas
  ISBN:    0672327562
  Sales Rank:    144650
  Published:    2005-07-26
  Publisher:    Sams
  # Pages:    1032
  Binding:    Paperback
  Avg. Rating:    4.0 based on 19 reviews
  Used Offers:    12 from $28.99
  Amazon Price:    $42.49
  (Data above last updated:  2008-09-04 04:56:11 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
PostgreSQL (2nd Edition)
  

The second edition of the best-selling PostgreSQL has been updated to completely cover new features and capabilities of the 8.0 version of PostgreSQL. You will be lead through the internals of the powerful PostgreSQL open source database chapter, offering an easy-to-read, code-based approach that makes it easy to understand how each feature is implemented, how to best use each feature, and how to get more performance from database applications. This definitive guide to building, programming and administering the powerful PostgreSQL open-source database system will help you harness one of the most widely used open source, enterprise-level database systems.

                  Reader Reviews 1 - 22 of 22                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
03-09-08 4 (NA)
(Hide Review...)  PostgreSQL (2nd Ed) worth having
Reviewer Permalink
As a developer with many years IT experience in control systems and only a little in databases and none with Postgres, I found this book to be extremely helpful. It covered a huge amount of topics with examples and put them together in a way that made it more efficient than googling!

It helped that I knew what topics I needed in looking for answers but the chapters were self explantory in the topics they covered which I believe would allow a beginner to make quick progress in learning Postgres.

Cavaet: If you are after a book to learn SQL and database design (normal forms) you will be disappointed, this book is not for you.

(Review Data Last Updated: 2008-09-03 06:21:22 EST)
01-28-08 5 (NA)
(Hide Review...)  Comprehensive introduction to PostgreSQL
Reviewer Permalink
I am a database application developer with MS SQL Server, Oracle, Sybase and many other RDBMSs experience.
This book allowed me to start working on PostgreSQL immediately.
Pro: comprehensive, good examples, good supplement to the documentation.
Cons: is not deep enough for me (does not explain format of a transaction log file or WAL file, for example), but, I guess, I should read the PostgreSQL code for this.
If you are new to databases you would need to read some other books first.
(Review Data Last Updated: 2008-03-09 14:27:19 EST)
10-04-07 3 2\2
(Hide Review...)  Disappointed with a serious error
Reviewer Permalink
I'm upset that this book that I've been trusting for the past month or two has such an egregious error in its discussion of regular expressions on page 51. I wish the authors had left out any discussion of regexes if they weren't going to actually test their assumptions about a topic on which I assume they know little. :-(
(Review Data Last Updated: 2008-02-15 07:03:39 EST)
08-12-07 4 1\1
(Hide Review...)  Excellent resource for any PostgreSQL admin
Reviewer Permalink
PostgreSQL 2nd Edition is a phenomenal book if you're a programmer, and a great book if you're a non-programming admin. As someone whose programming ability reaches only ever so slightly beyond bash scripting and WSH, the parts of this book that were really worthwhile to me were those devoted to the administration of PostgreSQL. Backing up, recovering, and performance tuning were excellent resources, especially to someone who had never set up or administered a database. Speaking of which, the very beginning of the book, covering what exactly a database is, terminology, and setting up and creating schema were invaluable. To have all the information in PostgreSQL 2nd Edition consolidated in this one book makes it a must-have for any admin's bookshelf. The only reason it didn't get 5 stars from me was because I'm not a programmer, and I couldn't take away every single ounce this great resource had to offer.
(Review Data Last Updated: 2008-02-15 07:03:39 EST)
02-01-07 3 1\1
(Hide Review...)  a very comprehensive book
Reviewer Permalink
This book lives up to it's claims for "the comprehensive guide to building, programming and administering postgresql databases". I'm a MySQL guy, but may have to do a little pgsql to support a third party app, so I was looking for a book that would bring me up to speed.

The quick review is this... I give this book 3 stars, because it's so huge and covers so much territory that, in my opinion, it does a middling job of it. I would have preferred a more focussed book. I think, given it's goal of being so comprehensive, it is about as good as it could be and if you really need to know everything - from sql, to developing extensions, to embedding this in your c/c++ programs and administering things AND want a single book that covers it this is probably the book for you. If you don't need quite that much, or are willing to go to more than one book to get it, I think you would be better served to look elsewhere.

The longer review...

Honestly, I don't know why books on databases almost invariably are terribly dry reads, but this book, following the odds, falls into that category. It's a hefty tome weighing in at about 1000 pages divided into 3 sections.

The first category, about a quarter of the book, is an introduction to sql and postgresql in particular. It does quite a nice job of introducing your standard sql commands, datatypes and basic administrative commands (like creating tables and the like). This part goes from basic to fairly advanced, covering topics like outer joins and creating new datatypes. I suspect it'll be review for those familiar with sql but reasonably usable for those delving into sql, even if they don't immediately understand all of the more advanced concepts.

The section ends with a chapter on performance, something I was particularly interested in given postgresql's reputation. Here the authors talk about standard performancy things like indexes, using various tools to figure out what a particular query is actually doing, all worthwhile. But they never go into any detail about the performance implications of using some of the more advanced postgresql features like composite types and table inheritance. I was quite disappointed to find not even a whisper of this type of information in the book.

The second section, about half the book covers programming with postgresql. This is a very broad chapter - covering many aspects of what it means to program this database. From server side programming using PL/pgSQL to extending the database with custom functions and types. They discuss creating clients in c, c++, java, perl, php, tcl, python and .net. Each one of these languages gets a chapter about 30-50 pages long where they go over the basics of how that language typically connects to the database and then goes through a process of creating a basic client and refining over the course of 4 or 5 iterations to become more and more robust and full featured. This is the bulk of the book and because it's so wide spread, I think most people will only be interested in one or two of these chapters - the rest of which will probably be uninteresting.

The last section is the final quarter of the book where they go over the administrative requirements of the database. They admirably try to direct people to download and compile their own binaries, but cover installation from binary on unix and windows. They have an excellent reference on the things you can tweak to configure the runtime environment. They also cover backing up the database, replication, internationalization and security. Although they mention performance optimization in the intro to the section, they don't actually discuss it anywhere in the section.

So, to sum up. If you really need to know about all aspects of pgsql and are looking for a one stop shop, this book is - I think - as good as you're going to find. But if you're looking into only a particular aspect (developing, administereing, etc..) or don't mind going to more than one, I feel confident that there's other books out there that will cover those topics in better detail.
(Review Data Last Updated: 2007-04-12 14:43:42 EST)
01-31-07 3 1\1
(Hide Review...)  a very comprehensive book
Reviewer Permalink
This book lives up to it's claims for "the comprehensive guide to building, programming and administering postgresql databases". I'm a MySQL guy, but may have to do a little pgsql to support a third party app, so I was looking for a book that would bring me up to speed.

The quick review is this... I give this book 3 stars, because it's so huge and covers so much territory that, in my opinion, it does a middling job of it. I would have preferred a more focussed book. I think, given it's goal of being so comprehensive, it is about as good as it could be and if you really need to know everything - from sql, to developing extensions, to embedding this in your c/c++ programs and administering things AND want a single book that covers it this is probably the book for you. If you don't need quite that much, or are willing to go to more than one book to get it, I think you would be better served to look elsewhere.

The longer review...

Honestly, I don't know why books on databases almost invariably are terribly dry reads, but this book, following the odds, falls into that category. It's a hefty tome weighing in at about 1000 pages divided into 3 sections.

The first category, about a quarter of the book, is an introduction to sql and postgresql in particular. It does quite a nice job of introducing your standard sql commands, datatypes and basic administrative commands (like creating tables and the like). This part goes from basic to fairly advanced, covering topics like outer joins and creating new datatypes. I suspect it'll be review for those familiar with sql but reasonably usable for those delving into sql, even if they don't immediately understand all of the more advanced concepts.

The section ends with a chapter on performance, something I was particularly interested in given postgresql's reputation. Here the authors talk about standard performancy things like indexes, using various tools to figure out what a particular query is actually doing, all worthwhile. But they never go into any detail about the performance implications of using some of the more advanced postgresql features like composite types and table inheritance. I was quite disappointed to find not even a whisper of this type of information in the book.

The second section, about half the book covers programming with postgresql. This is a very broad chapter - covering many aspects of what it means to program this database. From server side programming using PL/pgSQL to extending the database with custom functions and types. They discuss creating clients in c, c++, java, perl, php, tcl, python and .net. Each one of these languages gets a chapter about 30-50 pages long where they go over the basics of how that language typically connects to the database and then goes through a process of creating a basic client and refining over the course of 4 or 5 iterations to become more and more robust and full featured. This is the bulk of the book and because it's so wide spread, I think most people will only be interested in one or two of these chapters - the rest of which will probably be uninteresting.

The last section is the final quarter of the book where they go over the administrative requirements of the database. They admirably try to direct people to download and compile their own binaries, but cover installation from binary on unix and windows. They have an excellent reference on the things you can tweak to configure the runtime environment. They also cover backing up the database, replication, internationalization and security. Although they mention performance optimization in the intro to the section, they don't actually discuss it anywhere in the section.

So, to sum up. If you really need to know about all aspects of pgsql and are looking for a one stop shop, this book is - I think - as good as you're going to find. But if you're looking into only a particular aspect (developing, administereing, etc..) or don't mind going to more than one, I feel confident that there's other books out there that will cover those topics in better detail.
(Review Data Last Updated: 2007-04-11 12:02:50 EST)
11-22-06 4 3\4
(Hide Review...)  Great Book with Lots of Info about Postgres
Reviewer Permalink
I found the book to be a great complement to the Postgres documentation. The book does an excellent job of explaining the big picture of Postgres while providing enough details to make itself quite useful.

The book is quite big at 1000 pages and is divided into three parts. Part 1 does a good job of explaining foundational elements about Postgres that both developers and system administrators need to know.

Part 2 of the book covers the various programming interfaces for working with postgres. A nice feature of part 2 was the coverage of how to write new functions and data types for postgres in C. If you know C this section will be an easy read. I did not type in the C code in part 2 of the book since I do not need to extend Postgres in any way. However, seeing how data types and functions are implemented in C gave me a great appreciation for Postgres and its internals. Part 2 seems to cover all the client apis to talk to postgres at the expense of providing in depth knowledge on a specific client API. Missing from this book is how to use Postgres from Ruby. I did not read most of the chapters on the client Access API's since I program in Java and know JDBC quite well. I would say that the client API coverage is a great starting point and not an in depth reference.

Part three of the book cover various administration aspects of Postgres. Overall the coverage was good. The only thing to watch out for is that the coverage of Postgres Security is split between chapters 21 and 23.

One of the main things that loved about the book is that it does not try to explain the bascis of SQL and instead focuses on Postgres issues. If you are looking for an intro to database programming i would not recommend this book.

I highly recommend this book and hope you enjoy it as much as I did.
(Review Data Last Updated: 2008-02-15 07:03:39 EST)
09-27-06 4 0\1
(Hide Review...)  Is a good book
Reviewer Permalink
Is a nice book, it hasn't got many advanced stuff like backups or problems solutions but is a good book for people just become a middle or new postgresql user.
(Review Data Last Updated: 2008-02-15 07:03:39 EST)
09-26-06 4 (NA)
(Hide Review...)  Is a good book
Reviewer Permalink
Is a nice book, it hasn't got many advanced stuff like backups or problems solutions but is a good book for people just become a middle or new postgresql user.
(Review Data Last Updated: 2006-11-22 11:33:51 EST)
03-10-06 5 2\2
(Hide Review...)  Comprehensive coverage
Reviewer Permalink
This is the only PostgreSQL book that I know of that covers writing functions and triggers in PL/pgSQL with any level of detail. There is also a very detailed section on performace monitoring and tuning. Overall, the best book you can get on PostgreSQL administration.
(Review Data Last Updated: 2007-06-24 16:45:14 EST)
02-28-06 5 1\1
(Hide Review...)  Excellent book for beginners
Reviewer Permalink
This is a great way to get started with postgreSQL or for learning databases in general. Each sentence actually makes sense and doesn't require referencing other texts like so many other technical books. The book is very thorough so don't let the size intimidate you. I would recommend this book to anyone interested in starting their own database project.
(Review Data Last Updated: 2007-05-22 07:13:41 EST)
02-27-06 5 (NA)
(Hide Review...)  Excellent book for beginners
Reviewer Permalink
This is a great way to get started with postgreSQL or for learning databases in general. Each sentence actually makes sense and doesn't require referencing other texts like so many other technical books. The book is very thorough so don't let the size intimidate you. I would recommend this book to anyone interested in starting their own database project.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
12-13-05 4 2\2
(Hide Review...)  Good supplement to online docs
Reviewer Permalink
I have the first edition of this book. I purchased it when I started to use PostgreSQL to develop a retail reporting warehouse for our company. After a year of development I can tell you the book is worth the money. While the online manuals are much more extensive and complete they can also be quite terse. This book gives you the needed foundation you can then build upon by referring to the online documentation for PostgreSQL. Nowadays, when I have a question about the database server I always go straight to the online documentation but I also carry this book with me to work. I still find it can sometimes provide a more clear explanation of some part of the server than the online documenation can even if it is not always as in depth as I would like.
(Review Data Last Updated: 2007-06-24 16:45:14 EST)
12-11-05 1 11\13
(Hide Review...)  Many trees died in vain
Reviewer Permalink
This "complete reference" is a total mess. It took quite a while to find out how to stop the server otherwise than by "kill" command, because "Server startup and shutdown.....779" refers to a text block which says that "we'll explain it in the next chapter".

Also, buying a tome of 1000+ pages, you would probably (and rightfully) expect to find a complete syntax reference to such essential commands as CREATE TABLE. I didn't find one! There is only a brief introduction to the basic syntax.

Normally, books of such volume contain several appendixes in the end, like "PostgeSQL syntax", "Perl API syntax", etc. Not in this one.

The bottom line is, buy "Beginning databases with PostgreSQL" by Neil Matthew and Richard Stones. This book will get you started quickly and painlessly. This book is a bit over 600 pages, and is very clearly written.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
08-24-05 5 1\1
(Hide Review...)  PostgreSQL
Reviewer Permalink
I bought the 1st edition almost a year ago. The book is perfect reference for me as a seldom database and SQL developer. Compared to Oracle books this one is clear and concise: I've found everything I've been looking for in perfectly complete and understandable form. Haven't read everything in it yet, though, but I believe no part will disappoint me.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
08-04-05 4 (NA)
(Hide Review...)  PostgreSQL
Reviewer Permalink
I thought the book was well written and documented all the information that would get you started in dealing with Postgres and SQL coding. A good book for someone starting out with Postgres and SQL.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
06-13-05 1 5\11
(Hide Review...)  Worthless and largely inferior to the official documentation
Reviewer Permalink
I bought this book expecting to find a complete reference covering all aspects of daily operation of Postgresql. Instead I found a pile of worthless and incoherent chapters, covering anything and everything, from basic sql syntax to interfaces with several different languages, none of them covered deeply enough to be of any use. Worst of all, the index is totally unusable. Don't buy it, I'm sure there are much better books. You'll learn much more reading Pg's docs on their site.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
09-18-04 5 2\3
(Hide Review...)  Dirk on PostgreSQL
Reviewer Permalink
Seems like this is a man & wife authoring team.
PostgreSQL by Korry & Korry is the most effective Linux & database instruction I've ever used. I bought it to get an overview of PostgreSQL- it did that well. Without intending to use this book to pick up admin tools and finally fathom certain security concepts, I did that too.
I've struggled with many Linux manuals, but this one pulled me along with eager interest.
(Review Data Last Updated: 2006-07-07 12:49:43 EST)
04-27-04 4 4\4
(Hide Review...)  Surprisingly advanced
Reviewer Permalink
I was surprised at how advanced this book was. It starts with the usual introduction to basic SQL access to PostgeSQL, then has a two chapters on data types and syntax, and then jumps straight into performance and extensions stuff. It then covers PL/pgSQL. The majority of the second section of the book is examples of writing for Postgres with various programming languages (e.g. C, C++, Java, Perl, PHP, Python, etc.)

I liked the advanced content, but I was looking for a book on Postgres basics. So I don't think I got the right thing. My advice to you is, check out the table of contents, and make sure you are getting the content you need. If you are looking for a basic Postgres reference, this is not going to have much content for you.

(Review Data Last Updated: 2006-07-07 12:49:43 EST)
08-30-03 4 6\7
(Hide Review...)  Clear Writing, Good Coverge
Reviewer Permalink
.
I am updating this review and giving it an additional star now that I have been through the whole book. It rates 4 stars for it's overall clear writing and completeness. Here follows my original review ...

I am only part way through chapter 3 but I thought it worth writing a short review to warn about the example database in this book.

From one page to the next tables in the example database mysteriously add or drop fields. This would be OK if the book led you through a logical progression where the changes made sense, but the differences seem gratuitous. (Do tapes have a duration or not?) Also, if you try to keep up by adding, removing, creating and droping things as you follow along you start to get into trouble as referential integrity (a great SQL feature supported by PostgreSQL) prevents you from doing the right thing.

The example code is available on a website, but the link given in the book doesn't work. A little hunting around will get you there but it would be nice if the authors kept the link mentioned in the book.

When you do find the sample code on the web site you will notice that it needs to be downloaded in seperate chunks, one for each chapter - a minor annoyance. One isn't sure if it is OK to untar them all in one dierctory or not. (It's not. Here is a shell script to help:)

#!/bin/bash
for f in chapter??.tgz ; do
d=$\{f/.tgz} # please remove the backslash -- I had to put it in to get the rest of the line to display in this review
mkdir -p $d
echo -n "Processing $f ..."
tar -C $d -zxf $f
echo " done"
done

Given that the example in the book keeps morphing from one page to the next it is not surprising that the sample code on the web page doesn't match the examples in the book. It would need several versions to match just the changes within one chapter.

I do give the book good marks for clear writing and for making the concepts understandable. Right now I am just frustrated by the examples.

(Review Data Last Updated: 2006-07-07 12:49:43 EST)
07-06-03 4 8\9
(Hide Review...)  Good reference
Reviewer Permalink
A large section of the book goes into PL/pgSQL programming. Like Oracle's PL/SQL or SQL Server's T-SQL, PostgreSQL has it's own SQL programming language. The book discusses the basics of using PL/pgSQL in addition to more complex information (including cursors and triggers).

The next section of the book really go into examples of using PostgreSQL in specific development environments. Specifically, chapters are dedicated to the use of PostgreSQL in Java code (examples are provided in which JDBC connections are made), PHP and Perl, and even ODBC (for those of us using non-open source languages). I especially liked these chapters, as they really helped me see exactly how to implement database calls to PostgreSQL.

The last third of the book is really designed for database administrators. In this section, information is provided on doing everything you need to do from a DBA perspective on PostgreSQL. There is information on configuration, security, and internationalization. One section I particularly found useful was on things to watch out for when running PostgreSQL in a Windows environment (specifically during installation).

(Review Data Last Updated: 2006-03-10 09:47:18 EST)
03-23-03 4 16\18
(Hide Review...)  An almost complete reference
Reviewer Permalink
I really enjoyed the work of Korry and Susan Douglas, opening the world of PostgreSQL to me. I'd not considered the database a viable contender for my needs until I opened this book and saw all of the goodies it had to offer. The book explains the details of PostgreSQL in enough detail to get you going without bogging you down in the details, and I appreciate that, except for one thing:

1. I would have liked more information about installing and using PostgreSQL on Windows. They discuss installing with Cygwin, but don't cover downloading from Postgres' site, or any of the quirks that come from using Postgres on Windows. This is I'm certain an oversight and something they will correct or add to the next edition of the book.

Also, I can do without YASI (yet another SQL intro). I know SQL, I own SQL In A Nutshell from O'Reilly, I'm more than capable of working with databases, and I'd much rather they just explain what's unique and different about PostgreSQL instead of reviewing the SQL syntax with me.

Still, all those being said, I find this book to be informative and worthwile.

(Review Data Last Updated: 2006-02-27 13:36:13 EST)
  
                  Reader Reviews 1 - 22 of 22                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)