Book description
If you’re an intermediate to advanced database administrator, this book is the shortcut to optimizing and troubleshooting your PostgreSQL database. With a balanced mix of theory and practice, it will quickly hone your expertise.
- Learn the right techniques to obtain optimal PostgreSQL database performance, from initial design to routine maintenance
- Discover the techniques used to scale successful database installations
- Avoid the common pitfalls that can slow your system down
- Filled with advice about what you should be doing; how to build experimental databases to explore performance topics, and then move what you've learned into a production database environment
- Covers versions 8.1 through 9.0
In Detail
PostgreSQL database servers have a common set of problems they encounter as their usage gets heavier and requirements more demanding. You could spend years discovering solutions to them all, step by step as you encounter them. Or you can just look in here.
All successful database applications are destined to eventually run into issues scaling up their performance. Peek into the future of your PostgreSQL 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, with the right indexes. Monitor every layer, from hardware to queries, using some tools that are inside PostgreSQL and others that are external.
Using monitoring insight, continuously rework the design and configuration. On reaching the limits of a single server, break things up; connection pooling, caching, partitioning, and replication can all help handle increasing database workloads.
The path to a high performance database system isn't always easy. But it doesn't have to be mysterious with the right guide.
A clear, step-by-step guide to optimizing and scaling up PostgreSQL database servers
Publisher resources
Table of contents
-
PostgreSQL 9.0 High Performance
- PostgreSQL 9.0 High Performance
- Credits
- About the Author
- About the Reviewers
- Preface
- 1. PostgreSQL Versions
- 2. Database Hardware
- 3. Database Hardware Benchmarking
- 4. Disk Setup
- 5. Memory for Database Caching
- 6. Server Configuration Tuning
- 7. Routine Maintenance
- 8. Database Benchmarking
-
9. Database Indexing
- Indexing example walkthrough
- Index creation and maintenance
- Index types
- Advanced index use
- Summary
- 10. Query Optimization
- 11. Database Activity and Statistics
- 12. Monitoring and Trending
- 13. Pooling and Caching
- 14. Scaling with Replication
-
15. Partitioning Data
-
Table range partitioning
- Determining a key field to partition over
- Sizing the partitions
- Creating the partitions
- Redirecting INSERT statements to the partitions
- Empty partition query plans
- Date change update trigger
- Live migration of a partitioned table
- Partitioned queries
- Creating new partitions
- Partitioning advantages
- Common partitioning mistakes
- Horizontal partitioning with PL/Proxy
- Summary
-
Table range partitioning
- 16. Avoiding Common Problems
Product information
- Title: PostgreSQL 9.0 High Performance
- Author(s):
- Release date: October 2010
- Publisher(s): Packt Publishing
- ISBN: 9781849510301
You might also like
video
The Complete Excel Guide: Beginners to Advanced
Everyone knows that the Microsoft Office suite is used by millions worldwide. Unlocking its full potential …
video
Practical Python: Learn Python Basics Step by Step - Python 3
Python is one of the most popular programming languages and gives a lot of scope and …
video
Machine Learning for Absolute Beginners - Level 1
Instead of using hard-coded rules for performing something, artificial intelligence (AI) and machine learning (ML) prepare …
video
Microsoft Power BI - The Complete Masterclass [2023 EDITION]
Microsoft Power BI is an interactive data visualization software primarily focusing on business intelligence, part of …