Book Reviews   Digital Libraries   Astronomy Log   Software   About  
Brainshed Reviews: Practical Postgresql
Practical Postgresql
Author: Command Prompt, Inc. (John C. Worsley & Joshua D. Drake)
Pages: 619
Publisher: O'Reilly & associates
ISBN: 1-56592-846-6
Summary: An excellent tutorial/reference for beginning to intermediate Postgresql users.
Review Date: 7 Aug, 2002

As the cover text of this book suggests, Postgresql is indeed a "hardened, robust, Open Source database," packed with many features that rival some of the big names in proprietary database systems. Practical Postgresql, by Command Prompt, Inc. provides an excellent introduction to Postgresql for both newbies, and intermediate users. Advanced users might not need most of the introductory material, but the reference material included throughout the book is very useful for almost any Postgresql user.

The book begins with a chapter providing an overview of Popstgresql and its capabilities and then continues with the obligatory chapter on downloading and installing Postgresql. The steps are fairly simple to follow if you're unaccustomed to such activities, and the authors are careful to offer many tips to help you in the process.

Following this begins a good tutorial on SQL, specific to Postgresql, which spans several chapters. It builds from the ground up, so if you've never used SQL before, this book provides a good introduction to that topic. It covers the standard SQL topics including the various types of queries, join types, data types, vnd iews.

This introduction to SQL continues with coverage of all the operators and functions available in Postgresql, providing a very good reference for these topics. For each function covered basic usage, a description, and an example is provided. Continuing, the book discusses the different client interfaces for working with Postgresql, specifically the command-line psql and the graphical Tcl/Tk-based Postgresql Access.

The next section of the book covers basic database administration including discussion of authentication and encryption, basic database tasks such as starting and stopping the database, creating databases, and backup and recovery procedures. This section also covers user and group management. The coverage is very thorough, including discussion of the important configuration files. Full lists of options for the different commands are given along with helpful descriptions and examples.

The last section of the book covers various programming topics, including a very good tutorial for PL/pgSQL, Postgresql's procedural language, which is simlar to Oracle's PL/SQL. This section also includes a chapter dedicated to Postgresql programming with Java via ODBC, and a chapter which covers the proprietary LXP application server which is distributed by the authors of the book. Finishing up the book is a very useful SQL command reference.

One thing I like very much about the book is the clear way in which command syntax is presented. Throughout the book, as new commands and tools are introduced, a full syntax diagram is displayed (or a full command-line option list), and then a clear explanation about each part of that syntax is given. In most cases an example then follows of the usage of that particular command or tool. Also very nice, is that most of the reference information about the SQL commands is then given again, all bundled together, but a bit more concisely in the reference at the end of the book. So the book serves very well as both a tutorial and a reference.

Although the book is very thorough, it isn't exhaustive. Two areas that I wish had been covered (but which I wouldn't be surprised to see in future editions) are rules, and user-defined data types. Also missing is in-depth coverage of some of the unique data types Postgresql provides such as network data types.

Overall rating: 9/10

This book is also freely available online from Command Prompt, Inc., as a "constantly developed version."

© 2002, Daniel C. Hanks.
Happiness
True love begins when the needs of others become more important than your own.
The practice of true love begets true happiness

Me

Daniel Hanks

I'm a system administrator working for Omniture

Interested in

perl
books
python
databases
genealogy
astronomy
digital archival
digital libraries
web applications
web infrastructure
distributed storage

among other things . . .

Storyteller


Pamela Hanks

is an excellent storyteller.

(She also happens to be my wife :-)

A storyteller makes a wonderful and unique addition to family, school, church or other group events. Schedule her for your next gathering.


Kiva.org
Kiva - loans that change lives

Recent Blog Entries

Subscribe with Bloglines
- OpenWest Conference 2014 Presentation Slides - Ansible
- OpenWest Conference 2013 Presentation Slides
- Utah Open Source Conference 2012 - Presentation slides
- E-Book Review: Data Mashups in R
- Book Review: Illustrated Guide to Astronomical Wonders
- Book Review: Wicked Cool Shell Scripts
- PLUG Presentation Slides: The Open Source Data Center
- Harnessing human computational power from computer games
- I love a good roadtrip
- FamilySearch Developers Conference 2008 presentations now available online
- FHT follow up: an idea for a mobile genealogical application
- Family history and technology: it's only getting better
- President Hinckley passes away
- December is NaBoMoReMo - National Book of Mormon Reading Month
- Family History, Photos, Blogs, and Books
- The Compact Oxford English Dictionary
- 1830s English and the Book of Mormon
- Google adds My Library feature to Book Search
- Utah Open Source Conference
- Wiki diagrammer (Steal this idea!)

All Entries . . .

LDSOSS
LDS Open Source Software
A website discussing the use of Open-source software for applications useful to those sharing values of the Latter-day Saint (Mormon) faith.

© 2009, Daniel C. Hanks