Showing posts with label Oracle Database Service. Show all posts
Showing posts with label Oracle Database Service. Show all posts

Friday, May 3, 2024

Why run Oracle Database on Arm

Why run Oracle Database on Arm

Why run Oracle Database on Arm


CPUs or Central Processing Units have been the core talking point in the computing space. Moore's law ("the number of transistors in a dense integrated circuit doubles approximately every two years" still stays valid. Processor speed is always measured in terms of instructions per second. New CPU architectures now measure millions or billions of instructions per second. A rise in demand for mobile gadgets has also shaped the path of today's processors. Power consumption and heat production are two significant factors in a smaller form factor (mobile devices). In recent years, the technological landscape has witnessed a considerable rise in the popularity of Arm processors due to their unique low power consumption capabilities. RISC-based architectures, of which Arm is part, focus on simplicity and efficiency. The RISC-based architecture uses a simplified set of instructions, each performing a single operation, aiming to execute instructions quickly. Arm processors offer unique capabilities in the mobile and handheld segment, but they have now been realized to be helpful in the server market. In this blog, we will explore why Arm processors are better suited for desktops and servers and explore why relational databases can perform exceptionally well on Arm.

Arm-based computing started with mobile and embedded devices; the technology (Arm-based) has now evolved to support hyperscale data centers and cloud computing. Oracle began to offer Arm-shaped VMs because they scale linearly, provide predictable performance, and provide the highest density of cores, all at a lower price point. With Arm-based cloud computing, customers can run existing workloads less expensively and build new applications with superior economics and performance. To help developers transition, make, and run Arm-based workloads, Oracle and other cloud vendors have accelerated the Arm developer ecosystem with the best tools and platform possible. Arm can provide all the capabilities of x86 computing, including virtualization.

What about current workloads:

x86, for decades, has been a de-facto standard for running workloads of various types. Workloads over time have become quite complex, resulting in millions and billions of instructions per second. Arm, with its simple design, offers a complementary substitute for some of the workloads that run on x86 architecture. Oracle Databases running on x86 platforms can seamlessly migrate to Arm architecture using standard methods. Arm architecture provides the following benefits:

  • Efficiency and Power Consumption: Arm processors are renowned for their efficiency and low power consumption compared to x86 processors. Arm's reduced instruction set architecture (RISC) approach enables processors to execute instructions more efficiently, resulting in improved power efficiency and reduced heat generation. By consuming less power, Arm processors can allocate more resources to managing tasks, benefiting the overall performance of a system.
  • Technology trends: The needs of hyper-growth markets, such as cloud-based supercomputing and artificial intelligence, dictate that we turn to specialized hardware where we can add more servers into data centers while staying within energy budgets. Arm is highly customizable, meaning cloud providers can tailor chips to their needs rather than depend on chip vendors. Most cloud vendors are coming up with their implementation of Arm-based chips to fit their needs. For example, NVIDIA has introduced its Grace Hopper super chip, based on Arm, to deliver a CPU+GPU coherent memory model to accelerate AI and high-performance computing applications.
  • Scalability and Customization: Some of the Arm processors available in the market boast 128 cores per processor. One of the Arm vendors boasts 192 processor cores, the highest core count of any available data center server processor. Due to their scalability and customization capabilities, Arm processors have gained significant traction in the mobile and embedded systems markets. Unlike x86, Arm processors are designed to be highly customizable, allowing manufacturers to tailor them to specific use cases. The higher core count also eliminates the need for dual CPU (x86-based systems). This flexibility enables system designers to optimize Arm-based systems for database workloads, enhancing performance and efficiency. Additionally, the modular nature of Arm-based systems allows for easier integration of different components, making them adaptable to various database requirements.
  • Increased Parallel Processing: Relational databases often deal with large volumes of data and complex queries, necessitating efficient parallel processing capabilities. Arm processors, featuring multiple cores and superior multithreading capabilities, excel in this aspect. With the proliferation of multicore Arm processors, database operations can be parallelized, enabling faster query execution and improved overall database performance. This parallel processing prowess of Arm processors is particularly beneficial for demanding workloads in relational databases, where simultaneous execution of multiple queries is essential.
  • Enhanced Memory Bandwidth: Memory bandwidth plays a crucial role in database performance, especially when dealing with high data transfer rates. Arm processors often feature memory architectures designed for optimal bandwidth utilization, which can improve the speed of data access and retrieval. This increased memory bandwidth contributes to a more responsive and efficient database system, enabling faster query execution and reduced latency.
  • Cost-Effectiveness: Arm processors have established a reputation for cost-effectiveness, making them an attractive choice for organizations seeking to optimize their IT infrastructure. The Arm ecosystem offers manufacturers various hardware options, resulting in competitive pricing and increased affordability. For businesses running relational databases, deploying Arm-based systems can be a financially viable solution without compromising performance.
  • Security: Ampere Altra processors based on Arm (available in Oracle Cloud) run on a single thread per core processor, eliminating potential thread-security issues and isolating workloads. When run as a single thread per core, there is no sharing of the execution engine, registers, and L1/L2 cache between threads, which minimizes the attack surface for exploits.

