StepbyStep Guide: Checking and Installing Oracle PSU Updates(oracle查看psu)

Checking and installing Oracle PSU updates is crucial for database administrators. It is especially important for those running enterprise-level databases with mission-critical data. Oracle releases its PSU updates every quarter, and these patches are always cumulative. Adopting these patches not only keep your databases secure, but also provide bug fixes and performance optimizations.

In this step-by-step guide, we are going to look into the details of checking and installing Oracle PSU Updates.

## Step 1: Identify the Current PSU Version

The first thing we need to do is to identify the current PSU version of the database that we are running. This information can be obtained by running the following command:

“`sql

SQL> SELECT release_name

FROM registry$database;


This will list the current PSU version and release number of the Oracle Database.

## Step 2: Download the Desired PSU Update

Once you have identified the current PSU version and release number, you can search for the desired PSU update on [Oracle's Support website](https://support.oracle.com). After clicking on the “Software Download” tab, you can enter the Oracle Database release number and the PSU version download link will be displayed.

You can download the desired PSU from there and save it in the directory of your choice.

## Step 3: Start the Installation

You can start the installation of the PSU update by launching the command-line interface. To install the update, you need to use the following command:

```bash
sqlplus> @/location/of/psu/file

This will start the installation process and the output will look like:

“`s

Installing Database Patches….

Patch 1234 installed successfully.


## Step 4: Check the Installation

Once the installation is complete, you can check the installation by running the following command:

```sql
SQL> SELECT patch_id FROM registry$sqlpatch;

This will list the applied PSU update ID. If the patch_id field is listed, then the installation is successful.

## Step 5: Verify the Installation

Now, we need to verify the installation by running the following command:

“`sql

SQL> SHUTDOWN immediate;

SQL> STARTUP upgrade;


If all goes well, the output should look like:

```s
ORACLE instance shutdown complete.
ORACLE instance started.

The installation and verification of the Oracle PSU update is complete. Now you can enjoy the security, bug fixes, and performance improvements brought by the latest PSU update.


数据运维技术 » StepbyStep Guide: Checking and Installing Oracle PSU Updates(oracle查看psu)