Book Image

PostgreSQL 9 Administration Cookbook - Second Edition

Book Image

PostgreSQL 9 Administration Cookbook - Second Edition

Overview of this book

Table of Contents (19 chapters)
PostgreSQL 9 Administration Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Server Control

In this chapter, we will cover the following recipes:

  • Starting the database server manually

  • Stopping the server safely and quickly

  • Stopping the server in an emergency

  • Reloading the server configuration files

  • Restarting the server quickly

  • Preventing new connections

  • Restricting users to only one session each

  • Pushing users off the system

  • Deciding on a design for multitenancy

  • Using multiple schemas

  • Giving users their own private database

  • Running multiple servers on one system

  • Setting up a connection pool

  • Accessing multiple servers using the same host and port