Skip to main content

db_system_upgrades

Creates, updates, deletes, gets or lists a db_system_upgrades resource.

Overview​

Namedb_system_upgrades
TypeResource
Idoci.database.db_system_upgrades

Fields​

The following fields are returned by SELECT queries:

It describes the various upgrade properties such as component, osversion, giversion for any VM DB system.<br />

NameDatatypeDescription
componentstringThe component on which upgrade is applicable. OS (Operating System upgrade), GI (Grid Infrastructure upgrade) or OS_GI (both Operating System and Grid Infrastructure upgrade) (OS, OS_GI, GI)
giVersionstringThe version of the grid infrastructure for this upgrade. This is only applicable for ASM based DbSystems
osVersionstringThe version of the OS for this upgrade eg. Oracle Linux Server release 7.9

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdbSystemId, regionlimit, pageLists the applicable upgrade components for a DB systems.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dbSystemIdstringThe DB system [OCID](/Content/General/Concepts/identifiers.htm).
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
limitintegerThe maximum number of items to return per page.
pagestringThe pagination token to continue listing from.

SELECT examples​

Lists the applicable upgrade components for a DB systems.<br />

SELECT
component,
giVersion,
osVersion
FROM oci.database.db_system_upgrades
WHERE dbSystemId = '{{ dbSystemId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
;