Troubleshooting PostgreSQL Год издания: 2015 Автор: Hans-Jürgen Schönig Издательство: Packt Publishing ISBN: 9781783555314 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 164 Описание: PostgreSQL is a powerful, open source, object-relational database system. PostgreSQL offers many advantages for your company or business over other database systems. This book is your practical guide to understanding the advanced techniques used to handle complex data and methods to solve issues that you might face while working with PostgreSQL. We will start with discussing the issues that arise at the time of setting up PostgreSQL. The next step will be to decide which data types will be most suitable to the task at hand and optimize performance using the right ones. We will understand how to deal with transaction locks, fuzzy matches, cursors, joins, and so on. Know the warning signs to look for, and how to avoid the most common issues before they even happen. In addition to that, specific high-level topics such as replication and Point-In-Time-Recovery will be discussed. The entire book is based on PostgreSQL 9.4 and contains up-to-date information.
Примеры страниц
Оглавление
1: Installing PostgreSQL Deciding on a version number Methods of installing PostgreSQL Memory and kernel issues Adding checksums to a database instance Preventing encoding-related issues Avoiding template pollution Summary 2: Creating Data Structures Grouping columns the right way Deciding on data types and structure Deciding on normalization Summary 3: Handling Indexes Understanding indexes in PostgreSQL Avoiding trouble with indexes Solving common problems Handling LIKE queries Finding good matches Fixing full-text search Summary 4: Reading Data Efficiently and Correctly Understanding the power of NULL Fixing disastrous joins Reading large amounts of data Understanding prepared queries Summary 5: Getting Transactions and Locking Right The PostgreSQL transaction model Transaction isolation Inspecting locks Summary 6: Writing Proper Procedures Choosing the right language Managing procedures and transactions Procedures and indexing Understanding memory Summary 7: PostgreSQL Monitoring Checking the overall database behavior Detecting I/O bottlenecks Checking for conflicts Chasing down slow queries Inspecting internal information Integrating with external tools Alternative tools Summary 8: Fixing Backups and Replication Using pg_dump Managing point-in-time recovery Making use of asynchronous replication Switching to synchronous replication Handling timelines Summary 9: Handling Hardware and Software Disasters Checksums – preventing silent corruption Zeroing out damaged pages Dealing with index corruption Dumping individual pages Resetting the transaction log Power-out-related issues Summary 10: A Standard Approach to Troubleshooting Getting an overview of the problem Attacking low performance Fixing common replication issues Summary
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum