Book description
Leverage the power of PostgreSQL 10 to design, administer and maintain a high-performance database solution
About This Book- Obtain optimal PostgreSQL 10 database performance, ranging from initial design to routine maintenance
- Fine tune the performance of your queries and avoid the common pitfalls that can slow your system down
- Contains tips and tricks on scaling successful database installations, and ensuring a highly available PostgreSQL solution
This book is designed for database administrators and PostgreSQL architects who already use or plan to exploit the features of PostgreSQL 10 to design and maintain a high-performance PostgreSQL database. A working knowledge of SQL, and some experience with PostgreSQL will be helpful in getting the most out of this book.
What You Will Learn- Learn best practices for scaling PostgreSQL 10 installations
- Discover the best hardware for developing high-performance PostgreSQL applications
- Benchmark your whole system – from hardware to application
- Learn by real examples how server parameters impact performance
- Discover PostgreSQL 10 features for partitioning and parallel query
- Monitor your server, both inside and outside the database
- Design and implement a good replication system on PostgreSQL 10
PostgreSQL database servers have a common set of problems that they encounter as their usage gets heavier and requirements get more demanding. Peek into the future of your PostgreSQL 10 database's problems today. Know the warning signs to look for and how to avoid the most common issues before they even happen.
Surprisingly, most PostgreSQL database applications evolve in the same way—choose the right hardware, tune the operating system and server memory use, optimize queries against the database and CPUs with the right indexes, and monitor every layer, from hardware to queries, using tools from inside and outside PostgreSQL. Also, using monitoring insight, PostgreSQL database applications continuously rework the design and configuration. On reaching the limits of a single server, they break things up; connection pooling, caching, partitioning, replication, and parallel queries can all help handle increasing database workloads.
By the end of this book, you will have all the knowledge you need to design, run, and manage your PostgreSQL solution while ensuring high performance and high availability
Style and approachThis book has been organized in such a manner that will help you understand basic PostgreSQL 10 performance tuning to an advanced-level configuration.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
-
PostgreSQL Versions
- Performance of historical PostgreSQL releases
- Choosing a version to deploy
- Upgrading to a newer major version
- Upgrades to PostgreSQL 8.3+ from earlier ones
- PostgreSQL or another database?
- PostgreSQL tools
- PostgreSQL contrib
- Finding contrib modules on your system
- Installing a contrib module from source
- Using a contrib module
- pgFoundry
- PGXN
- Additional PostgreSQL-related software
- PostgreSQL application scaling life cycle
- Performance tuning as a practice
- Summary
- Database Hardware
- Database Hardware Benchmarking
- Disk Setup
- Memory for Database Caching
- Server Configuration Tuning
- Routine Maintenance
- Database Benchmarking
-
Database Indexing
- Indexing example walkthrough
- Index creation and maintenance
- Index types
- Advanced index use
- Summary
- Query Optimization
- Database Activity and Statistics
- Monitoring and Trending
- Pooling and Caching
- Scaling with Replication
- Partitioning Data
- Avoiding Common Problems
- Other Books You May Enjoy
Product information
- Title: PostgreSQL 10 High Performance
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788474481
You might also like
book
PostgreSQL 9.0 High Performance
If you’re an intermediate to advanced database administrator, this book is the shortcut to optimizing and …
book
PostgreSQL: Up and Running
If you’re thinking about migrating to the PostgreSQL open source database system, this guide provides a …
book
Learning PostgreSQL 10 - Second Edition
Leverage the power of PostgreSQL 10 to build powerful database and data warehousing applications. About This …
book
PostgreSQL Replication - Second Edition
Leverage the power of PostgreSQL replication to make your databases more robust, secure, scalable, and fast …