Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Learning PostgreSQL 10
Learning PostgreSQL 10

Learning PostgreSQL 10: A beginner's guide to building high-performance PostgreSQL database solutions , Second Edition

Arrow left icon
Profile Icon Juba Profile Icon Volkov
Arrow right icon
zł59.99 zł125.99
Full star icon Full star icon Half star icon Empty star icon Empty star icon 2.3 (6 Ratings)
eBook Dec 2017 488 pages 2nd Edition
eBook
zł59.99 zł125.99
Paperback
zł157.99
Subscription
Free Trial
Arrow left icon
Profile Icon Juba Profile Icon Volkov
Arrow right icon
zł59.99 zł125.99
Full star icon Full star icon Half star icon Empty star icon Empty star icon 2.3 (6 Ratings)
eBook Dec 2017 488 pages 2nd Edition
eBook
zł59.99 zł125.99
Paperback
zł157.99
Subscription
Free Trial
eBook
zł59.99 zł125.99
Paperback
zł157.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learning PostgreSQL 10

PostgreSQL in Action

PostgreSQL (pronounced Post-Gres-Q-L) or postgres for short is an open source object relational database management system. It emphasizes extensibility and creativity as well as compatibility. It competes with the major relational database vendors such as Oracle, MySQL, SQL servers, and others. It is used by different sectors including government agencies and the public and private sectors. It is a cross-platform DBMS, and runs on most modern operating systems including Windows, macOS, and Linux flavors. It conforms to SQL and is ACID-compliant.

In this chapter, we will explore several topics including:

  • PostgreSQL history.
  • Selected PostgreSQL forks. 
  • Companies utilizing PostgreSQL and success stories
  • PostgreSQL usage pattern.
  • PostgreSQL architecture, capabilities and features.
  • PostgreSQL installation on Linux as well as windows.
  • PostgreSQL client...

An overview of PostgreSQL

