Leverage the power of PostgreSQL 10 to design, administer and maintain a high-performance database solution
Key Features
- 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
Book Description
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
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
Who This Book Is For
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.
Table of Contents
- PostgreSQL Versions
- Database Hardware
- Database Hardware Benchmarking
- Disk Setup
- Memory for Database Caching
- Server Configuration Tuning
- Routine Maintenance
- Database Benchmarking
- Database Indexing
- Query Optimization
- Database Activity and Statistics
- Monitoring and Trending
- Pooling and Caching
- Scaling with Replication
- Partitioning Data
- Scaling with Replication
Ibrar Ahmed is a senior database architect in an Enterprise PostgreSQL company. He started his development career in 1999. He has contributed to the PostgreSQL community, the company's PostgreSQL fork, and other open source communities such as Google Chrome. He also has experience in MySQL, Oracle, MongoDB and Hadoop (Hive, Hbase, Spark). He is a major contributor in integrating other databases with PostgreSQL. He also authored PostgreSQL Developer's Guide. He has a master's in computer science (1999) and MS in computer engineering (2015), and is finalizing his PhD.
Gregory Smith is a chief PostgreSQL evangelist in Charleston, South Carolina, for Crunchy Data Solutions. He's been providing database advice to clients in industries such as manufacturing, finance, and web development for 20 years. He has contributed feature additions to every PostgreSQL version since 8.3. He's also the creator of a growing set of add-on tools for the database, currently including PgTune, pgbench-tools, peg, and 2warm.
Enrico Pirozzi, EnterpriseDB certified on implementation management and tuning, with a master's in computer science, has been a PostgreSQL DBA since 2003. Based in Italy, he has been providing database advice to clients in industries such as manufacturing and web development for 10 years. He has been training others on PostgreSQL since 2008. Dedicated to open source technology since early in his career, he is a cofounder of the PostgreSQL Italian mailing list, PostgreSQL-it, and of the PostgreSQL Italian community site, PSQL.it.