Oracle RDS - Applying Patches

0

Need help identifying the process to apply Oracle patches to RDS instances

已提問 2 年前檢視次數 2285 次
4 個答案
2

If you look at the document page for the traditional RDS https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.Misc.html says

To deliver a managed service experience, Amazon RDS doesn't provide shell access to Opatch

and they provide a way for you to get the list of already applied patches. Also in https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html they point out that under RDS database patching is AWS's responsibility and not the customer's - that is why you are using the managed service after all.

There is something called RDS Custom that allows you to install custom patches - see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-custom.html - on Oracle RDS databases but there are more limitations than the standard RDS managed service - see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html and you wouldn't be getting the full managed service experience.

You can apply custom database patches or modify OS packages on your RDS Custom DB instances.

已回答 2 年前
1

Hi! Here's some documentation that outlines the process for upgrading the Oracle DB Engine. The process may be either automatic or manual depending on if it is a major or minor version upgrade. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Oracle.html. Let me know if you have any questions!

AWS
bendutt
已回答 2 年前
  • Thanks for the information, this is a one off patch that was provided by Oracle so it is not a minor version upgrade. Is there any way to work with AWS to add patches via OPatch?

0

but i just want to check what patch information is available, is there no option to do that via SQL*Plus

Ed
已回答 2 個月前
0

Hello, if you want to get the list of all patches installed currently on the RDS Oracle instance, you can run the following query :-

with a as (select dbms_qopatch.get_opatch_lsinventory patch_output from dual) select x.patch_id, x.patch_uid, x.description from a, xmltable('InventoryInstance/patches/*' passing a.patch_output columns patch_id number path 'patchID', patch_uid number path 'uniquePatchID', description varchar2(80) path 'patchDescription') x;

To get a more detailed output in a format similar to opatch lsinventory -detail, run the following:

$ set long 200000 pages 0 lines 200

$ select xmltransform(DBMS_QOPATCH.GET_OPATCH_LSINVENTORY, DBMS_QOPATCH.GET_OPATCH_XSLT) from dual;

AWS
phirani
已回答 21 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南