Book Image

PostgreSQL 9.6 High Performance

By : Ibrar Ahmed, Gregory Smith
Book Image

PostgreSQL 9.6 High Performance

By: Ibrar Ahmed, Gregory Smith

Overview of this book

<p>Database administrators and developers spend years learning techniques to configure their PostgreSQL database servers for optimal performance, mostly when they encounter performance issues. Scalability and high availability of the database solution is equally important these days. This book will show you how to configure new database installations and optimize existing database server installations using PostgreSQL 9.6.</p> <p>You will start with the basic concepts of database performance, because all successful database applications are destined to eventually run into issues when scaling up their performance. You will not only learn to optimize your database and queries for optimal performance, but also detect the real performance bottlenecks using PostgreSQL tools and some external tools. Next, you will learn how to benchmark your hardware and tune your operating system. Optimize your queries against the database with the help of right indexes, and monitor every layer, ranging from hardware to queries. Moving on, you will see how connection pooling, caching, partitioning, and replication will help you handle increasing database workloads.</p> <p>Achieving high database performance is not easy, but you can learn it by using the right guide—PostgreSQL 9.6 High Performance.</p>
Table of Contents (25 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Performance features in version 9.6


This PostgreSQL release focuses on one of the major performance features which is called parallelism of existing features. This release adds parallelism in sequential scans, joins, and aggregates. This also added new postgres_fdw remote joins, sorts, UPDATEs, and DELETEs. Here is the list of some performance features but you can always get the complete listing from here:

https://www.postgresql.org/docs/9.6/static/release-9-6.html

Let's look at the features:

  • Allow old MVCC snapshots to be invalidated after a configurable timeout
  • Index-only scan can be used even if restriction clause column not indexed
  • Perform checkpoint writes in sorted order, instead of random order
  • Improve the performance of aggregate-function by dividing the calculation across multiple aggregates
  • Allow tuple hint bits to be set sooner than before
  • Improve performance of short-lived prepared transactions, resource owners with many tracked objects, and memory context destruction
  • Improve the performance...