Why Database Engines on Arm:

  • Customization for Database Needs: Arm develops the Arm architecture and licenses the IP to allow its licensees/partners/customers to subsequently build and sell the chip within their designs/products, such as system-on-chip or system-on-modules designs. SoC (system-on-chip) is an efficient design model where significant components of a computer or electronic system reside on a small, low-power board. This approach differs from other CPU manufacturers, such as Intel or AMD, that design and manufacture their chips. The ability to license Arm design gives database vendors, like Oracle, the flexibility to design their chips based on Arm architecture.
  • Scalability: Database engines do require scalability. Oracle Database runs high transactional applications and requires vertical and horizontal scalability. Arm processors, compared to their x86 counterparts, are highly dense and provide more cores on a CPU.
  • Endianness: Endianness describes the order in which a sequence of bytes is stored in computer memory. Big-Endian systems store the most significant byte (big end) first in the order, and Little-Endian systems store the least significant bytes (little end) first. Arm architecture, by design, is bi-endian, which means it can support both big-endian and little-endian byte orderings. To complement its x86 offering, Oracle will use little-endian byte ordering for its Arm implementations and interoperability with x86 counterparts.
  • Portability: Oracle is adopting Arm architecture with Ampere One and Ampere AltraMax processors and will use little-endian format for byte ordering. Using little-endian format means migrating running databases on x86-based systems to Arm-based systems or vice versa will be easier. Generally available migration techniques like backup and restore will work across x86 and Arm-based systems.
 

Oracle Database Availability on Arm


Oracle Database Enterprise Edition is available on the Arm platform (Ampere Altra brands) in the cloud with flexible shapes (VM.Standard.A1.Flex) for Oracle Base Database Service (BaseDB). VM.Standard.A1.Flex is based on Arm computer processors and CPU cores. VM.Standard.A1.Flex shapes for BaseDB support any number of OCPUs, up to a maximum of 64, in a single VM. Each OCPU includes 8 GB of memory and 1 Gbps of network bandwidth, up to a maximum of 40 Gbps. VM.Standard.A1.Flex shapes offer balanced and higher-performance block volume storage that can scale up to 40 TB in data capacity. When provisioned with higher-performance storage, customers can achieve a maximum of 500K IOPS for a single VM.

Oracle Database on the Arm platform was released from Database release version 19.19. This database version complements the Oracle Database you have been running on x86 and other platforms, including RAC (on-premises currently), Data Guard, and others. Oracle Database on Arm is available on-premises and in Oracle Cloud Infrastructure. Currently, Oracle licenses are certified and licensed for Ampere Altra and Ampere Altra Max processors with a core factor of .25. Please refer to the core-factor table here: https://drive.google.com/file/d/14qOc_TP_NPe-kNeyCXbUtkK8Npg1prwJ/view?usp=sharing. All other Arm processors, not referred to in the core factor table, will use a core factor of 1 for licensing purposes.

Source: oracle.com

