PostgreSQL 9.0 High Performance
Formats:

save 15%!
save 44%!

Also available on: |
![]() ![]() ![]() ![]() ![]() |
- 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
Book Details
Language : EnglishPaperback : 468 pages [ 235mm x 191mm ]
Release Date : October 2010
ISBN : 184951030X
ISBN 13 : 9781849510301
Author(s) : Gregory Smith
Topics and Technologies : All Books, Big Data and Business Intelligence, Open Source
Table of Contents
Preface
Chapter 1: PostgreSQL Versions
Chapter 2: Database Hardware
Chapter 3: Database Hardware Benchmarking
Chapter 4: Disk Setup
Chapter 5: Memory for Database Caching
Chapter 6: Server Configuration Tuning
Chapter 7: Routine Maintenance
Chapter 8: Database Benchmarking
Chapter 9: Database Indexing
Chapter 10: Query Optimization
Chapter 11: Database Activity and Statistics
Chapter 12: Monitoring and Trending
Chapter 13: Pooling and Caching
Chapter 14: Scaling with Replication
Chapter 15: Partitioning Data
Chapter 16: Avoiding Common Problems
Index
Gregory Smith
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 1 submitted: last submission 02 May 2013Errata type: Typo | Page number: 126
"archive_command | sihup" should be "archive_command | sighup"
Errata type: Typo | Page number: 256
"This plan is dramatically easier to read than the earlier behavior, and can be forced by turning off the new optimization."
should be
"This plan is dramatically easier to read than the earlier behavior, and can be enforced by turning off the new optimization."
Errata type: Code | Page number: 90
The database configuration parameter name is incorrectly stated as:
'open_datasync=fsync_writethrough'
it should be
'wal_sync_method=fsync_writethrough'."
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Learn best practices culled from years of work scaling PostgreSQL installations to handle demanding applications
- Uncover what makes hardware good or bad for high-performance database applications
- Investigate making informed speed and reliability trade-offs
- Tweak your operating system for best database performance
- Benchmark your whole system from hardware to application
- Learn how the server parameters that impact performance work using real examples
- Understand how the query optimizer makes its decisions, and what to do when it makes the wrong ones
- Monitor what happens on your server, both in and outside of the database
- Find the best add-on tools that extend the core PostgreSQL database
- Discover how to architect replicated systems using the latest features added to PostgreSQL 9.0
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
Improving database performance requires an equal mix of understanding theoretical concepts and working through hands-on examples. You'll find both here. Many of the examples given will be immediately useful for monitoring and improving your PostgreSQL deployments, providing insight into hard-to-obtain information about your database.
This book is aimed at intermediate to advanced database administrators using or planning to use PostgreSQL. Portions will also interest systems administrators looking to build or monitor a PostgreSQL installation, as well as developers interested in advanced database internals that impact application design.