Manually upgrading the PostgreSQL version of your Amazon RDS database from 9.6 to 10

お困りですか?

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

コミュニティに質問

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

Note, there are some additional steps for Jira Data Center deployments created through our AWS Quick Starts.


目的

Starting  , Amazon will start upgrading all Amazon RDS instances using PostgreSQL 9.6 to PostgreSQL 12.  Read more about this in their announcement.

This date was originally  but on 17th January, Amazon announced that they were extending the EOL process until  .  (This is an additional 14 weeks on the original date)

Support for PostgreSQL 12 was added in Jira 8.19.  If you are using an earlier version of Jira, and your deployment's database is an Amazon RDS instance using PostgreSQL 9.6, you may end up with an unsupported database after .

ソリューション

To prevent being upgraded to an unsupported database, you'll have to manually upgrade your database instance. We recommend you upgrade to PostgreSQL 10, as this version will differ the least from 9.6. This version is also supported across most versions of Jira, Confluence, Bitbucket Server, and Crowd.

Check your database instance's PostgreSQL version

Remember, your database instance will only be automatically upgraded to PostgreSQL 12 if it's using PostgreSQL 9.6 in an Amazon RDS. Otherwise, your database should be safe from the upgrade.

Show me how to check my database instance's PostgreSQL version
  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.



If your Engine version is higher than 9.6, your instance will not be automatically upgraded.  If it is 9.6, you'll need to manually upgrade it.

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.

詳細については「DB スナップショットの作成」をご確認ください。


To upgrade your database instance's PostgreSQL engine version from 9.6 to 10:

  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 10.18 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. [Modify DB Instance] をクリックして変更を保存します。

For more information, see Manually Upgrading the Engine Version.

After upgrading, we recommend you run ANALYZE. Analyze collects statistics about the contents of tables in the database, which the query planner can use to help determine the most efficient execution plans for queries.

Additional steps if you use our QuickStart templates

If your current Jira version supports PostgreSQL 10:

  1. Scale your instance down to zero nodes.
  2. Prepare for and check that a major version upgrade is supported

  3. Follow the steps above to manually upgrade the Postgres RDS instance from 9.6 to 10.
    Important note: don't change the DBEngineVersion parameter in the template, as this will result in a DBGroup error. 
  4. Wait for the RDS upgrade to complete.
  5. Scale your cluster up to 1 node first, check everything is working with no issues, then you can scale your cluster back up to the ideal number. 

If your current Jira version does not support PostgreSQL, you will need to upgrade Jira to a version that supports PostgreSQL once the RDS upgrade is complete (before scaling your cluster up to 1 node). For full details of how to upgrade, see Upgrading Jira Data Center on AWS

Note that the DBEngineVersion parameter in the QuickStart template will continue to be set to version 9.6. If you try to change this parameter you will get a DBGroup error. As long as your application is connected to the new database version, there shouldn't be any problems. 


説明 How to manually upgrade the PostgreSQL version of your Amazon RDS database from 9.6 to 10
製品Jira

最終更新日: 2022 年 1 月 18 日

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

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