Learning PostgreSQL

Create, develop and manage relational databases in real world applications using PostgreSQL
Preview in Mapt

Learning PostgreSQL

Salahaldin Juba, Achim Vannahme, Andrey Volkov

1 customer reviews
Create, develop and manage relational databases in real world applications using PostgreSQL
Mapt Subscription
FREE
$29.99/m after trial
eBook
$30.80
RRP $43.99
Save 29%
Print + eBook
$54.99
RRP $54.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$30.80
$54.99
$29.99p/m after trial
RRP $43.99
RRP $54.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning PostgreSQL Book Cover
Learning PostgreSQL
$ 43.99
$ 30.80
Mastering PostgreSQL 10 Book Cover
Mastering PostgreSQL 10
$ 43.99
$ 30.80
Buy 2 for $35.00
Save $52.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783989188
Paperback464 pages

Book Description

PostgreSQL is one of the most powerful and easy to use database management systems. It has strong support from the community and is being actively developed with a new release every year. PostgreSQL supports the most advanced features included in SQL standards. Also it provides NoSQL capabilities, and very rich data types and extensions. All that makes PostgreSQL a very attractive solution in various kinds of software systems.

The book starts with the introduction of relational databases with PostegreSQL. It then moves on to covering data definition language (DDL) with emphasis on PostgreSQL and common DDL commands supported by ANSI SQL. You will then learn the data manipulation language (DML), and advanced topics like locking and multi version concurrency control (MVCC). This will give you a very robust background to tune and troubleshoot your application. The book then covers the implementation of data models in the database such as creating tables, setting up integrity constraints, building indexes, defining views and other schema objects. Next, it will give you an overview about the NoSQL capabilities of PostgreSQL along with Hstore, XML, Json and arrays. Finally by the end of the book, you'll learn to use the JDBC driver and manipulate data objects in the Hibernate framework.

Table of Contents

Chapter 1: Relational Databases
Database management systems
Relational algebra
Data modeling
Summary
Chapter 2: PostgreSQL in Action
An overview of PostgreSQL
PostgreSQL capabilities
Installing PostgreSQL
Summary
Chapter 3: PostgreSQL Basic Building Blocks
Database coding
PostgreSQL objects hierarchy
PostgreSQL high-level object interaction
PostgreSQL database components
Summary
Chapter 4: PostgreSQL Advanced Building Blocks
Views
Indexes
Functions
PostgreSQL user-defined data types
Triggers and rule systems
Summary
Chapter 5: SQL Language
SQL fundamentals
Querying the data with the SELECT statement
Changing the data in the database
Summary
Chapter 6: Advanced Query Writing
Common table expressions
Window functions
Advanced SQL
Transaction isolation and multiversion concurrency control
Summary
Chapter 7: Server-Side Programming with PL/pgSQL
Introduction
PostgreSQL function parameters
The PostgreSQL PL/pgSQL control statements
Exception handling
Dynamic SQL
Summary
Chapter 8: PostgreSQL Security
Authentication in PostgreSQL
PostgreSQL default access privileges
PostgreSQL security levels
Encrypting data
Summary
Chapter 9: The PostgreSQL System Catalog and System Administration Functions
The system catalog
Getting the database cluster and client tools version
Terminating and canceling user sessions
Setting and getting database cluster settings
Getting the database and database object size
Cleaning up the database
Cleaning up data in the database
Managing database locks
Adding missing indexes on foreign keys and altering the default statistic
Getting the views dependency tree
Summary
Chapter 10: Optimizing Database Performance
PostgreSQL configuration tuning
Tuning PostgreSQL queries
Cross column correlation
Table partitioning
Summary
Chapter 11: Beyond Conventional Data types
PostgreSQL arrays
Hash store
The PostgreSQL JSON data type
A PostgreSQL full text search
Summary
Chapter 12: Testing
Unit testing
Schema difference
The interfaces test
PostgreSQL benchmarks
Summary
Chapter 13: PostgreSQL JDBC
Introduction to JDBC
Connecting to a PostgreSQL database
Issuing a query and processing the results
Function handling
Design considerations
Summary
Chapter 14: PostgreSQL and Hibernate
Introduction to ORM and Hibernate
Installation and configuration
Working with entities
Summary

What You Will Learn

  • Learn concepts of data modelling and relation algebra
  • Install and set up PostgreSQL database server and client software
  • Implement data structures in PostgreSQL
  • Manipulate data in the database using SQL
  • Implement data processing logic in the database with stored functions, triggers and views
  • Test database solutions and assess the performance
  • Integrate database with Java applications
  • Detailed knowledge of the main PostgreSQL building objects, most used extensions
  • Practice database development life cycle including analysis, modelling, (documentation), testing, bug fixes and refactoring

Authors

Table of Contents

Chapter 1: Relational Databases
Database management systems
Relational algebra
Data modeling
Summary
Chapter 2: PostgreSQL in Action
An overview of PostgreSQL
PostgreSQL capabilities
Installing PostgreSQL
Summary
Chapter 3: PostgreSQL Basic Building Blocks
Database coding
PostgreSQL objects hierarchy
PostgreSQL high-level object interaction
PostgreSQL database components
Summary
Chapter 4: PostgreSQL Advanced Building Blocks
Views
Indexes
Functions
PostgreSQL user-defined data types
Triggers and rule systems
Summary
Chapter 5: SQL Language
SQL fundamentals
Querying the data with the SELECT statement
Changing the data in the database
Summary
Chapter 6: Advanced Query Writing
Common table expressions
Window functions
Advanced SQL
Transaction isolation and multiversion concurrency control
Summary
Chapter 7: Server-Side Programming with PL/pgSQL
Introduction
PostgreSQL function parameters
The PostgreSQL PL/pgSQL control statements
Exception handling
Dynamic SQL
Summary
Chapter 8: PostgreSQL Security
Authentication in PostgreSQL
PostgreSQL default access privileges
PostgreSQL security levels
Encrypting data
Summary
Chapter 9: The PostgreSQL System Catalog and System Administration Functions
The system catalog
Getting the database cluster and client tools version
Terminating and canceling user sessions
Setting and getting database cluster settings
Getting the database and database object size
Cleaning up the database
Cleaning up data in the database
Managing database locks
Adding missing indexes on foreign keys and altering the default statistic
Getting the views dependency tree
Summary
Chapter 10: Optimizing Database Performance
PostgreSQL configuration tuning
Tuning PostgreSQL queries
Cross column correlation
Table partitioning
Summary
Chapter 11: Beyond Conventional Data types
PostgreSQL arrays
Hash store
The PostgreSQL JSON data type
A PostgreSQL full text search
Summary
Chapter 12: Testing
Unit testing
Schema difference
The interfaces test
PostgreSQL benchmarks
Summary
Chapter 13: PostgreSQL JDBC
Introduction to JDBC
Connecting to a PostgreSQL database
Issuing a query and processing the results
Function handling
Design considerations
Summary
Chapter 14: PostgreSQL and Hibernate
Introduction to ORM and Hibernate
Installation and configuration
Working with entities
Summary

Book Details

ISBN 139781783989188
Paperback464 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
PostgreSQL Administration Essentials Book Cover
PostgreSQL Administration Essentials
$ 16.99
$ 11.90
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Functional Python Programming Book Cover
Functional Python Programming
$ 29.99
$ 21.00
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40