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

Salahaldin Juba, Andrey Volkov

買這商品的人也買了...

商品描述

Leverage the power of PostgreSQL 10 to build powerful database and data warehousing applications.

Key Features

  • 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

Book Description

PostgreSQL is one of the most popular open source databases in the world, and supports the most advanced features included in SQL standards and beyond. This book will familiarize you with the latest new features released in PostgreSQL 10, and get you up and running with building efficient PostgreSQL database solutions from scratch.

We'll start with the concepts of relational databases and their core principles. Then you'll get 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, you'll get to know the concepts of Data Manipulation Language (DML) and PostgreSQL server-side programming capabilities using PL/pgSQL. This will give you a very robust background to develop, tune, test, and troubleshoot your database application. 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.

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 the data efficiently
  • Test your database code, find bottlenecks, improve performance, and enhance the reliability of the database applications

Who This Book Is 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.

Table of Contents

  1. Relational Databases
  2. PostgreSQL in Action
  3. PostgreSQL Basic Building Blocks
  4. PostgreSQL Advanced Building Blocks
  5. SQL Language
  6. Advanced Query Writing
  7. Server-Side Programming with PL/pgSQL
  8. OLAP and Data Warehousing
  9. Beyond Conventional Data types
  10. Transaction isolation, locks and MVCC
  11. PostgreSQL Security
  12. The PostgreSQL System Catalog and System Administration Functions
  13. Optimizing Database Performance
  14. Testing
  15. Using PostgreSQL in Python application
  16. Scalability

商品描述(中文翻譯)

發揮 PostgreSQL 10 的威力,打造強大的資料庫和資料倉儲應用程式。

主要特點:

- 介紹關聯式資料庫和 PostgreSQL 的概念,後者是全球增長最快的開源資料庫之一。
- 學習 PostgreSQL 的客戶端和伺服器端程式設計,以及如何管理 PostgreSQL 資料庫。
- 探索使用 PostgreSQL 10 實現高效資料庫解決方案的技巧。

書籍描述:

PostgreSQL 是全球最受歡迎的開源資料庫之一,支援包括 SQL 標準和更多進階功能。本書將使您熟悉 PostgreSQL 10 中最新的新功能,並從頭開始建立高效的 PostgreSQL 資料庫解決方案。

我們將從關聯式資料庫的概念和核心原則開始。然後,您將全面介紹 PostgreSQL 和 PostgreSQL 10 中引入的新功能。我們將重點介紹資料定義語言(DDL),並介紹 ANSI SQL 支援的常見 DDL 命令。您將學習如何創建表格、定義完整性約束、建立索引,以及設置視圖和其他模式物件。

接下來,您將了解資料操作語言(DML)的概念,以及使用 PL/pgSQL 進行 PostgreSQL 伺服器端程式設計的能力。這將為您開發、調整、測試和疑難排解資料庫應用程式提供堅實的背景。我們還將探索 PostgreSQL 的 NoSQL 功能,並連接到 PostgreSQL 資料庫以操作資料物件。

通過閱讀本書,您將全面了解 PostgreSQL 10 的基礎知識,並具備構建高效資料庫解決方案所需的必要技能。

您將學到的內容:

- 理解關聯式資料庫、關聯代數和資料建模的基礎知識。
- 安裝 PostgreSQL 叢集,建立資料庫,並實現資料模型。
- 創建表格和視圖,定義索引,實現觸發器、儲存過程和其他模式物件。
- 使用結構化查詢語言(SQL)操作資料庫中的資料。
- 使用 PL/pgSQL 在伺服器端實現業務邏輯。
- 利用 PostgreSQL 10 支援的高級資料類型:陣列、hstore、JSONB 等。
- 使用 PostgreSQL 10 的最新功能開發 OLAP 資料庫解決方案。
- 將 Python 應用程式連接到 PostgreSQL 資料庫,並有效地處理資料。
- 測試資料庫程式碼,找出瓶頸,提高性能,增強資料庫應用程式的可靠性。

本書適合對 PostgreSQL(全球最受歡迎的關聯式資料庫之一)有興趣的讀者。那些希望使用 PostgreSQL 10 建立穩固的資料庫或資料倉儲應用程式的讀者也會發現本書是一個有用的資源。閱讀本書不需要事先具備資料庫程式設計或管理的知識。

目錄:

1. 關聯式資料庫
2. PostgreSQL 實戰
3. PostgreSQL 基本建構模塊
4. PostgreSQL 進階建構模塊
5. SQL 語言
6. 高級查詢撰寫
7. 使用 PL/pgSQL 進行伺服器端程式設計
8. OLAP 和資料倉儲
9. 超越傳統資料類型
10. 交易隔離、鎖定和 MVCC
11. PostgreSQL 安全性
12. PostgreSQL 系統目錄和系統管理功能
13. 優化資料庫性能
14. 測試
15. 在 Python 應用程式中使用 PostgreSQL
16. 可擴展性