Hi, Orchid,
Oracle DBMS vs AWS RDS Oracle, It is slightly different how to manage.
AWS RDS can't handling the DBMS system files and configuration files of DBMS.
So, AWS prepared already option configurations how to change DBMS options.
Today, I will try to upgrade RDS Oracle 11 to RDS Oracle 19 with minimizing downtime.
The overall flow goes like this.
step 1. Check the version of RDS DB Engine step 2. Take snapshot backup of RDS Oracle 11 step 3. Build new RDS Oracle 11 using Snapshot step 4. Prepare option set for RDS Oracle 19 step 5. Upgrade to Oracle 19 |
Now, let's follow the flow.
step 1. Check the version of RDS DB Engine
You can see the version of RDS DB Engine in the "Configuration" Tab.
step 2. Take snapshot backup of RDS Oracle 11
Select "(1) Action - (2) Take snapshot"
Enter "(1) Snapshot name" you choose and clieck and run "(2) Take Snapshot".
The processing time is different for each data capacity, generally takes about 15 ~20 minutes or more.
After then, you can see the new snapshot image in the "(1) Snapshot" menu.
step 3. Build new RDS Oracle 11 using Snapshot
"(1) Select your snapshot name" and do "(2) Action - Restore snapshot".
And then,
(1) Select profer Engine and License.
(2) Enter new "DB Instance identifier".
This is the unique key that identifies a DB Instance. This parameter isn't case sensitive.
Enter "Initial database name' in the Additionan configuration area.
And the rest of the setting values use default values.
After then click and Run "Restore DB Instance".
It also takes about 15 ~20 minutes or more.
After then, you can see the new Database in the "Database" menu.
step 4. Prepare option set for RDS Oracle 19
Before the upgrade, it is better to prepare option sets for RDS Oracle 19.
Because options and parameter groups used in lower versions may cause compatibility
problems in newer versions.
#First , Parameter groups.
In the "(1) Parameter groups" menu, "(2) Create Parameter group",
and Select "(3) Parameter group family" - "oracle-se2-19".
- I chose 'oracle second edition'.
- oracle version 19 currently only supports
"oracle-ee-19 (enterprise edition)" and "oracle-se2-19 (second edition 2)".
enter "(4) Group name" you choose, and "(5) Create".
The parameter group is created immediately.
After then, you can change config parameters you need.
For example, I'm using version 11 of sqlclient in the PC, so I've changed sqlclient support version.
If you do not change this, you can not access DB using sql-client.
In the "newver-param-group-19",
click "(1) Edit parameters" and search "(2) sqlnet.allowed".
And next, "(3) change version numbers" and click "(4) Save changes".
#Second , Option groups.
RDS will use GMT-0 timezone as default.
You have to create group first and change to you time-zone, if you need.
In the "(1) Option groups" menu, click "(2) Create group".
And, enter "(3) name and (4) Description", and select "(5) Engine and (6) version",
and then click "(7) Create".
And next, click the name of option group, and "Add option"
Select (1) option name "time-zone" and chose your (2) time-zone name.
(3) Apply changes immediately or wait until the next scheduled maintenance window.
Note: Any subsequent Option Group modifications where Apply Immediately is checked
will cause any prior queued modifications to also apply immediately.
(4) click "Add option" and click again.
Now, you are ready to upgrade.
step 5. Upgrade to Oracle 19
You can upgrade in the Modify menu.
You can be specified your options in the Modify menu.
Change "DB engine version",
Select "DB parameter group" and "Option group".
And the rest options can change if you need.
Here is full options for DB modify.
OK, now it's your turn.
Good luck.
#RDS #upgrade #version #oracle11to19
'블라베 IT world > AWS' 카테고리의 다른 글
AWS SAA 핵심자료 모아보기 (0) | 2022.04.13 |
---|---|
AWS IAM 이해하기 1 (0) | 2022.04.13 |
변경된 AWS CLOUD 세금설정 방법 (2020년 업데이트), feat AWS KOREA (0) | 2020.10.20 |
AWS의 ELB에 외부 인증서 추가하기, 인증서파일이 여러개인데 어떤 내용을 넣어야할까 (프라이빗 키, 인증서 본문, 인증서 체인) (0) | 2020.08.03 |
AWS 네트워크방화벽 Network ACL로, 외부 특정 IP 차단하기 (0) | 2020.05.13 |