Customers who viewed this item also viewed
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
Learn PostgreSQL: Build and manage high-performance database solutions using PostgreSQL 12 and 13
Purchase options and add-ons
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications using Postgres 12 and 13
Key Features
- Set up your database cluster and monitor, secure, and fine-tune it for optimal performance
- Learn the fundamentals of database management and implement client- and server-side programming using SQL and PL/pgSQL
- Explore useful tips to develop efficient PostgreSQL database solutions from scratch
Book Description
PostgreSQL is one of the fastest-growing open source object-relational database management systems (DBMS) in the world. As well as being easy to use, it's scalable and highly efficient. In this book, you'll explore PostgreSQL 12 and 13 and learn how to build database solutions using it. Complete with hands-on tutorials, this guide will teach you how to achieve the right database design required for a reliable environment.
You'll learn how to install and configure a PostgreSQL server and even manage users and connections. The book then progresses to key concepts of relational databases, before taking you through the Data Definition Language (DDL) and commonly used DDL commands. To build on your skills, you'll understand how to interact with the live cluster, create database objects, and use tools to connect to the live cluster. You'll then get to grips with creating tables, building indexes, and designing your database schema. Later, you'll explore the Data Manipulation Language (DML) and server-side programming capabilities of PostgreSQL using PL/pgSQL, before learning how to monitor, test, and troubleshoot your database application to ensure high-performance and reliability.
By the end of this book, you'll be well-versed with the Postgres database and be able to set up your own PostgreSQL instance and use it to build robust solutions.
What you will learn
- Understand how users and connections are managed by running a PostgreSQL instance
- Interact with transaction boundaries using server-side programming
- Identify bottlenecks to maintain your database efficiently
- Create and manage extensions to add new functionalities to your cluster
- Choose the best index type for each situation
- Use online tools to set up a memory configuration that will suit most databases
- Explore how Postgres can be used in multi-instance environments to provide high-availability, redundancy, and scalability
Who this book is for
This Postgres book is for anyone interested in learning about the PostgreSQL database from scratch. Anyone looking to build robust data warehousing applications and scale the database for high-availability and performance using the latest features of PostgreSQL will also find this book useful. Although prior knowledge of PostgreSQL is not required, familiarity with databases is expected.
Table of Contents
- Introduction to PostgreSQL 12
- Getting to know your cluster
- Managing users and connections
- Basic Statements
- Advanced Statements
- Window Functions
- Server Side Programming
- Triggers and Rules
- Partitioning
- Users, Roles, and Database Security
- Transactions, MVCC; WALs and Checkpoints
- Extending the database: the Extension ecosystem
- Indexes and Performance Optimization
- Logging and Auditing
- Backup and Restore
- Configuring and Monitoring
- Physical replication
- Logical Replication
- Useful Tools and Useful Extensions
- Towards PostgreSQL 13
- ISBN-10183898528X
- ISBN-13978-1838985288
- PublisherPackt Publishing
- Publication dateOctober 9, 2020
- LanguageEnglish
- Dimensions7.5 x 1.47 x 9.25 inches
- Print length650 pages
There is a newer edition of this item:
Deals on related products
Customers also bought or read
- PostgreSQL 16 Administration Cookbook: Solve real-world Database Administration challenges with 180+ practical recipes and best practices
Paperback$31.99$31.99Delivery Fri, May 1 - Learn PostgreSQL: Use, manage, and build secure and scalable databases with PostgreSQL 16
Paperback$44.99$44.99FREE delivery Fri, May 1 - The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling#1 Best SellerDatabase Storage & Design
Paperback$33.75$33.75Delivery Fri, May 1 - Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems#1 Best SellerMySQL Guides
Paperback$59.99$59.99FREE delivery Fri, May 1 - Database Internals: A Deep Dive into How Distributed Data Systems Work
Paperback$36.33$36.33FREE delivery Fri, May 1
Editorial Reviews
Review
"Despite the breadth of coverage, the book is not just a rehash of the official documentation. Everything is *explained*, not just listed. The examples are carefully chosen to be as simple as possible, but not too simple.
I'm a long time Postgres user, yet "Learn PostgreSQL" thought me some interesting stuff I've overlooked in all these years. I wish I had this book when I started using Postgres!"
--Chris Mair, Freelance Software Developer, Trainer, and Consultant
About the Author
Luca Ferrari has been passionate about computer science since the Commodore 64 era, and today holds a master's degree (with honors) and a Ph.D. from the University of Modena and Reggio Emilia. He has written several research papers, technical articles, and book chapters. In 2011, he was named an Adjunct Professor by Nipissing University. An avid Unix user, he is a strong advocate of open source, and in his free time, he collaborates with a few projects. He met PostgreSQL back in release 7.3; he was a founder and former president of the Italian PostgreSQL Community (ITPUG). He also talks regularly at technical conferences and events and delivers professional training.
Enrico Pirozzi has been passionate about computer science since he was a 13-year-old, his first computer was a Commodore 64, and today he holds a master's degree from the University of Bologna. He has participated as a speaker at national and international conferences on PostgreSQL. He met PostgreSQL back in release 7.2, he was a co-founder of the first PostgreSQL Italian mailing list and the first Italian PostgreSQL website, and he talks regularly at technical conferences and events and delivers professional training. Right now, he is employed as a PostgreSQL database administrator at Nexteam (Zucchetti Group S.p.a.).
Product details
- Publisher : Packt Publishing
- Publication date : October 9, 2020
- Language : English
- Print length : 650 pages
- ISBN-10 : 183898528X
- ISBN-13 : 978-1838985288
- Item Weight : 2.42 pounds
- Dimensions : 7.5 x 1.47 x 9.25 inches
- Best Sellers Rank: #3,478,703 in Books (See Top 100 in Books)
- #985 in Data Mining (Books)
- #1,487 in Database Storage & Design
- Customer Reviews:
About the authors