Friday, March 31, 2023

Oracle Database Service for Azure: Benefits, Features, and Best Practices

Oracle Database Service for Azure, Azure Exam, Azure Exam Prep, Azure Tutorial and Materials, Azure Career, Azure Skills, Azure Jobs, Azure Guides, Azure Learning, Azure Exam Preparation

If you're looking for a cloud-based database service for your business, Oracle Database Service for Azure might be the right choice. This article will explore the benefits, features, and best practices of using Oracle Database Service for Azure.

Introduction


Oracle Database Service for Azure is a cloud-based database service that offers many benefits to businesses. It is a managed service that provides the scalability, availability, and security that businesses need. The service is fully integrated with Azure and is designed to help businesses save time, money, and resources.

Benefits of Using Oracle Database Service for Azure


Here are some of the key benefits of using Oracle Database Service for Azure:

1. Scalability

One of the biggest benefits of using Oracle Database Service for Azure is scalability. The service allows businesses to easily scale up or down as needed, without having to worry about the underlying infrastructure. This means businesses can quickly respond to changing business needs without having to invest in additional hardware or software.

2. Availability

Oracle Database Service for Azure is designed to be highly available. The service provides automatic failover and disaster recovery capabilities, ensuring that businesses can access their data at all times. This is especially important for businesses that rely on their data for critical business operations.

3. Security

Security is always a concern for businesses when it comes to their data. Oracle Database Service for Azure provides a high level of security, with features such as encryption, network isolation, and access controls. Businesses can be confident that their data is protected from unauthorized access.

4. Cost Savings

Using a cloud-based database service can help businesses save money in several ways. First, there is no need to invest in additional hardware or software. Second, businesses only pay for the resources they use, which can be a significant cost savings compared to traditional on-premises solutions.

Features of Oracle Database Service for Azure


Oracle Database Service for Azure offers many features that businesses can take advantage of. Here are some of the key features:

1. Automated Backups

Oracle Database Service for Azure provides automated backups, which can help businesses protect their data in case of an outage or disaster. Backups can be scheduled to occur at regular intervals, and businesses can easily restore data if needed.

2. High Availability

As mentioned earlier, Oracle Database Service for Azure is designed to be highly available. The service provides automatic failover and disaster recovery capabilities, ensuring that businesses can access their data at all times.

3. Security Features

Oracle Database Service for Azure provides a high level of security. The service offers encryption, network isolation, and access controls to protect data from unauthorized access.

4. Performance Monitoring

Oracle Database Service for Azure provides performance monitoring tools that can help businesses identify and resolve performance issues quickly. This can help ensure that applications running on the service are running smoothly and efficiently.

Best Practices for Using Oracle Database Service for Azure


Here are some best practices to keep in mind when using Oracle Database Service for Azure:

1. Plan for Scalability

When setting up Oracle Database Service for Azure, it's important to plan for scalability. This means considering factors such as expected growth, workload, and performance requirements.

2. Use Security Features

Oracle Database Service for Azure provides many security features that can help protect data. It's important to use these features to ensure that data is protected from unauthorized access.

3. Optimize Performance

Optimizing performance is critical for ensuring that applications running on Oracle Database Service for Azure are running smoothly and efficiently. This can be done by monitoring performance, identifying and resolving issues, and tuning the database as needed.

4. Backup Data Regularly

Regularly backing up data is important for ensuring that data is protected in case of an outage or disaster. Oracle Database Service for Azure provides automated backups, but businesses should also consider creating their own backups to ensure redundancy and quick recovery.

5. Monitor Costs

While using a cloud-based database service can help businesses save money, it's still important to monitor costs. Businesses should regularly review their usage and adjust their resources as needed to avoid unexpected costs.

Conclusion

Oracle Database Service for Azure is a powerful cloud-based database service that offers many benefits to businesses. Its scalability, availability, security, and cost savings make it an attractive option for businesses looking to move their data to the cloud. However, to make the most of the service, businesses should follow best practices such as planning for scalability, using security features, optimizing performance, backing up data regularly, and monitoring costs.