How to Upgrade AWS RDS PostgreSQL With Extensions(3)

In another two posts, we have upgraded from AWS PostgreSQL RDS 9.5.23-R1 to 9.6.20-R1, and 9.6.20-R1 to 10.15-R1 respectively.

how to Upgrade AWS RDS PostgreSQL with Extensions(1) from 9.5 to 9.6
How to Upgrade AWS RDS PostgreSQL with Extensions(2) from 9.6 to 10.15

According to AWS doc about PostGIS extension:

If a database uses the PostGIS extension, you can’t skip major versions for some source to target combinations. For these circumstances, upgrade in steps to the next major version one step at a time until you reach the desired target version.

So in this post, we will show how to upgrade AWS PostgreSQL RDS 10.15-R1 with PostGIS extension to AWS PostgreSQL RDS 11.10-R1.

Subscribe to get access

Read more of this content when you subscribe today.

Tasks of After Major Version Upgrade

  • Run the ANALYZE operation to refresh the pg_statistic table.
  • Optionally, use Amazon RDS to view two logs that the pg_upgrade utility produces. These are pg_upgrade_internal.log and pg_upgrade_server.log. Amazon RDS appends a timestamp to the file name for these logs. You can view these logs as you can any other log. For more information, see Amazon RDS database log files.You can also upload the upgrade logs to Amazon CloudWatch Logs. For more information, see Publishing PostgreSQL logs to CloudWatch Logs.
  • To verify that everything works as expected, test your application on the upgraded database with a similar workload. After the upgrade is verified, you can delete this test instance.

How To Install Oracle Client In Silent Mode Using Response File

Due to X-Window unavailability, installation of 12.2 Oracle client has to be done through silent mode with response file.

Subscribe to get access

Read more of this content when you subscribe today.

How to Install and deinstall Oracle Text in 12.1.0.2

This post demonstrates how to deinstall / install Oracle Text in 12.1.0.2. Before doing so, DBA should make sure and understand the component dependencies as below.

Subscribe to get access

Read more of this content when you subscribe today.

How to Install and deinstall Oracle Text in 11.2.0.4

This post demonstrates how to deinstall / install Oracle Text in 11.2.0.4. Before doing so, DBA should make sure and understand the component dependency as below.

Subscribe to get access

Read more of this content when you subscribe today.

How to Terminate the Idle Sessions Automatically in Oracle

Poor application design can cause excessive connections to Oracle database, the idle sessions stuck in Oracle database forever, finally the ORA-00020 error occur in alert log.

Certainly DBA can write a job to kill the idle sessions periodically. Instead, here we will take advantage of Oracle features to terminate idle sessions in Oracle database automatically.

Subscribe to get access

Read more of this content when you subscribe today.