Manually upgrading the PostgreSQL version of your Amazon RDS database from 9.4 (and below) to 9.6

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Platform Notice: AWS only - This article only applies to Atlassian products on the Server and Data Center platforms attached to an Amazon RDS database.

Bitbucket Data Center deployments created through our AWS Quick Starts are not affected.

目的

Starting  , Amazon will start upgrading all Amazon RDS instances using PostgreSQL version 9.4 to 11. You can read about it on their announcement here.

PostgreSQL 11 is not supported on one version (4.6) of Fisheye/Crucible. This means that if your deployment's database is an Amazon RDS instance using PostgreSQL version 9.4, you could end up with an unsupported database after .

Some versions support PostgreSQL 11

To check if your Fisheye/Crucible version supports PostgreSQL 11, go to Supported platforms.  From there, select the correct version of your product from the drop-down.

ソリューション

サポート対象外のデータベースにアップグレードされるのを防ぐには、データベース インスタンスを手動でアップグレードする必要があります。アトラシアンでは、PostgreSQL 9.6 にアップグレードすることを推奨しています。このバージョンは少なくとも 9.4 とは異なるためです。また、このバージョンは Jira、Confluence、Bitbucket Server、および Crowd のほとんどのバージョンでサポートされています。

ご利用のデータベース インスタンスの PostgreSQL バージョンを調べる方法

Remember, your database instance will only be upgraded to PostgreSQL 11 if it's using PostgreSQL 9.4 and below. Otherwise, your database should be safe from the upgrade.

ご利用のデータベース インスタンスの PostgreSQL バージョンを確認する手順をクリックして確認
  1. AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
  2. In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
  3. On your database instance's Summary screen, click the Configuration tab. You can view the Engine version from there.


Engine のバージョンが 9.5.x 以降である場合、ご利用のインスタンスは安全です。 

tip/resting Created with Sketch.

データベースのスナップショットを作成する

ご利用のデータベース インスタンスの PostgreSQL エンジンのバージョンをアップグレードする前に、データベースのスナップショットを作成することをおすすめします。 

AWS でデータベースのスナップショットを作成する手順をクリックして確認
  1. AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
  2. In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
  3. From the Actions drop-down, select Take snapshot.
  4. The Take DB Snapshot page appears. Enter a name for your snapshot and click Take Snapshot.

For more information, see Creating a DB Snapshot.


ご利用のデータベース インスタンスの PostgreSQL エンジンのバージョンを 9.4 から 9.6 にアップグレードする方法

  1. AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
  2. In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
  3. Click Modify The Modify DB Instance page appears. From there, select PostgreSQL 9.6.16-R1 from the DB engine version drop-down selection.

  4. Choose Continue and check the summary of modifications. By default, the database engine version upgrade will be queued and applied on the next scheduled maintenance window.

    If you prefer to apply the changes immediately, choose Apply immediately. This option can cause an outage in some cases. For more information, see Using the Apply Immediately Setting.

  5. Click Modify DB Instance to save your changes.

For more information, see Manually Upgrading the Engine Version.


最終更新日 2020 年 4 月 18 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.