PostgreSQL 9.6性能优化与实战指南:2017最新版

5星 · 超过95%的资源 需积分: 0 36 下载量 3 浏览量 更新于2024-07-19 3 收藏 20.62MB PDF 举报
《PostgreSQL 9.6 高性能:优化、调试与基准测试》是一本专为数据库管理员和开发者编写的指南,针对 PostgreSQL 9.6 数据库服务器的优化和性能调优提供了深入的讲解。作者 Ibrar Ahmed 和 Gregory Smith 在书中详述了如何在当今对数据库解决方案的可扩展性和高可用性至关重要的背景下,配置新的数据库安装和优化现有服务器。 首先,本书从数据库性能的基本概念入手,强调在性能提升过程中不可避免的遇到问题,特别是当应用需要扩展时。读者将学习如何通过 PostgreSQL 工具和外部工具识别性能瓶颈,确保数据库和查询达到最佳性能。书中会介绍如何进行硬件基准测试和操作系统调优,以便为查询提供最佳性能支持,并且关注从硬件到查询的各个层面的监控。 接着,书中的内容将涵盖连接池管理,缓存技术,以及如何通过分区和复制来应对日益增长的数据负荷。这些都是提高系统处理能力的关键技术,可以帮助管理员有效管理并发访问和数据分布。 此外,本书还包含了对 SQL 查询优化的深入探讨,如使用正确的索引来加速查询执行。作者强调了在整个流程中的全面监控,包括硬件资源、操作系统性能、数据库操作以及应用程序行为。 版权信息表明,未经 Packt Publishing 的书面许可,不得复制或传播本书的任何部分,除非用于引用目的。尽管作者和出版社已尽力确保信息的准确性,但书中提供的所有内容均不附带任何形式的保证,包括明示或暗示的保证。同时,出版社及其经销商不对因本书导致的直接或间接损失承担责任。 《PostgreSQL 9.6 高性能》首次出版于 2017 年 5 月,是一本实用的参考资料,适合希望通过 PostgreSQL 9.6 实现数据库性能提升的专业人士和想要解决实际性能问题的读者。它不仅提供理论知识,也包含了许多实战技巧和案例分析,是数据库管理员和开发人员不可或缺的参考书籍。
2012-03-29 上传
Book Description Publication Date: October 20, 2010 Accelerate your PostgreSQL system 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. Approach 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. Editorial Reviews Review I found the book to be well-written (always a plus when reading technical books) and felt it covered quite a bit of depth given its ambitious scope. Overall, it was an informative and enjoyable read. --David Christensen This book is well written and very accurate, from what I can tell, a tribute both to the author and the highly competent reviewers. I doubt there is a single PostgreSQL user or developer who could not learn something useful from this book. --Andrew Dunstan From the Back Cover Who this book is written for 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. What you will learn from this book 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 Follow real examnples to learn how the server parameters operate and how they impact performance Monitor what happens on your server, both in and outside of the database Find the best add-on tools that extend to core PostgreSQL database Discover how to architect replicated systems using the latest features added to PostgreSQL 9.0 About the Author Gregory Smith is the principal consultant in the United States for international PostgreSQL services firm 2ndQuadrant. Based in Baltimore, MD, he's been providing database advice to clients in industries like manufacturing, finance, and web development for twenty years. Dedicated to open-source technology since early in his career, Greg turned to full-time PostgreSQL work by diving in at the source code level. He contributes regular feature patches to the core database and has written a variety of database tools. This book reflects the perspective that he's gained over the last few years as one of the most prolific sources of advice on the popular PostgreSQL community mailing lists. Product Details Paperback: 468 pages Publisher: Packt Publishing (October 20, 2010) Language: English ISBN-10: 184951030X ISBN-13: 978-1849510301