Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PostgreSQL Administration Essentials
  • Table Of Contents Toc
PostgreSQL Administration Essentials

PostgreSQL Administration Essentials

By : Hans-Jürgen Schönig
3.1 (8)
close
close
PostgreSQL Administration Essentials

PostgreSQL Administration Essentials

3.1 (8)
By: Hans-Jürgen Schönig

Overview of this book

If you are a database administrator who needs to get to grips with PostgreSQL quickly and efficiently, then this book is for you. This book will also be highly beneficial if you are a project leader or a developer who is interested in knowing more about database systems or bottleneck detection, as it will enable you to work more closely and cooperatively with your administrators.
Table of Contents (9 chapters)
close
close

Handling Linux cgroups


Many users run PostgreSQL on Linux. In case you are running more than just PostgreSQL on your system, it can be a good idea to sandbox PostgreSQL in a Linux kernel control group (cgroup) to make sure that the operating system statistics for PostgreSQL are somewhat isolated from the rest of the system. Sandboxing also makes a lot of sense, if there is more than one PostgreSQL instance on the same box. The key benefits are:

  • Data for different instances is accounted for separately

  • Hardware resources can be assigned to various instances directly

  • A system going nuts won't eat resources from other systems

All these benefits make cgroups an investment worthwhile.

Setting up cgroups

Before we can dig into configuring cgroups, it is necessary to make sure that all important packages are present on the system.

On Fedora, the following line is needed to enable cgroups:

yum install libcgroup

On Ubuntu or Debian, the following line will solve the problem:

apt-get install cgroup-bin

Once...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PostgreSQL Administration Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon