Day 2: OCI Database Services – RDBMS, NoSQL, and Autonomous Databases

Pritish AnandPritish Anand
3 min read

Understanding OCI Database Services

Oracle Cloud Infrastructure (OCI) offers a variety of database services designed for different workloads. Whether it's structured, semi-structured, or unstructured data, OCI databases provide high availability, scalability, and security. Today, we will explore:

  • Relational Database Management Systems (RDBMS)

  • NoSQL Databases

  • Autonomous Databases

1️⃣ Relational Database Management Systems (RDBMS) in OCI

Overview

RDBMS stores data in a structured format using tables, rows, and columns. These databases are best suited for transactional applications, analytics, and business intelligence.

OCI RDBMS Offerings

  1. Oracle Database on Bare Metal, Virtual Machine (VM), and Exadata

    • Provides full control over the database environment.

    • Best for high-performance applications needing fine-tuned configurations.

  2. MySQL Database Service (MDS)

    • Fully managed MySQL database with HeatWave acceleration.

    • Optimized for high-speed transactions and real-time analytics.

Key Features

✅ High availability with automatic backups & recovery.
✅ Scalability with flexible compute & storage options.
✅ Security through encryption, access controls, and Data Safe.

2️⃣ NoSQL Databases in OCI

Overview

NoSQL databases provide flexibility in handling unstructured and semi-structured data. They are ideal for applications that require high throughput, low latency, and scalability, such as IoT, recommendation engines, and real-time analytics.

OCI NoSQL Database

  • Designed for high-availability and low-latency workloads.

  • Supports key-value and document-based storage.

  • Fully managed service with automatic scaling.

  • Ideal for applications like fraud detection, personalization, and content management.

Key Features

✅ Flexible schema support for dynamic applications.
✅ Multi-region replication for global availability.
✅ Automatic scaling for unpredictable workloads.

3️⃣ Autonomous Databases in OCI

Overview

Autonomous databases are Oracle’s fully managed, self-driving databases that automate patching, tuning, and security. They reduce operational complexity and improve performance.

OCI Autonomous Database Offerings

  1. Autonomous Transaction Processing (ATP) – Optimized for OLTP workloads like retail, finance, and SaaS applications.

  2. Autonomous Data Warehouse (ADW) – Best suited for analytics, reporting, and business intelligence.

  3. Autonomous JSON Database – Designed for developers working with document-based JSON data.

  4. Autonomous Graph Database – Ideal for graph-based queries, fraud detection, and network analysis.

Key Features

Self-Driving: Automates provisioning, tuning, and scaling.
Self-Securing: Continuous patching and threat detection.
Self-Repairing: Automatic failure detection and recovery.

Hands-on: Deploying an Autonomous Database in OCI

Step 1: Log in to OCI Console

  • Navigate to OCI Console

  • Open Autonomous Database under the Database menu.

Step 2: Create an Autonomous Database

  • Click Create Autonomous Database.

  • Enter a database name (e.g., my-autonomous-db).

  • Choose a compartment and select a workload type:

    • Transaction Processing (ATP)

    • Data Warehouse (ADW)

    • JSON Database

  • Select OCPU count and storage size.

  • Choose Always Free Tier if eligible.

  • Enable Auto-Scaling for dynamic resource allocation.

  • Click Create Autonomous Database.

Step 3: Connect to the Database

  • Once provisioned, click on the database instance.

  • Download the Wallet for secure access.

  • Connect using SQL Developer, OCI CLI, or Python SDK.

Step 4: Run Sample Queries

SELECT table_name FROM user_tables;
CREATE TABLE employees (id NUMBER, name VARCHAR2(100), role VARCHAR2(50));
INSERT INTO employees VALUES (1, 'John Doe', 'Developer');
SELECT * FROM employees;

Key Takeaways

OCI offers a range of database solutions for different workloads.
NoSQL is great for flexible, high-speed applications, while RDBMS is best for structured data.
Autonomous Databases simplify management with AI-driven automation.
Hands-on experience helps reinforce learning—creating an Autonomous Database is a crucial step.

What’s Next?

Tomorrow, we dive into OCI AI-powered Automation and Generative AI for data processing! Stay tuned! 🚀


0
Subscribe to my newsletter

Read articles from Pritish Anand directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pritish Anand
Pritish Anand