PostgreSQL 10 High Performance: Expert techniques for query optimization, high availability, and efficient database maintenance

Передняя обложка
Packt Publishing Ltd, 30 апр. 2018 г. - Всего страниц: 508

Leverage the power of PostgreSQL 10 to design, administer and maintain a high-performance database solution

Key FeaturesObtain 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 solutionBook 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 learnLearn best practices for scaling PostgreSQL 10 installationsDiscover the best hardware for developing high-performance PostgreSQL applicationsBenchmark your whole system – from hardware to applicationLearn by real examples how server parameters impact performanceDiscover PostgreSQL 10 features for partitioning and parallel queryMonitor your server, both inside and outside the databaseDesign and implement a good replication system on PostgreSQL 10Who 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.

 

Содержание

Preface
1
PostgreSQL Versions
7
Database Hardware
24
Database Hardware Benchmarking
45
Disk Setup
78
Memory for Database Caching
110
Server Configuration Tuning
140
Routine Maintenance
167
Query Optimization
255
Database Activity and Statistics
323
Monitoring and Trending
353
Pooling and Caching
383
Scaling with Replication
392
Partitioning Data
408
Avoiding Common Problems
433
Other Books You May Enjoy
466

Database Benchmarking
205
Database Indexing
227

Часто встречающиеся слова и выражения

Об авторе (2018)

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.

Библиографические данные