PostgreSQL (http://www.PostgreSQL.org/) has many rich features. It provides enterprise-level services including performance, unique features, and scalability. It has a very supportive community and very good documentation.

PostgreSQL history

PostgreSQL has started as a research project in the University of California at Berkeley (UCB), then it has been developed by the community in 1996, up till now PostgreSQL is actively developed by the PostgreSQL community as well as universities. The following time frames shows the history of PostgreSQL development:

  • 1977-1985, the Ingres project: Michael Stonebraker created an RDBMS based on the formal relational model
  • 1986-1994, postgres: Michael Stonebraker...

PostgreSQL capabilities

PostgreSQL provides enterprise-level services that guarantee the continuation of the business. For example, PostgreSQL supports replication, this enables the developers to provide high availability (HA) solutions. PostgreSQL can integrate data form different data sources , this makes it easy for developer to use it for extract , transform, and load (ETL) jobs .In addition to that PostgreSQL security is treated as a first class citizen and not as a good to have feature, security updates are shipped in minor releases. Finally, the features of PostgreSQL is uncountable, PostgreSQL provides advanced SQL statements, very rich extensions, and interactive tools. 

Replication

Replication allows data from...

Installing PostgreSQL

PostgreSQL can be installed on almost all modern operating systems. It can be installed on all recent Linux distributions, Windows 2000 SP4 and later, FreeBSD, OpenBSD, macOS, AIX, and Solaris. Also, PostgreSQL can work on various CPU architectures including x86, x86_64, IA64, and others. One can check whether a platform (operating system and CPU architecture combination) is supported by exploring the PostgreSQL Build farm (http://buildfarm.PostgreSQL.org/). One can compile and install PostgreSQL from the source code or download its binary and install it.

In order to automate PostgreSQL installation and to reduce server administrative tasks, it is recommended to use PostgreSQL binaries, which come with the operating system packaging system. This approach normally has one drawback: not up-to-date binaries. However, the PostgreSQL official website maintains...

Summary

PostgreSQL is an open source, object-oriented relational database system. It supports many advanced features and complies with the ANSI-SQL standard. It has won industry recognition and user appreciation. The PostgreSQL slogan The world's most advanced open source database reflects the sophistication of the PostgreSQL features. It is a result of many years of research and collaboration between academia and industry. Start-up companies often favor PostgreSQL due to licensing costs and it can aid profitable business models. PostgreSQL is also favored by many developers because of its capabilities and advantages.

PostgreSQL can be used for OLTP and OLAP applications. It is ACID compliant; thus, it can be used out of the box for OLTP applications. For OLAP applications, PostgreSQL supports the Windows functions, FDW, and table inheritance. Also, there are many external...

Left arrow icon Right arrow icon

Key benefits

  • • Be introduced to the concept of relational databases and PostgreSQL, one of the fastest growing open source databases in the world
  • • Learn client-side and server-side programming in PostgreSQL, and how to administer PostgreSQL databases
  • • Discover tips on implementing efficient database solutions with PostgreSQL 10

Description

PostgreSQL is one of the most popular open source databases in the world, supporting the most advanced features included in SQL standards. This book will familiarize you with the latest features released in PostgreSQL 10. We’ll start with a thorough introduction to PostgreSQL and the new features introduced in PostgreSQL 10. We’ll cover the Data Definition Language (DDL) with an emphasis on PostgreSQL, and the common DDL commands supported by ANSI SQL. You’ll learn to create tables, define integrity constraints, build indexes, and set up views and other schema objects. Moving on, we’ll cover the concepts of Data Manipulation Language (DML) and PostgreSQL server-side programming capabilities using PL/pgSQL. We’ll also explore the NoSQL capabilities of PostgreSQL and connect to your PostgreSQL database to manipulate data objects. By the end of this book, you’ll have a thorough understanding of the basics of PostgreSQL 10 and will have the necessary skills to build efficient database solutions.

Who is this book for?

If you're interested in learning more about PostgreSQL, one of the most popular relational databases in the world, then this book is for you. Those looking to build solid database or data warehousing applications with PostgreSQL 10 will also find this book a useful resource. No prior knowledge of database programming or administration is required to get started with this book.

What you will learn

  • Understand the fundamentals of relational databases, relational algebra, and data modeling
  • Install a PostgreSQL cluster, create a database, and implement your data model
  • Create tables and views, define indexes, and implement triggers, stored procedures, and other schema objects
  • Use the Structured Query Language (SQL) to manipulate data in the database
  • Implement business logic on the server side with triggers and stored procedures using PL/pgSQL
  • Make use of advanced data types supported by PostgreSQL 10: arrays, hstore, JSONB, and others
  • Develop OLAP database solutions using the most recent features of PostgreSQL 10
  • Connect your Python applications to a PostgreSQL database and work with data efficiently
  • Test your database code, find bottlenecks, improve performance, and enhance the reliability of database applications

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 01, 2017
Length: 488 pages
Edition : 2nd
Language : English
ISBN-13 : 9781788470667
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Dec 01, 2017
Length: 488 pages
Edition : 2nd
Language : English
ISBN-13 : 9781788470667
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 602.97
Mastering PostgreSQL 10
zł177.99
Learning PostgreSQL 10
zł157.99
PostgreSQL Administration Cookbook, 9.5/9.6 Edition
zł266.99
Total 602.97 Stars icon

Table of Contents

16 Chapters
Relational Databases Chevron down icon Chevron up icon
PostgreSQL in Action Chevron down icon Chevron up icon
PostgreSQL Basic Building Blocks Chevron down icon Chevron up icon
PostgreSQL Advanced Building Blocks Chevron down icon Chevron up icon
SQL Language Chevron down icon Chevron up icon
Advanced Query Writing Chevron down icon Chevron up icon
Server-Side Programming with PL/pgSQL Chevron down icon Chevron up icon
OLAP and Data Warehousing Chevron down icon Chevron up icon
Beyond Conventional Data Types Chevron down icon Chevron up icon
Transactions and Concurrency Control Chevron down icon Chevron up icon
PostgreSQL Security Chevron down icon Chevron up icon
The PostgreSQL Catalog Chevron down icon Chevron up icon
Optimizing Database Performance Chevron down icon Chevron up icon
Testing Chevron down icon Chevron up icon
Using PostgreSQL in Python Applications Chevron down icon Chevron up icon
Scalability Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Half star icon Empty star icon Empty star icon 2.3
(6 Ratings)
5 star 33.3%
4 star 0%
3 star 0%
2 star 0%
1 star 66.7%
Filter icon Filter
Top Reviews

Filter reviews by




Amazon Customer Oct 29, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good bookStep by step approach
Amazon Verified review Amazon
Amazon Customer Nov 20, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great for explaining posgreSQL for a beginner
Amazon Verified review Amazon
PK Feb 27, 2019
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
As with all Packt Publishing books, this is rough. The index is useless (it doesn't even include obvious words such as 'varchar'), so the book isn't useful as a reference. It *might* be of some value to somebody who already knows quite a bit of Postgres, and who wants yet another book full of tips.It's certainly not appropriate for a learner. Obscure commands are introduced before the basics have been explained. Code is thrown in without explanation. Concepts are explained badly, in broken English. Even the diagrams look like a rough draft. And, like all Packt Books, there's at least one typo in every paragraph.Why does Packt claim to have technical editors and proof-readers, when they are so obviously incompetent? Why does the indexer even want her name printed in the book? I would be ashamed to have been responsible for a book like this. (Although, to be fair, her name, Rehka, is appropriate.)Packt goes for volume rather than quality. I have six Packt books on Postgres, most of which are valueless. They are produced in India, presumably for a much less demanding market, using the cheapest editors they can find in the back-streets. What is particularly galling is the dishonest claim at the beginning of the book that 'quality is at the heart of our editorial process'. You don't get 'quality' from non-native proof-readers, inexperienced indexers and unsupervised first-time authors.
Amazon Verified review Amazon
Amazon Customer Jun 25, 2023
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
I completely agree with the sentiment of the reviewer with initials PK. This book is way over complicated and is too technical for leaning a new concept. Examples are obscure and don't provide enough simplicity for understanding. Like PK pointed out, the index is a complete after thought, or perhaps, no thought at all. I would give this book zero stars if permitted.
Amazon Verified review Amazon
EJM & ASM May 17, 2021
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
I know it's a 4 year old book and PostgreSQL10 is about the same age but to declare it's a Second Edition is just embarrassing. I'm not sure what was changed but there is no way in the world that editorial changes were made. If you can get through a single page without finding a punctuation misplacement, spelling error, or grammatical mistake, you aren't actually reading this book. The class I'm taking is using this as a textbook and I'll read the code they present but I can't be sure if there's a mistake or I'm just not smart enough to understand the code. It is so poorly written that it is actually preventing me from learning the concepts. Needless to say, avoid this book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.