PostgreSQL Configuration: Best Practices for Performance and Security
- 2h 13m
- Baji Shaik
- Apress
- 2020
Obtain all the skills you need to configure and manage a PostgreSQL database. In this book you will begin by installing and configuring PostgreSQL on a server by focusing on system-level parameter settings before installation. You will also look at key post-installation steps to avoid issues in the future. The basic configuration of PostgreSQL is tuned for compatibility rather than performance. Keeping this in mind, you will fine-tune your PostgreSQL parameters based on your environment and application behavior. You will then get tips to improve database monitoring and maintenance followed by database security for handling sensitive data in PostgreSQL.
Every system containing valuable data needs to be backed-up regularly. PostgreSQL follows a simple back-up procedure and provides fundamental approaches to back up your data. You will go through these approaches and choose the right one based on your environment. Running your application with limited resources can be tricky. To achieve this you will implement a pooling mechanism for your PostgreSQL instances to connect to other databases. Finally, you will take a look at some basic errors faced while working with PostgreSQL and learn to resolve them in the quickest manner.
What You Will Learn
- Configure PostgreSQL for performance
- Monitor and maintain PostgreSQL instances
- Implement a backup strategy for your data
- Resolve errors faced while using PostgreSQL
Who This Book Is For
Readers with basic knowledge of PostgreSQL who wish to implement key solutions based on their environment.
About the Author
Baji Shaik is a database administrator and developer. He was introduced to databases in 2011 and over the years, has worked with Oracle, PostgreSQL, Postgres Advance Server, RedShift, and Greenplum. He has a wide range of expertise and experience in SQL/NoSQL databases such as Cassandra and DynamoDB. He is a database migration expert and has developed many successful database solutions addressing challenging business requirements for moving databases from on-premises to AWS Cloud using multiple AWS services. Baji has organized a number of PostgreSQL meet-ups and maintains his own technical blog, where he likes to share his knowledge with the community. He co-authored Beginning PostgreSQL on the Cloud, released in March 2018.
In this Book
-
Best Ways to Install PostgreSQL
-
Configure Your Database for Better Performance
-
User Management and Securing Databases
-
Backup and Restore Best Practices
-
Enable Logging of Your Database and Monitoring PostgreSQL Instances
-
Execute Maintenance
-
High Availability Procedures and Implementing a Pooler
-
Basic Errors and Handy Queries