PostgreSQL 11 Server Side Programming Quick Start Guide: Effective database programming and interaction
暫譯: PostgreSQL 11 伺服器端程式設計快速入門指南:有效的資料庫程式設計與互動
Luca Ferrari
- 出版商: Packt Publishing
- 出版日期: 2018-11-29
- 售價: $1,830
- 貴賓價: 9.5 折 $1,739
- 語言: 英文
- 頁數: 260
- 裝訂: Paperback
- ISBN: 1789342228
- ISBN-13: 9781789342222
-
相關分類:
PostgreSQL、SQL、資料庫
海外代購書籍(需單獨結帳)
相關主題
商品描述
Extend PostgreSQL using PostgreSQL server programming to create, test, debug, and optimize a range of user-defined functions in your favorite programming language
Key Features
- Learn the concepts of PostgreSQL 11 with lots of real-world datasets and examples
- Learn queries, data replication, and database performance
- Extend the functionalities of your PostgreSQL instance to suit your organizational needs
Book Description
PostgreSQL is a rock-solid, scalable, and safe enterprise-level relational database. With a broad range of features and stability, it is ever increasing in popularity.This book shows you how to take advantage of PostgreSQL 11 features for server-side programming. Server-side programming enables strong data encapsulation and coherence.
The book begins with the importance of server-side programming and explains the risks of leaving all the checks outside the database. To build your capabilities further, you will learn how to write stored procedures, both functions and the new PostgreSQL 11 procedures, and create triggers to perform encapsulation and maintain data consistency.
You will also learn how to produce extensions, the easiest way to package your programs for easy and solid deployment on different PostgreSQL installations.
What you will learn
- Explore data encapsulation
- Write stored procedures in different languages
- Interact with transactions from within a function
- Get to grips with triggers and rules
- Create and manage custom data types
- Create extensions to package code and data
- Implement background workers and Inter-Process Communication (IPC)
- How to deal with foreign languages, in particular Java and Perl
Who this book is for
This book is for database administrators, data engineers, and database engineers who want to implement advanced functionalities and master complex administrative tasks with PostgreSQL 11.
Table of Contents
- PostgreSQL Server-side Programming
- Statement Tricks: UPSERTs, RETURNING, and CTEs
- The PL/pgSQL Language
- Stored Procedures
- PL/Perl and PL/Java
- Triggers
- Rules and the Query Rewriting System
- Extensions
- Inter Process Communications and Background Workers
- Custom Data Types
商品描述(中文翻譯)
**擴展 PostgreSQL,使用 PostgreSQL 伺服器程式設計來創建、測試、除錯和優化各種用戶自定義函數,使用您最喜愛的程式語言**
#### 主要特點
- 學習 PostgreSQL 11 的概念,並使用大量的實際數據集和範例
- 學習查詢、數據複製和數據庫性能
- 擴展您的 PostgreSQL 實例的功能,以滿足您的組織需求
#### 書籍描述
PostgreSQL 是一個穩固、可擴展且安全的企業級關聯數據庫。憑藉廣泛的功能和穩定性,它的受歡迎程度不斷上升。本書將向您展示如何利用 PostgreSQL 11 的功能進行伺服器端程式設計。伺服器端程式設計能夠實現強大的數據封裝和一致性。
本書首先介紹伺服器端程式設計的重要性,並解釋將所有檢查留在數據庫外部的風險。為了進一步提升您的能力,您將學習如何編寫存儲過程,包括函數和新的 PostgreSQL 11 程序,並創建觸發器以執行封裝並維護數據一致性。
您還將學習如何生成擴展,這是將您的程序打包以便在不同 PostgreSQL 安裝上輕鬆且穩固部署的最簡單方法。
#### 您將學習到的內容
- 探索數據封裝
- 使用不同語言編寫存儲過程
- 從函數內部與事務互動
- 理解觸發器和規則
- 創建和管理自定義數據類型
- 創建擴展以打包代碼和數據
- 實現背景工作者和進程間通信 (IPC)
- 如何處理外部語言,特別是 Java 和 Perl
#### 本書適合誰
本書適合希望實現高級功能並掌握複雜管理任務的數據庫管理員、數據工程師和數據庫工程師,特別是使用 PostgreSQL 11 的人。
#### 目錄
1. PostgreSQL 伺服器端程式設計
2. 語句技巧:UPSERTs、RETURNING 和 CTEs
3. PL/pgSQL 語言
4. 存儲過程
5. PL/Perl 和 PL/Java
6. 觸發器
7. 規則和查詢重寫系統
8. 擴展
9. 進程間通信和背景工作者
10. 自定義數據類型