Luca is a Computer Science passionate since the Commodore 64 era, and today holds a Master Degree (with honor) and a PhD from University of Modena and Reggio Emilia.
He has written several research papers, technical articles and book chapters.
In 2011 he was titled Adjunct Professor by University of Nipissing.
An avid Unix user, he is a strong advocate of Open Source, and in his free time he collaborates to a few projects. He met PostgreSQL back to release 7.3; he was a founder and former president of the Italian PostgreSQL Users' Group (ITPUG), he talks regularly at technical conferences and events and does professional training.
In his teen-age he has been a quite proficient archer.
He lives in Italy with his beautiful wife, great son and two (female) cats.

Enrico Pirozzi has been passionate about computer science since he was a 13-year-old, his first computer was a Commodore 64, and today holds a master's degree from the University of Bologna. He has participated as a speaker at national and international conferences on PostgreSQL. He met PostgreSQL back in release 7.2; he was a co-founder of the first PostgreSQL Italian mailing list and the first Italian PostgreSQL website, he talks at technical conferences and events and delivers professional training at pgtraining.com. Right now he is employed as PostgreSQL Database Administrator at nexteam.it, a funny and intersting place where an hacker can work.
Products related to this item
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 February 18, 2023Format: KindleVerified PurchaseI have been looking for a resource to streamline my learning of postgresql and also learn SQL at the same time on Ubuntu 20.04 which ships with Postgresql 12. I have been scanning through this book and it seems to have everything I wanted. Info on psql and intro SQL material. I do not see the major issues that the other reviewer saw. I think it is perfectly readable and wish I had not been discuoraged by those comments initially. It is also evident in the sample of the book that formatting is fine. Just take a look.
- Reviewed in the United States on January 16, 2021Format: KindleVerified PurchaseNot the author's fault but anybody intending to buy the Kindle version needs to know this. When you get to the part on SQL commands like insert and select, the number of characters per line decrease and decrease until there's only one per line. Simply unacceptable.
Top reviews from other countries
Kindleのお客様Reviewed in Japan on March 15, 20232.0 out of 5 stars Poor writting, broken examples
Format: PaperbackVerified PurchaseNot too happy with this one. The writing is poor and the examples are confusing. Sometimes the examples don't even use the feature they are supposed to be showing. The whole thing feels unorganized and just thrown together in random order without much thought. It also lacks the depth that I was hoping for.
-
fkasulkeReviewed in Germany on March 24, 20215.0 out of 5 stars Sehr gutes Buch zum Nachlesen für die Administration
Format: PaperbackVerified PurchaseIch liebe Fach-Bücher. Da kann man eine Randnotiz hinzufügen und auch ein paar Blätter einlegen, wenn im Inhalt mal was fehlt. Ich geniesse es, bequem im Sessel zu sitzen, anstatt verkrampft auf den Bildschirm zu starren.
Nach 2 Tagen habe ich die Replikation und die Partitionierung mit Bedingungen eingerichtet.
Inhalt ist gut strukturiert und ausreichend ausführlich, was bei "modernen Fach-Comics" anderer Verlage nicht immer der Fall ist.
-
JOSE R.Reviewed in Spain on December 7, 20204.0 out of 5 stars Balanceado
Format: PaperbackVerified PurchaseEl libro no entra en todas y cada una de las posibilidades de cada concepto y comando, enseña lo necesario para empezar de forma que no abrume, pero si cita donde se pueden ampliar los conocimientos.
Me leí la documentación oficial, y para empezar y aprender es mejor un libro de estas características, luego cada uno es libre de profundizar mas en cada tema. Lo bueno es que como digo no abruma y da buenas explicaciones. Una vez acabe el libro, se consigue un nivel básico que ayuda a saber donde seguir para profundizar mas, de forma amena, pero sin escatimar en las explicaciones cuando hay que darlas.










