Skip to content

Commit dd8c272

Browse files
Merge pull request #289345 from msjuergent/oracle
Update some details
2 parents 27066d7 + d7715ed commit dd8c272

File tree

1 file changed

+33
-38
lines changed

1 file changed

+33
-38
lines changed

articles/sap/workloads/dbms-guide-oracle.md

Lines changed: 33 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords: 'SAP, Azure, Oracle, Data Guard'
77
ms.service: sap-on-azure
88
ms.subservice: sap-vm-workloads
99
ms.topic: article
10-
ms.date: 10/14/2024
10+
ms.date: 10/28/2024
1111
ms.author: juergent
1212
ms.custom: H1Hack27Feb2017, linux-related-content
1313
---
@@ -35,9 +35,10 @@ General information about running SAP Business Suite on Oracle can be found at 
3535
| 2799920 | [Patches for 19c: Database SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/0002799920) |
3636
| 974876 | [Oracle Transparent Data Encryption (TDE) SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/0000974876) |
3737
| 2936683 | [Oracle Linux 8: SAP Installation and Upgrade SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/2936683) |
38-
| 1672954 | [Oracle 11g, 12c, 18c and 19c: Usage of hugepages on Linux](https://launchpad.support.sap.com/#/notes/1672954) |
38+
| 1672954 | [Oracle 11g, 12c, 18c, and 19c: Usage of hugepages on Linux](https://launchpad.support.sap.com/#/notes/1672954) |
3939
| 1171650 | [Automated Oracle DB parameter check](https://launchpad.support.sap.com/#/notes/1171650) |
4040
| 2936683 | [Oracle Linux 8: SAP Installation and Upgrade](https://launchpad.support.sap.com/#/notes/2936683) |
41+
| 3399081 | [Oracle Linux 9: SAP Installation and Upgrade](https://launchpad.support.sap.com/#/notes/3399081) |
4142

4243
### Specifics for Oracle Database on Oracle Linux
4344

@@ -55,12 +56,12 @@ Installing or migrating existing SAP on Oracle systems to Azure, the following d
5556
4. Azure Premium Storage SSD should be used. Don't use Standard or other storage types.
5657
5. ASM removes the requirement for Mirror Log. Follow the guidance from Oracle in Note [888626 - Redo log layout for high-end systems](https://launchpad.support.sap.com/#/notes/888626).
5758
6. Use ASMLib and don't use udev.
58-
7. Azure NetApp Files deployments should use Oracle dNFS (Oracle’s own high performance Direct NFS solution).
59+
7. Azure NetApp Files deployments should use Oracle dNFS which is Oracle’s own high performance Direct NFS (Network File System) driver solution.
5960
8. Large Oracle databases benefit greatly from large System Global Area (SGA) sizes. Large customers should deploy on Azure M-series with 4 TB or more RAM size
6061
- Set Linux Huge Pages to 75% of Physical RAM size
6162
- Set System Global Area (SGA) to 90% of Huge Page size
6263
- Set the Oracle parameter USE_LARGE_PAGES = **ONLY** - The value ONLY is preferred over the value TRUE as the value ONLY is supposed to deliver more consistent and predictable performance. The value TRUE may allocate both large 2MB and standard 4K pages. The value ONLY is going to always force large 2MB pages. If the number of available huge pages isn't sufficient or not correctly configured, the database instance is going to fail to start with error code: *ora-27102 : out of memory Linux_x86_64 Error 12 : can't allocate memory*. If there's insufficient contiguous memory, Oracle Linux may need to be restarted and/or the Operating System Huge Page parameters reconfigured.
63-
9. Oracle Home should be located outside of the "root" volume or disk. Use a separate disk or ANF volume. The disk holding the Oracle Home should be 64 Gigabyte in size or larger.
64+
9. Oracle Home should be located outside of the "root" volume or disk. Use a separate disk or ANF volume. The disk holding the Oracle Home should be 64 Gigabytes in size or larger.
6465
10. The size of the boot disk for large high performance Oracle database servers is important. As a minimum a P10 disk should be used for M-series or E-series. Don't use small disks such as P4 or P6. A small disk can cause performance issues.
6566
11. Accelerated Networking must be enabled on all Virtual Machines. Upgrade to the latest Oracle Linux release if there are any problems enabling Accelerated Networking.
6667
12. Check for updates in this documentation and SAP note [2039619 - SAP Applications on Microsoft Azure using the Oracle Database: Supported Products and Versions - SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/2039619).
@@ -87,7 +88,7 @@ The table below details the support status
8788
|--------|------------|--------| ------| -----|
8889
| **Block Storage Type** | | | | |
8990
| Premium SSD | Supported | 512e | ASM Recommended. LVM Supported | No support for ASM on Windows |
90-
| Premium SSD v2 | Supported | 4K Native or 512e<sup>1</sup> | ASM Recommended. LVM Supported | No support for ASM on Windows. Change Log File disks from 4K Native to 512e |
91+
| Premium SSD v2<sup>1</sup> | Supported | 4K Native or 512e<sup>2</sup> | ASM Recommended. LVM Supported | No support for ASM on Windows. Change Log File disks from 4K Native to 512e |
9192
| Standard SSD | Not supported | | | |
9293
| Standard HDD | Not supported | | | |
9394
| Ultra disk | Supported | 4K Native | ASM Recommended. LVM Supported | No support for ASM on Windows. Change Log File disks from 4K Native to 512e |
@@ -97,7 +98,8 @@ The table below details the support status
9798
| Azure Files NFS | Not supported | | |
9899
| Azure files SMB | Not supported | | |
99100

100-
<sup>1</sup> 512e is supported on Premium SSD v2 for Windows systems. 512e configurations are't recommended for Linux customers. Migrate to 4K Native using procedure in MOS 512/512e sector size to 4K Native Review (Doc ID 1133713.1)
101+
1. Azure Premium SSD v2 doesn't have predefined storage sizes. There's no need to allocate multiple disks within an ASM Disk Group or LVM VG. It's recommended to allocate a single Premium SSD v2 disk with the required size, throughput, and IOPS per ASM Disk Group
102+
2. 512e is supported on Premium SSD v2 for Windows systems. 512e configurations are't recommended for Linux customers. Migrate to 4K Native using procedure in MOS 512/512e sector size to 4K Native Review (Doc ID 1133713.1)
101103

102104
Other considerations that apply list like:
103105
1. No support for DIRECTIO with 4K Native sector size. Recommended settings for FILESYSTEMIO_OPTIONS for LVM configurations:
@@ -106,9 +108,9 @@ Other considerations that apply list like:
106108
2. Oracle 19c and higher fully supports 4K Native sector size with both ASM and LVM
107109
3. Oracle 19c and higher on Linux – when moving from 512e storage to 4K Native storage Log sector sizes must be changed
108110
4. To migrate from 512/512e sector size to 4K Native Review (Doc ID 1133713.1) – see section "Offline Migration to 4KB Sector Disks"
109-
5. SAPInst writes to the pfile during installation. If the $ORACLE_HOME/dbs is on a 4K disk set filesystemio_options=asynch and see the Section "Datafile Support of 4kB Sector Disks" in MOS Supporting 4K Sector Disks (Doc ID 1133713.1)
111+
5. SAPInst writes to the pfile during installation. If the $ORACLE_HOME/dbs is on a 4K disk, set filesystemio_options=asynch and see the Section "Datafile Support of 4kB Sector Disks" in MOS Supporting 4K Sector Disks (Doc ID 1133713.1)
110112
5. No support for ASM on Windows platforms
111-
6. No support for 4K Native sector size for Log volume on Windows platforms. SSDv2 and Ultra Disk must be changed to 512e via the "Edit Disk" pencil icon in the Azure Portal
113+
6. No support for 4K Native sector size for Log volume on Windows platforms. SSDv2 and Ultra Disk must be changed to 512e via the "Edit Disk" pencil icon in the Azure portal
112114
7. 4K Native sector size is supported only on Data volumes for Windows platforms. 4K isn't supported for Log volumes on Windows
113115
8. We recommend reviewing these MOS articles:
114116
- Oracle Linux: File System's Buffer Cache versus Direct I/O (Doc ID 462072.1)
@@ -129,7 +131,7 @@ Checklist for Oracle Automatic Storage Management:
129131
3. ASM should be configured for **External Redundancy**. Azure Premium SSD storage provides triple redundancy. Azure Premium SSD matches the reliability and integrity of any other storage solution. For optional safety, customers can consider **Normal Redundancy** for the Log Disk Group
130132
4. Mirroring Redo Log files is optional for ASM [888626 - Redo log layout for high-end systems](https://launchpad.support.sap.com/#/notes/888626)
131133
5. ASM Disk Groups configured as per Variant 1, 2 or 3 below
132-
6. ASM Allocation Unit size = 4MB (default). Very Large Databases (VLDB) OLAP systems such as BW may benefit from larger ASM Allocation Unit size. Change only after confirming with Oracle support
134+
6. ASM Allocation Unit size = 4MB (default). Very Large Databases (VLDB) OLAP systems such as SAP BW may benefit from larger ASM Allocation Unit size. Change only after confirming with Oracle support
133135
7. ASM Sector Size and Logical Sector Size = default (UDEV isn't recommended but requires 4k)
134136
8. If the COMPATIBLE.ASM disk group attribute is set to 11.2 or greater for a disk group, you can create, copy, or move an Oracle ASM SPFILE into ACFS file system. Review the Oracle documentation on moving pfile into ACFS. SAPInst isn't creating the pfile in ACFS by default
135137
8. Appropriate ASM Variant is used. Production systems should use Variant 2 or 3
@@ -166,12 +168,9 @@ Oracle ASM disk group recommendation:
166168

167169
### Variant 2 – medium to large data volumes between 3 TB and 12 TB, restore time important
168170

169-
Customer has medium to large sized databases where backup and/or restore
170-
+
171+
Customer has medium to large sized databases where backup and/or restore, or recovery of all databases can't be accomplished in a timely fashion.
171172

172-
recovery of all databases can't be accomplished in a timely fashion.
173-
174-
Usually customers are using RMAN, Azure Backup for Oracle and/or disk snap techniques in combination.
173+
Usually customers are using RMAN, Azure Backup for Oracle and/or disk snapshot techniques in combination.
175174

176175
Major differences to Variant 1 are:
177176

@@ -196,7 +195,7 @@ Major differences to Variant 1 are:
196195

197196
### Variant 3 – huge data and data change volumes more than 5 TB, restore time crucial
198197

199-
Customer has a huge database where backup and/or restore + recovery of a single database can't be accomplished in a timely fashion.
198+
Customer has a huge database where backup and/or restore, or recovery of a single database can't be accomplished in a timely fashion.
200199

201200
Usually customers are using RMAN, Azure Backup for Oracle and/or disk snap techniques in combination. In this variant, each relevant database file type is separated to different Oracle ASM disk groups.
202201

@@ -240,7 +239,7 @@ Documentation is available with:
240239

241240
### Monitoring SAP on Oracle ASM Systems on Azure
242241

243-
Run an Oracle AWR report as the first step when troubleshooting a performance problem. Disk performance metrics are detailed in the AWR report.
242+
Run an Oracle AWR (Automatic Workload Repository) report as the first step when troubleshooting a performance problem. Disk performance metrics are detailed in the AWR report.
244243

245244
Disk performance can be monitored from inside Oracle Enterprise Manager and via external tools. Documentation, which might help is available here:
246245
- [Using Views to Display Oracle ASM Information](https://docs.oracle.com/en/database/oracle/oracle-database/19/ostmg/views-asm-info.html#GUID-23E1F0D8-ECF5-4A5A-8C9C-11230D2B4AD4)
@@ -315,13 +314,12 @@ Mirror Log is required when running LVM.
315314
|--------------------------------------|----------|-----------------------|--------------------------|
316315
| /oracle/\<SID\>/origlogaA & mirrlogB | Premium | None | Not needed |
317316
| /oracle/\<SID\>/origlogaB & mirrlogA | Premium | None | Not needed |
318-
| /oracle/\<SID\>/sapdata1...n | Premium | Read-only<sup>2</sup> | Recommended |
319-
| /oracle/\<SID\>/oraarch<sup>3</sup> | Premium | None | Not needed |
317+
| /oracle/\<SID\>/sapdata1...n | Premium | None | Recommended |
318+
| /oracle/\<SID\>/oraarch<sup>2</sup> | Premium | None | Not needed |
320319
| Oracle Home, saptrace, ... | Premium | None | None |
321320

322321
1. Striping: LVM stripe using RAID0
323-
2. During R3Load migrations, the Host Cache option for SAPDATA should be set to None
324-
3. oraarch: LVM is optional
322+
2. oraarch: LVM is optional
325323

326324
The disk selection for hosting Oracle's online redo logs is driven by IOPS requirements. It's possible to store all sapdata1...n (tablespaces) on a single mounted disk as long as the volume, IOPS, and throughput satisfy the requirements.
327325

@@ -333,22 +331,22 @@ The disk selection for hosting Oracle's online redo logs is driven by IOPS requi
333331
| /oracle/\<SID\>/origlogaB | Premium | None | Can be used |
334332
| /oracle/\<SID\>/mirrlogAB | Premium | None | Can be used |
335333
| /oracle/\<SID\>/mirrlogBA | Premium | None | Can be used |
336-
| /oracle/\<SID\>/sapdata1...n | Premium | Read-only<sup>2</sup> | Recommended |
337-
| /oracle/\<SID\>/oraarch<sup>3</sup> | Premium | None | Not needed |
334+
| /oracle/\<SID\>/sapdata1...n | Premium | None | Recommended |
335+
| /oracle/\<SID\>/oraarch<sup>2</sup> | Premium | None | Not needed |
338336
| Oracle Home, saptrace, ... | Premium | None | None |
339337

340338
1. Striping: LVM stripe using RAID0
341-
2. During R3load migrations, the Host Cache option for SAPDATA should be set to None
342-
3. oraarch: LVM is optional
339+
2. oraarch: LVM is optional
343340

344341
## Azure Infra: Virtual machine Throughput Limits & Azure Disk Storage Options
345342

346-
### Oracle Automatic Storage Management (ASM)## can evaluate these storage technologies:
343+
### Current recommendations for Oracle Storage
347344

348-
1. Azure Premium Storage – currently the default choice
345+
1. Azure Premium Storage – Most customers are deploying on ASM with Premium Storage
346+
2. Azure NetApp Files - VLDB customers, often with single Oracle databases larger than 50TB are typically using ANF and using Storage Snapshot capabilities of Azure NetApp Files for Backup and Restore
349347
3. Managed Disk Bursting - [Managed disk bursting - Azure Virtual Machines \| Microsoft Docs](/azure/virtual-machines/disk-bursting)
350-
4. Azure Write Accelerator
351-
5. Online disk extension for Azure Premium SSD storage is still in progress
348+
4. Azure Write Accelerator - used for the case that the Oracle redo log is based on Premium SSD v1 disks
349+
5. Online disk extension is fully supported for Premium Storage v1 and works with ASM
352350

353351
Log write times can be improved on Azure M-Series VMs by enabling Write Accelerator. Enable Azure Write Accelerator for the Azure Premium Storage disks used by the ASM Disk Group for <u>online redo log files</u>. For more information, see [<u>Write Accelerator</u>](/azure/virtual-machines/how-to-enable-write-accelerator).
354352

@@ -375,8 +373,7 @@ The following recommendations should be followed when selecting a VM type:
375373
For backup/restore functionality, the SAP BR\*Tools for Oracle are supported in the same way as they are on bare metal and Hyper-V. Oracle Recovery Manager (RMAN) is also supported for backups to disk and restores from disk.
376374

377375
For more information about how you can use Azure Backup and Recovery services for Oracle databases, see:
378-
- [<u>Back up and recover an Oracle Database 12c database on an Azure Linux virtual machine</u>](/azure/virtual-machines/workloads/oracle/oracle-overview)
379-
- [<u>Azure Backup service</u>](../../backup/backup-overview.md) is also supporting Oracle backups as described in the article [<u>Back up and recover an Oracle Database 19c database on an Azure Linux VM using Azure Backup</u>](/azure/virtual-machines/workloads/oracle/oracle-database-backup-azure-backup).
376+
- [<u>Azure Backup service</u>](../../backup/backup-overview.md) is also supporting Oracle backups as described in the article [<u>Back up and recover an Oracle Database on an Azure Linux VM using Azure Backup</u>](/azure/virtual-machines/workloads/oracle/oracle-database-backup-azure-backup).
380377

381378
## High availability
382379

@@ -441,13 +438,12 @@ At the time, of writing ASM for Windows customers on Azure isn't supported. The
441438
|-----------------------------------------|----------|-----------------------|--------------------------|
442439
| E:\oracle\\\<SID\>\origlogaA & mirrlogB | Premium | None | Not needed |
443440
| F:\oracle\\\<SID\>\origlogaB & mirrlogA | Premium | None | Not needed |
444-
| G:\oracle\\\<SID\>\sapdata1...n | Premium | Read-only<sup>2</sup> | Recommended |
445-
| H:\oracle\\\<SID\>\oraarch<sup>3</sup> | Premium | None | Not needed |
441+
| G:\oracle\\\<SID\>\sapdata1...n | Premium | None | Recommended |
442+
| H:\oracle\\\<SID\>\oraarch<sup>2</sup> | Premium | None | Not needed |
446443
| I:\Oracle Home, saptrace, ... | Premium | None | None |
447444

448445
1. Striping: Windows Storage Spaces
449-
2. During R3load migrations, the Host Cache option for SAPDATA should be set to None
450-
3. oraarch: Windows Storage Spaces is optional
446+
2. oraarch: Windows Storage Spaces is optional
451447

452448
The disk selection for hosting Oracle's online redo logs is driven by IOPS requirements. It's possible to store all sapdata1...n (tablespaces) on a single mounted disk as long as the volume, IOPS, and throughput satisfy the requirements.
453449

@@ -459,13 +455,12 @@ The disk selection for hosting Oracle's online redo logs is driven by IOPS requi
459455
| F:\oracle\\\<SID\>\origlogaB | Premium | None | Can be used |
460456
| G:\oracle\\\<SID\>\mirrlogAB | Premium | None | Can be used |
461457
| H:\oracle\\\<SID\>\mirrlogBA | Premium | None | Can be used |
462-
| I:\oracle\\\<SID\>\sapdata1...n | Premium | Read-only<sup>2</sup> | Recommended |
463-
| J:\oracle\\\<SID\>\oraarch<sup>3</sup> | Premium | None | Not needed |
458+
| I:\oracle\\\<SID\>\sapdata1...n | Premium | None | Recommended |
459+
| J:\oracle\\\<SID\>\oraarch<sup>2</sup> | Premium | None | Not needed |
464460
| K:\Oracle Home, saptrace, ... | Premium | None | None |
465461

466462
1. Striping: Windows Storage Spaces
467-
2. During R3load migrations, the Host Cache option for SAPDATA should be set to None
468-
3. oraarch: Windows Storage Spaces is optional
463+
2. oraarch: Windows Storage Spaces is optional
469464

470465
### Links for Oracle on Windows
471466
- [Overview of Windows Tuning (oracle.com)](https://docs.oracle.com/en/database/oracle/oracle-database/19/ntqrf/overview-of-windows-tuning.html#GUID-C0A0EC5D-65DD-4693-80B1-DA2AB6147AB9)

0 commit comments

Comments
 (0)