You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sap/workloads/dbms-guide-oracle.md
+33-38Lines changed: 33 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ keywords: 'SAP, Azure, Oracle, Data Guard'
7
7
ms.service: sap-on-azure
8
8
ms.subservice: sap-vm-workloads
9
9
ms.topic: article
10
-
ms.date: 10/14/2024
10
+
ms.date: 10/28/2024
11
11
ms.author: juergent
12
12
ms.custom: H1Hack27Feb2017, linux-related-content
13
13
---
@@ -35,9 +35,10 @@ General information about running SAP Business Suite on Oracle can be found at
35
35
| 2799920 |[Patches for 19c: Database SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/0002799920)|
36
36
| 974876 |[Oracle Transparent Data Encryption (TDE) SAP ONE Support Launchpad](https://launchpad.support.sap.com/#/notes/0000974876)|
37
37
| 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)|
39
39
| 1171650 |[Automated Oracle DB parameter check](https://launchpad.support.sap.com/#/notes/1171650)|
40
40
| 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)|
41
42
42
43
### Specifics for Oracle Database on Oracle Linux
43
44
@@ -55,12 +56,12 @@ Installing or migrating existing SAP on Oracle systems to Azure, the following d
55
56
4. Azure Premium Storage SSD should be used. Don't use Standard or other storage types.
56
57
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).
57
58
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.
59
60
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
60
61
- Set Linux Huge Pages to 75% of Physical RAM size
61
62
- Set System Global Area (SGA) to 90% of Huge Page size
62
63
- 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.
64
65
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.
65
66
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.
66
67
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
87
88
|--------|------------|--------| ------| -----|
88
89
|**Block Storage Type**|||||
89
90
| 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 |
91
92
| Standard SSD | Not supported ||||
92
93
| Standard HDD | Not supported ||||
93
94
| 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
97
98
| Azure Files NFS | Not supported |||
98
99
| Azure files SMB | Not supported |||
99
100
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)
101
103
102
104
Other considerations that apply list like:
103
105
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:
106
108
2. Oracle 19c and higher fully supports 4K Native sector size with both ASM and LVM
107
109
3. Oracle 19c and higher on Linux – when moving from 512e storage to 4K Native storage Log sector sizes must be changed
108
110
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)
110
112
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
112
114
7. 4K Native sector size is supported only on Data volumes for Windows platforms. 4K isn't supported for Log volumes on Windows
113
115
8. We recommend reviewing these MOS articles:
114
116
- 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:
129
131
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
130
132
4. Mirroring Redo Log files is optional for ASM [888626 - Redo log layout for high-end systems](https://launchpad.support.sap.com/#/notes/888626)
131
133
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
133
135
7. ASM Sector Size and Logical Sector Size = default (UDEV isn't recommended but requires 4k)
134
136
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
135
137
8. Appropriate ASM Variant is used. Production systems should use Variant 2 or 3
@@ -166,12 +168,9 @@ Oracle ASM disk group recommendation:
166
168
167
169
### Variant 2 – medium to large data volumes between 3 TB and 12 TB, restore time important
168
170
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.
171
172
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.
175
174
176
175
Major differences to Variant 1 are:
177
176
@@ -196,7 +195,7 @@ Major differences to Variant 1 are:
196
195
197
196
### Variant 3 – huge data and data change volumes more than 5 TB, restore time crucial
198
197
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.
200
199
201
200
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.
202
201
@@ -240,7 +239,7 @@ Documentation is available with:
240
239
241
240
### Monitoring SAP on Oracle ASM Systems on Azure
242
241
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.
244
243
245
244
Disk performance can be monitored from inside Oracle Enterprise Manager and via external tools. Documentation, which might help is available here:
246
245
-[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.
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
325
323
326
324
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.
327
325
@@ -333,22 +331,22 @@ The disk selection for hosting Oracle's online redo logs is driven by IOPS requi
333
331
| /oracle/\<SID\>/origlogaB | Premium | None | Can be used |
334
332
| /oracle/\<SID\>/mirrlogAB | Premium | None | Can be used |
335
333
| /oracle/\<SID\>/mirrlogBA | Premium | None | Can be used |
### Oracle Automatic Storage Management (ASM)## can evaluate these storage technologies:
343
+
### Current recommendations for Oracle Storage
347
344
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
349
347
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
352
350
353
351
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).
354
352
@@ -375,8 +373,7 @@ The following recommendations should be followed when selecting a VM type:
375
373
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.
376
374
377
375
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).
380
377
381
378
## High availability
382
379
@@ -441,13 +438,12 @@ At the time, of writing ASM for Windows customers on Azure isn't supported. The
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
451
447
452
448
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.
453
449
@@ -459,13 +455,12 @@ The disk selection for hosting Oracle's online redo logs is driven by IOPS requi
459
455
| F:\oracle\\\<SID\>\origlogaB | Premium | None | Can be used |
460
456
| G:\oracle\\\<SID\>\mirrlogAB | Premium | None | Can be used |
461
457
| H:\oracle\\\<SID\>\mirrlogBA | Premium | None | Can be used |
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
469
464
470
465
### Links for Oracle on Windows
471
466
-[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