Accelerate your PostgreSQL system 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 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.
This book is awesome. It may take quite a while to internalize all the useful stuff that it says about PostgreSQL. Just the chapter about Query Optimization is worth buying it for.
The author is an experienced PostgreSQL administrator and he shares quite a lot of experience. If you're a programmer, it will help you understand a lot of things about PostgreSQL performance that you have never considered before – hard disk configuration and performance, the importance of the Write-Ahead Log and checkpoints, how MVCC is implemented and why some things are slower than expected (for example, `SELECT COUNT(*) FROM tablename` usually needs to do a full-table scan instead of just returning a number immediately).
I won't go into everything I've learned from the book, since it will take quite a while to read it. I'll just mention that you should definitely read it if you're serious about your work with PostgreSQL.
Definitely full of useful advice, often with detailed background information. Like many tech books, it suffers a bit from the fact that the author is more engineer than author, and apparently also was under the impression (or contract) of having to deliver a certain amount of words, making the book unnecessarily verbose in places.
A useful survey of performance-related Postgres issues. Obviously based on extensive experience with Postgres in production environments. My only problem with the book is that it feels slightly out of date, e.g. describing SSDs as "an unknown risk for database use [that] should be approached with caution.". Still worth reading for sure if you're running Postgres in production though.
I picked up this text in a previous role in order to complete certain tasks that had me working with a PG database.
Speaking as a newcomer wih no DBA experience, from simple SQL to more advanced DBA concepts, this certainly gave me the background I needed to get going; it would seem, a lot of material left over to master.
Świetna książka, obejmująca szeroki zakres tematów związanych z optymalizacją baz danych, począwszy od wyboru sprzętu do optymalizacji zapytań (choć ten ostatni temat mógł być szerzej i dokładniej omówiony). Bardzo przydatne rozdziały o konfiguracji systemu pod serwer i monitorowania jego wydajności.
All about making Postgres go fast, everything from low-level disk I/O to query optimization and more. The chapter on using EXPLAIN was worth the price of the book.
This book has wealth of information, but is written for database administrators. but even as a developer, I found some useful information (especially about indexes). I wish this book covered topic of materialized views in depth ( which it doesn't)
Една от най-добрите "down-to-business" книги изобщо. Общите теми са безкрайно полезни, а конкретно "query optimization" е ЗАДЪЛЖИТЕЛНА за всеки сериозен разработчик. За "съжаление" PG се развива бясно и книжката поостарява - бързайте :)