PostgreSQL query optimization : the ultimate guide to building efficient queries / Henrietta Dombrovskaya, Boris Novikov, Anna Bailliekova.
2021
QA76.9.D3 D66 2021
Linked e-resources
Linked Resource
Online Access
Concurrent users
Unlimited
Authorized users
Authorized users
Document Delivery Supplied
Can lend chapters, not whole ebooks
Details
Title
PostgreSQL query optimization : the ultimate guide to building efficient queries / Henrietta Dombrovskaya, Boris Novikov, Anna Bailliekova.
ISBN
9781484268858 electronic book
1484268857 electronic book
9781484268841
1484268849
1484268857 electronic book
9781484268841
1484268849
Published
[New York, NY] : Apress, [2021]
Language
English
Description
1 online resource (xxiii, 319 pages) : illustrations (some color)
Item Number
10.1007/978-1-4842-6885-8 doi
Call Number
QA76.9.D3 D66 2021
Dewey Decimal Classification
005.74
Summary
Write optimized queries. This book helps you write queries that perform fast and deliver results on time. You will learn that query optimization is not a dark art practiced by a small, secretive cabal of sorcerers. Any motivated professional can learn to write efficient queries from the get-go and capably optimize existing queries. You will learn to look at the process of writing a query from the database engine's point of view, and know how to think like the database optimizer. The book begins with a discussion of what a performant system is and progresses to measuring performance and setting performance goals. It introduces different classes of queries and optimization techniques suitable to each, such as the use of indexes and specific join algorithms. You will learn to read and understand query execution plans along with techniques for influencing those plans for better performance. The book also covers advanced topics such as the use of functions and procedures, dynamic SQL, and generated queries. All of these techniques are then used together to produce performant applications, avoiding the pitfalls of object-relational mappers. You will: Identify optimization goals in OLTP and OLAP systems Read and understand PostgreSQL execution plans Distinguish between short queries and long queries Choose the right optimization technique for each query type Identify indexes that will improve query performance Optimize full table scans Avoid the pitfalls of object-relational mapping systems Optimize the entire application rather than just database queries.
Note
Includes index.
Access Note
Access limited to authorized users.
Source of Description
Description based on online resource; title from digital title page (viewed on June 03, 2022).
Added Author
Novikov, Boris, author.
Bailliekova, Anna, author.
Bailliekova, Anna, author.
Available in Other Form
Print version: 9781484268841
Linked Resources
Online Access
Record Appears in
Online Resources > Ebooks
All Resources
All Resources
Table of Contents
1. Why Optimize?
2. Theory: Yes, We Need It!
3. Even More Theory: Algorithms
4. Understanding Execution Plans
5. Short Queries and Indexes
6. Long Queries and Full Scans
7. Long Queries: Additional Techniques
8. Optimizing Data Modification
9. Design Matters
10. Application Development and Performance
11. Functions
12. Dynamic SQL
13. Avoiding the Pitfalls of Object-Relational Mapping
14. More Complex Filtering and Search
15. Ultimate Optimization Algorithm
16. Conclusion.
2. Theory: Yes, We Need It!
3. Even More Theory: Algorithms
4. Understanding Execution Plans
5. Short Queries and Indexes
6. Long Queries and Full Scans
7. Long Queries: Additional Techniques
8. Optimizing Data Modification
9. Design Matters
10. Application Development and Performance
11. Functions
12. Dynamic SQL
13. Avoiding the Pitfalls of Object-Relational Mapping
14. More Complex Filtering and Search
15. Ultimate Optimization Algorithm
16. Conclusion.