Start reading Beginning Databases with PostgreSQL on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Beginning Databases with PostgreSQL: From Novice to Professional

Beginning Databases with PostgreSQL: From Novice to Professional [Kindle Edition]

Richard Stones , Neil Matthew
2.5 out of 5 stars  See all reviews (2 customer reviews)

Print List Price: £35.49
Kindle Price: £18.52 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £16.97 (48%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £18.52  
Paperback £35.49  
Kindle Summer Sale: Over 500 Books from £0.99
Have you seen the Kindle Summer Sale yet? Browse selected books from popular authors and debut novelists, including new releases and bestsellers. Learn more

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Customers Who Viewed This Item Also Viewed

Product Description

Product Description

PostgreSQL is arguably the most powerful open-source relational database system. It has grown from academic research beginnings into a functionally-rich, standards-compliant, and enterprise-ready database used by organizations all over the world. And it’s completely free to use.

Beginning Databases with PostgreSQL offers readers a thorough overview of database basics, starting with an explanation of why you might need to use a database, and following with a summary of what different database types have to offer when compared to alternatives like spreadsheets. You’ll also learn all about relational database design topics such as the SQL query language, and introduce core principles including normalization and referential integrity.

The book continues with a complete tutorial on PostgreSQL features and functions and include information on database construction and administration. Key features such as transactions, stored procedures and triggers are covered, along with many of the capabilities new to version 8. To help you get started quickly, step-by-step instructions on installing PostgreSQL on Windows and Linux/UNIX systems are included.

In the remainder of the book, we show you how to make the most of PostgreSQL features in your own applications using a wide range of programming languages, including C, Perl, PHP, Java and C#. Many example programs are presented in the book, and all are available for download from the Apress web site.

By the end of the book you will be able to install, use, and effectively manage a PostgreSQL server, design and implement a database, and create and deploy your own database applications.

Product details

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

5 star
3 star
2 star
2.5 out of 5 stars
2.5 out of 5 stars
Most Helpful Customer Reviews
9 of 9 people found the following review helpful
4.0 out of 5 stars Good basic introduction 16 May 2008
If your new to relational databases and don't know much about PostgreSQL, you'll find this book a great introduction. It doesn't cover all of the new features, nor does it cover many advanced features. But what it does cover it does well, with well written text and good examples.

If you already know what you're doing you will probably want more, but you might want this one just to get you started if you can afford more than one book on the subject.
Comment | 
Was this review helpful to you?
Format:Kindle Edition
I felt like I was reading a book printed with a very small font on a very glossy papier at noon during very sunny day. I definittely cannot recoment this book.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.7 out of 5 stars  23 reviews
26 of 26 people found the following review helpful
4.0 out of 5 stars Useful, but has limitations 6 Mar 2007
By One more opinion - Published on
This book would be better labeled "Beginning Databases with Postgresql - From Novice to Amateur with a few Provisos."

This book is good for getting you to the stage where you have some basic confidence in using PostgreSQL (an excellent database). Do NOT expect to be able to learn what it is you are learning Postgres for without a great deal of googling, hanging out on the #postgresql irc channel (hint: type ?? and topic, VERY useful), searching the mailing list archives, reading the online documentation (which is very useful), and of course, liberal use of \? and \h in psql.

After you have some basic familiarity with Postgres you will still use Matthew and Stones from time to time, looking up syntax etc. For that it is useful.

One of the most annoying things is that it promotes bad database design through the "bpsimple" and "bpfinal" sample databases. Anyone using such a database would be constantly having to clean out garbage data in their database. Take for example their customer table. Their only unique constraint is the primary key, customer_id. If they don't have either a multiple column primary key or some other unique constraint, they will constantly be getting duplicate customers.

At least when I was learning MS Access the books I used taught me good principles such that I am not having to deal with duplicate values years later.

Unfortunately due to the dearth of Postgresql books this is still one of the better offerings. I would give it 3 stars if there was more competition.
36 of 39 people found the following review helpful
4.0 out of 5 stars learn general SQL 25 April 2005
By W Boudville - Published on
The book serves two audiences. One is those seeking to learn SQL. The other is those wanting to learn Postgresql. Naturally there is some overlap. But consider the first group. There are indeed several good texts on the theory of relational databases and using SQL to access and change these tables. But the books often deal at an abstract level that does not use a specific SQL implementation. Which makes it very hard to learn SQL. As a practical matter, you need to commit to an implementation, even just as a pedagogic decision. Well, as the authors explain, Postgresql is a good choice. It conforms broadly to SQL92 and is free open source. (The only other major free alternative being MySQL.) After all, you typically can't get onto a free copy of Oracle 10g or IBM's dB2 to learn from.

So just from this standpoint, the book gives you a solid learning experience with SQL. Eminently transportable to a job involving a proprietary SQL, like those mentioned above. Of course, those have unique tweaks. But the methods described here are universal to the field.

Now what if you want to actually learn Postgresql? There are chapters on using it from the command line and so on. The book also devotes a chapter each to getting at Postgresql from C, PHP, Perl, Java and C#. Typically, you are unlikely to need all of these chapters. But it shows the flexibility of the database.
14 of 15 people found the following review helpful
5.0 out of 5 stars Great overview of database theory and PostgreSQL use 25 Jun 2005
By Harold McFarland - Published on
Despite the fact that many books claim to be for everyone from the beginner to the professional this book is one of the few that actually hits the mark. Not content to just dive right into PostgreSQL and how to us it, the authors include a lot of database history and theory that is sadly lacking from similar books. But it is not just for beginners. The authors include more advances sections on things like accessing the database using C, PHP, Perl, Java, and C#.

Between this beginning user and advanced user level the authors fill in all the intermediate parts so the book ends up providing a well-organized education from the principles of database design through database setup, query, ODBC access setup, and using a programming or scripting language to accessing and updating the database. The book also includes detailed information on selection procedures, data manipulation, functions, stored procedures, triggers, and PostgreSQL Administration. As a result you end up with a book where the database theory applies to all relational databases and as it becomes more technical in nature it moves from there to information specific to PostgreSQL for the advanced user, administrator, or programmer. Beginning Databases with PostgreSQL, Second Edition is highly recommended to anyone interested in using this particular SQL engine.
10 of 10 people found the following review helpful
3.0 out of 5 stars Average for Apress 16 April 2010
By HugeStakkaBoFan - Published on
Format:Paperback|Verified Purchase
This isn't really a bad book, but given the clarity with which PostgreSQL's official (and free) documentation is written, a lot of it also isn't necessary. Sure, it's really thick, but a lot of those pages are dedicated to really ugly screenshots and Windows-specific silliness I'm willing to bet few members of this product's target audience are particularly interested in. There are also entire chapters dedicated to C# and Java APIs which should probably be separate books if they really wanted to do justice to such topics--their inclusion here just feels like pointless filler.

If you have absolutely no idea what SQL is and want to get your feet wet with Postgres, then this is absolutely the book for you. If you have a pretty good idea what you're doing and just want to pick up on some of Postgres' quirks, I'm not too sure you'll be getting your money's worth here. It just tries to cover way too much ground too quickly, and the information ends up getting stretched a little thin.
9 of 9 people found the following review helpful
5.0 out of 5 stars Great book 16 May 2006
By Guillaume Lelarge - Published on
Format:Paperback|Verified Purchase
I ordered this book because bundled it with « Beginning PHP and PostgreSQL 8 ». I must admit I was happily surprised. It's definitely more than a copy of the PostgreSQL manual. Explanations are simple to understand.

There's a chapter on database design, something really important to me.

Something that surprises me too is the big part on languages. The PostgreSQL manual focused on C with libpq and there's not much on other languages. This book brings a lot of informations with PHP, Perl, Java, C#.

This book also brings informations on new PostgreSQL 8 functionnalities (tablespace, $$ quoting). Unfortunately, there's nothing on release 8.1 (CREATE ROLE for example).

Finally, a great book to begin with, a reference for the rest of us.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
We can override defaults for the database name, username, server host name, and listening port by setting the environment variables PGDATABASE, PGUSER, PGHOST, and PGPORT, &quote;
Highlighted by 4 Kindle users
A slightly different way to use LIMIT is in conjunction with the OFFSET clause, which specifies a starting position. &quote;
Highlighted by 4 Kindle users
If you want to know how PostgreSQL will process a SQL statement, you can get it to tell you by prefixing the SQL with EXPLAIN. Rather than execute the statement, PostgreSQL will tell you how the statement would be processed. &quote;
Highlighted by 4 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category