PostgresSQL 14 Administration Cookbook

Author: Simon Riggs and Gianno Ciolli
Publisher: Packt Publishing
Pages: 608
ISBN: 978-1803248974
Print:1803248971
Kindle: B09R4VBHX3
Audience: PostgresSQL developers and administrators
Rating: 4.5
Reviewer: Kay Ewbank

While this book describes itself as a cookbook, the recipes in it work through the necessary skills and knowledge to administer PostgresSQL 14.

The recipes start from the basics of what makes PostgresSQL different, how to connect, enable access, and use the PostgresSQL tools - pgAdmin, OmniDB and psql. In each topic, there's a description of what problem or task you're trying to solve or complete, followed by a 'how to do it' section.

 

Banner

Chapter 2 moves on to exploring the database, with recipes for finding out what the server version is, how to find files, the message log, how much disk space a database uses, and table information such as table size and number of rows.

Chapters 3 and 4 cover server configuration and control, from working with the parameter file through to starting and stopping the server, restricting users, setting up multiple schemas and setting up a connection pool.

Tables and data is looked at next, with recipes on topics such as finding duplicate rows, maintaining column definitions, and loading data from various sources. Security is the topic of the next chapter, mainly in terms of user access, superusers, integrating with LDAP and connecting using SSL.

By Chapter 7, on database administration, the recipes are becoming more recognizably recipes, including how to write a script that performs actions on multiple tables, adding and removing schemas and moving objects between schemas.

A look at monitoring and diagnosis comes next, with recipes that can check what a user is running, who is using a specific table, and why queries might be slowing. This is followed by a set of 'regular maintenance' recipes that can remove old prepared transactions, find bloated tables and indexes, and handle unused indexes.

From here onwards the book moves on to more advanced topics, starting with performance and concurrency. Recipes look at how to find slow SQL statements, how to simplify complex SQL and make queries run faster without rewriting them. There are some interesting ideas covered, and if they happen to be applicable they'll be really useful.

A chapter on backup and recovery has a lot of useful scripts, and the book completes with a chapter on replication and upgrades.

This is a useful book, and the cookbook format works better than I'd imagined as a way of learning about PostgresSQL. There are some useful recipes, and the authors explain the topics clearly. Recommended.

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


WordPress Plugin Development, 2nd Ed

Author: Brad Williams, Justin Tadlock, John James Jacoby
Publisher: Wrox
Pages: 480
ISBN: 978-1119666943
Print: 1119666945
Kindle: B0899MW9CP
Audience: WordPress developers
Rating: 4.5
Reviewer: Kay Ewbank

The authors of this book are well-known in the WordPress world, with more than 100 published plug [ ... ]



Learn dbatools in a Month of Lunches

Author: Chrissy LeMaire et al
Publisher: Manning
Pages: 400
ISBN: 978-1617296703
Print: 1617296708
Kindle: B0B39PCHL8
Audience: SQL Server DBAs
Rating: 5
Reviewer: Ian Stirk 

This book aims to make it easier to manage your SQL Server estate, how does it fare? 


More Reviews

 

 

Last Updated ( Sunday, 26 June 2022 )