Manually upgrading the PostgreSQL version of your Amazon RDS database from 9.5 (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.
目的
Starting March 16, 2021, Amazon will begin upgrading all Amazon RDS instances using PostgreSQL version 9.5 to 12. You can read about it on their announcement here.
PostgreSQL 12 is not supported on some versions of Fisheye/Crucible. This means that if your deployment's database is an Amazon RDS instance using PostgreSQL version 9.5, you could end up with an unsupported database after March 16, 2021.
ソリューション
サポート対象外のデータベースにアップグレードされるのを防ぐには、データベース インスタンスを手動でアップグレードする必要があります。アトラシアンでは、PostgreSQL 9.6 にアップグレードすることを推奨しています。このバージョンは少なくとも 9.5 とは異なるためです。また、このバージョンは Jira、Confluence、Bitbucket Server、および Crowd のほとんどのバージョンでサポートされています。
Remember, your database instance will only be upgraded to PostgreSQL 12 if it's using PostgreSQL 9.5 and below. Otherwise, your database should be safe from the upgrade.
- AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
- In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
- On your database instance's Summary screen, click the Configuration tab. You can view the Engine version from there.
Engine のバージョンが 9.6.x 以降である場合、ご利用のインスタンスは安全です。
データベースのスナップショットを作成する
ご利用のデータベース インスタンスの PostgreSQL エンジンのバージョンをアップグレードする前に、データベースのスナップショットを作成することをおすすめします。
- AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
- In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
- From the Actions drop-down, select Take snapshot.
- The Take DB Snapshot page appears. Enter a name for your snapshot and click Take Snapshot.
For more information, see Creating a DB Snapshot.
Upgrade your database instance's PostgreSQL engine version from 9.5 to 9.6
- AWS マネジメント コンソールにサインインし、ナビゲーション バーのリージョン セレクタを使用してご利用のデプロイメントに対応した AWS リージョンを選択して、https://console.aws.amazon.com/rds で AWS RDS コンソールを開きます。
- In the navigation pane, click Databases. From there, select your database instance. You can use the search bar to filter instances by name.
- Click Modify. The Modify DB Instance page appears. From there, select PostgreSQL 9.6.16-R1 from the DB engine version drop-down selection.
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.Click Modify DB Instance to save your changes.
For more information, see Manually Upgrading the Engine Version.