Installing EDB Postgres Tuner

EDB Postgres Tunerは、使用しているPostgresディストリビューションと同じプラットフォームでサポートされています。 EDB Postgres TunerのサポートはPostgres 11から始まります。 詳細については、以下を参照してください。

前提条件

インストールプロセスを開始する前に:

  • Postgresをインストールします。参照: - Installing EDB Postgres Advanced Server

  • Installing PostgreSQL

  • Installing EDB Postgres Distributed (includes EDB Postgres Extended)

  • リポジトリをセットアップします。

リポジトリーの設定は1回限りのタスクです。リポジトリを既に設定している場合、この手順を実行する必要はありません。

リポジトリをセットアップするには、

EDB repositories に移動し、そこに表示される指示に従います。

パッケージをインストールする

RPMパッケージインストールコマンドの構文は次のとおりです。

sudo <package-manager> -y install edb-<postgres><postgres_version>-postgres-tuner<major_version>

Debianパッケージのインストールコマンドの構文は次のとおりです。

sudo <package-manager> -y install edb-<postgres><postgres_version>-postgres-tuner-<major_version>

そこで:

  • <package-manager> は、オペレーティングシステムで使用されるパッケージマネージャーです。

Package manager

Operating system

dnf

RHEL 8 and derivatives

yum

RHEL 7 and derivatives, CentOS 7

zypper

SLES

apt-get

Debian and derivatives

  • <postgres> は、使用しているPostgresのディストリビューションです。

Postgres distribution

Value

PostgreSQL

pg

EDB Postgres Advanced Server

as

EDB Postgres Extended

pgextended

  • <postgres_version> は、使用しているPostgresのバージョンです。

  • <major_version> は、インストールするEDB Postgres Tunerのメジャーバージョンです。

たとえば、RHEL 8プラットフォームにEDB Postgres Advanced Server 14用のEDB EDB Postgres Tuner 1.0.0をインストールするには:

sudo dnf -y install edb-as14-postgres-tuner1

Debian 11プラットフォームにEDB Postgres Advanced Server 14用のEDB EDB Postgres Tuner 1.0.0をインストールするには:

sudo apt-get -y install edb-as14-postgres-tuner-1