Oracle Database Architecture and Version Evolution: Oracle 10g vs 19c vs 23ai

Oracle Database has evolved significantly over the years, from traditional relational database management in Oracle 10g to the advanced AI-powered capabilities introduced in Oracle Database 23ai.

Although Oracle has introduced many new features, the fundamental database architecture remains largely the same. Oracle still uses a combination of memory structures, background processes, and physical storage files to manage database operations.

For Oracle DBAs, understanding these architectural changes is important for database administration, performance tuning, troubleshooting, upgrades, and production support.

In this article, we will explore:

  • Common Oracle Database architecture
  • Oracle Instance and Database components
  • SGA memory structures
  • Important Oracle background processes
  • Physical database storage
  • Architectural differences between Oracle 10g, 19c, and 23ai
  • Major enhancements introduced in each version
  • Oracle Database evolution timeline

1. Understanding Oracle Database Architecture

Oracle Database architecture is primarily divided into two major components:

  1. Oracle Database Instance
  2. Oracle Database Storage (Physical Database)

An Oracle Database Instance consists of memory structures and background processes. The physical database consists of files stored on disk.

These components work together to process SQL statements, manage transactions, maintain data consistency, and recover the database after failures.

Oracle Database Architecture Overview

Oracle Database Instance = Memory Structures + Background Processes

Oracle Database = Physical Database Files

When a client application connects to Oracle Database, it sends SQL statements to the database server. Oracle processes these statements using its memory structures and background processes and retrieves or modifies data stored in physical database files.

2. Oracle Database Instance

An Oracle Database Instance consists of two main components:

  • System Global Area (SGA)
  • Background Processes

2.1 System Global Area (SGA)

SGA stands for System Global Area. It is a shared memory area allocated when an Oracle Database Instance starts.

Multiple database sessions can access shared information stored in the SGA.

The major SGA components are:

1. Shared Pool

The Shared Pool stores SQL statements, execution plans, and other shared information.

It contains two important components:

  • Library Cache: Stores parsed SQL statements and execution plans.
  • Data Dictionary Cache: Stores metadata about database objects, users, privileges, and other dictionary information.

Benefits:

  • Reduces repeated SQL parsing.
  • Improves SQL execution efficiency.
  • Reduces processing overhead.

2. Database Buffer Cache

The Database Buffer Cache stores copies of data blocks read from physical data files.

When a query accesses a table, Oracle checks whether the required blocks are already available in the buffer cache.

If the blocks are available, Oracle can read them from memory rather than performing physical disk I/O.

Modified blocks are called dirty buffers. These blocks are eventually written to data files by the DBWR process.

3. Redo Log Buffer

The Redo Log Buffer stores redo entries generated by database changes.

For example, when a user executes an UPDATE statement, Oracle generates redo information to support transaction recovery.

The LGWR process writes redo information from the redo log buffer to online redo log files.

4. Large Pool

The Large Pool is an optional memory area used for operations such as:

  • RMAN backup and recovery operations.
  • Shared server operations.
  • Parallel execution.
  • Certain I/O-related operations.

It helps reduce memory pressure on the Shared Pool for supported operations.

5. Java Pool

The Java Pool is used to manage memory for Java execution within the Oracle Database.

It supports Java stored procedures and other database Java functionality.

6. In-Memory Area / Column Store

Oracle Database In-Memory provides an additional memory structure for analytical workloads.

It stores eligible table data in a columnar format in memory, allowing faster analytical queries.

This capability was introduced in Oracle Database 12c Release 1, not Oracle 19c.

7. Vector Pool in Oracle 23ai

Oracle Database 23ai introduces a dedicated vector pool for managing memory associated with vector operations and AI vector search workloads.

This supports Oracle’s newer AI-oriented database capabilities.

3. Oracle Background Processes

Oracle background processes perform important database operations automatically.

They manage memory, write data to disk, maintain transaction consistency, and support database recovery.

The following are some important background processes.

PMON – Process Monitor

PMON performs process monitoring and cleanup activities.

Responsibilities include:

  • Cleaning up failed user processes.
  • Releasing resources associated with failed processes.
  • Performing process-related monitoring and recovery activities.

SMON – System Monitor

SMON performs system-level recovery and maintenance activities.

Responsibilities include:

  • Instance recovery after an instance failure.
  • Cleaning up temporary segments when required.
  • Performing other system maintenance activities.

DBWR – Database Writer

DBWR writes modified data blocks from the Database Buffer Cache to physical data files.

Important points:

  • Writes dirty buffers to data files.
  • Helps maintain available buffer cache space.
  • Works in the background.
  • Multiple DBWR processes may be configured depending on the workload.

LGWR – Log Writer

LGWR writes redo entries from the Redo Log Buffer to online redo log files.

This process is critical for transaction durability.

When a transaction commits, Oracle ensures the necessary redo information is written to the online redo log before confirming a successful commit to the user.

CKPT – Checkpoint Process

CKPT coordinates checkpoint operations.

Responsibilities include:

  • Updating data file headers with checkpoint information.
  • Updating the control file with checkpoint information.
  • Signalling DBWR to write dirty buffers when required.

CKPT does not write data blocks itself.

ARCn – Archiver Process

ARCn copies filled online redo log files to archived redo log files when the database is running in ARCHIVELOG mode and archiving is enabled.

Archived redo logs are important for:

  • Point-in-time recovery.
  • Database recovery.
  • Backup and recovery operations.
  • Data Guard environments.

4. Oracle Database Physical Storage Architecture

The physical database consists of files stored on disk.

The major physical files are:

4.1 Data Files

Data files store actual database data, including:

  • Tables.
  • Indexes.
  • Materialized views.
  • Other database segments.

A tablespace consists of one or more data files.

4.2 Control Files

Control files contain important metadata about the physical database.

They maintain information such as:

  • Database name and database identifier.
  • Data file names and locations.
  • Online redo log file information.
  • Checkpoint information.
  • Database structure information.

Control files are essential for database startup and recovery.

4.3 Online Redo Log Files

Online redo log files store redo information generated by database transactions.

They help Oracle recover committed transactions after an instance failure.

Oracle normally maintains multiple redo log groups to support continuous database operations.

4.4 Archived Redo Log Files

When an online redo log group becomes full and Oracle switches to another group, the previous redo log can be archived.

Archived redo logs are used for:

  • Media recovery.
  • Point-in-time recovery.
  • Recovery of databases from backups.
  • Data Guard log transport and apply.

4.5 Temporary Files

Temporary files store temporary data required during database operations.

Examples include:

  • Sort operations.
  • Hash joins.
  • Temporary segments.
  • Certain index creation operations.

Temporary files are associated with temporary tablespaces.

4.6 Undo Data

Undo data stores information required to reverse or reconstruct previous versions of changed data.

It supports:

  • Transaction rollback.
  • Read consistency.
  • Flashback operations.
  • Transaction recovery.

Undo data is stored in undo tablespaces using data files. It is not a separate physical file type like control files or redo log files.

5. Oracle 10g vs Oracle 19c vs Oracle 23ai: Version-Wise Architecture

Oracle’s core architecture has remained consistent, but each major release has introduced improvements in memory management, automation, performance, scalability, and database capabilities.

Let’s understand the differences.

5.1 Oracle Database 10g (2004)

Oracle 10g was an important release that introduced several automation and management improvements.

Major features:

1. Automatic Storage Management (ASM)

ASM simplified database storage management by providing automatic storage allocation and management.

It reduced the need for traditional manual storage management.

2. Data Guard Enhancements

Oracle Data Guard capabilities helped organizations maintain standby databases for disaster recovery and high availability.

3. RMAN Improvements

RMAN provided backup and recovery management, helping DBAs automate database backup and recovery operations.

4. Enterprise Database Architecture

Oracle 10g primarily used the traditional non-CDB architecture, where databases were managed independently.

5. Background Processes

Important processes included PMON, SMON, DBWR, LGWR, CKPT, and ARCn.

Oracle 10g established many of the database administration concepts that DBAs continue to use today.

5.2 Oracle Database 19c (2019)

Oracle 19c is an important Long-Term Release and is widely used in enterprise production environments.

It introduced and improved several performance, automation, and management capabilities.

Major features:

1. Multitenant Architecture

Oracle Multitenant architecture uses:

  • Container Database (CDB)
  • Pluggable Database (PDB)

A CDB can contain multiple PDBs, allowing organizations to consolidate multiple databases into a common container architecture.

Note: Multitenant architecture was introduced in Oracle 12c and continued to evolve in Oracle 19c.

2. Automatic Indexing

Automatic Indexing helps identify useful indexes and manage index creation and maintenance automatically.

It reduces manual indexing effort for DBAs.

3. Real-Time Statistics

Oracle 19c includes improvements in statistics collection and management to help the optimizer make better execution-plan decisions.

4. In-Memory Column Store

Oracle Database In-Memory supports analytical queries using columnar data representation in memory.

This can improve analytical query performance.

5. SQL Plan Management

SQL Plan Management helps maintain SQL execution-plan stability and reduces the risk of unexpected performance degradation.

6. Improved Database Management

Oracle 19c provides enhancements in performance, security, availability, and manageability.

Oracle 19c is particularly important for production DBAs because of its widespread enterprise adoption.

5.3 Oracle Database 23ai (2024)

Oracle Database 23ai represents a major evolution towards AI-enabled database capabilities.

It introduces new features designed to support AI applications, modern data workloads, and advanced database automation.

Major features:

1. AI Vector Search

AI Vector Search allows Oracle Database to store and search vector data.

Vectors represent information such as text, images, and other content as numerical values.

Vector search helps applications find semantically similar information rather than relying only on exact keyword matching.

Example use cases:

  • Semantic search.
  • Recommendation systems.
  • Retrieval-Augmented Generation (RAG).
  • AI-powered applications.

2. Generative AI Integration

Oracle Database 23ai introduces capabilities to support AI-powered applications and integration with generative AI technologies.

3. JSON Duality Views

JSON Relational Duality Views allow developers to work with relational data using JSON document representations.

This provides flexibility for applications that need both relational and document-oriented data access.

4. In-Memory Enhancements

Oracle continues to improve in-memory database capabilities for analytical and performance-intensive workloads.

5. Blockchain Tables

Blockchain tables provide tamper-resistant data storage capabilities.

They are useful in scenarios where data integrity and auditability are important.

6. Automation and Self-Management

Oracle continues to improve database automation, performance management, and operational efficiency.

These capabilities help DBAs reduce repetitive manual administration activities.

6. Oracle 10g vs 19c vs 23ai: Key Differences

FeatureOracle 10gOracle 19cOracle 23ai
Release year200420192024
ArchitectureTraditional non-CDBCDB/PDB supportedCDB/PDB with AI capabilities
Memory managementTraditional SGAEnhanced memory managementEnhanced SGA and vector pool
StorageData files, control files, redo logsSame core storage architectureSame core storage architecture
ASMIntroducedMatureContinued support
Data GuardInitial capabilitiesEnhanced capabilitiesContinued enhancements
RMANBasic backup and recovery capabilitiesImproved backup and recoveryContinued enhancements
Automatic IndexingNot availableAvailableContinued enhancements
In-MemoryNot availableAvailableEnhanced capabilities
AI Vector SearchNot availableNot availableAvailable
JSON Duality ViewsNot availableNot availableAvailable
Blockchain TablesNot availableAvailableEnhanced capabilities
Primary focusEnterprise database managementProduction stability and performanceAI and modern workloads

7. Oracle Database Version Evolution Timeline

Oracle Database architecture has evolved through several important releases.

  • Oracle 10g (2004): ASM, Data Guard improvements, and database management automation.
  • Oracle 11g (2007): Advanced compression, Active Data Guard enhancements, and other performance improvements.
  • Oracle 12c (2013): Introduction of Multitenant architecture with CDB and PDB.
  • Oracle 19c (2019): Long-Term Release with improved performance, stability, and automatic database management.
  • Oracle 23ai (2024): AI Vector Search, JSON Duality Views, and modern AI-focused database capabilities.

8. What Has Remained the Same in Oracle Database Architecture?

Even with major enhancements across different releases, the fundamental Oracle architecture remains consistent.

The following components are still important:

  1. SGA manages shared database memory.
  2. Background processes perform database operations.
  3. Data files store database objects.
  4. Control files maintain database structural metadata.
  5. Redo logs maintain transaction recovery information.
  6. Undo data supports rollback and read consistency.
  7. Checkpoint and recovery mechanisms help maintain database consistency.

The major difference is how Oracle has enhanced these components and introduced additional capabilities to support modern workloads.

9. Important Oracle DBA Interview Questions

Q1. What is the difference between an Oracle Instance and an Oracle Database?

An Oracle Instance consists of memory structures (SGA) and background processes. An Oracle Database consists of physical files such as data files, control files, and redo log files.

Q2. What is SGA in Oracle?

SGA stands for System Global Area. It is shared memory allocated when an Oracle Instance starts. It contains components such as Shared Pool, Database Buffer Cache, Redo Log Buffer, Large Pool, and Java Pool.

Q3. What is the difference between DBWR and LGWR?

DBWR writes modified data blocks from the Database Buffer Cache to data files, whereas LGWR writes redo entries from the Redo Log Buffer to online redo log files.

Q4. What is the purpose of the CKPT process?

CKPT coordinates checkpoint operations and updates data file headers and control files with checkpoint information. It signals DBWR when required.

Q5. What is the difference between redo and undo?

Redo records changes so Oracle can recover database modifications. Undo stores previous versions of data so Oracle can roll back transactions and maintain read consistency.

Q6. What is the difference between CDB and PDB?

A Container Database (CDB) is the main database container. A Pluggable Database (PDB) is a portable database hosted within a CDB.

Q7. What is Automatic Indexing in Oracle 19c?

Automatic Indexing automatically identifies potentially beneficial indexes, creates and evaluates them, and manages their use to improve SQL performance.

Q8. What is AI Vector Search in Oracle 23ai?

AI Vector Search allows Oracle Database to store vector representations and perform similarity searches. It is useful for semantic search and AI-based applications.

Q9. Does Oracle 23ai have a completely different database architecture from Oracle 19c?

No. The fundamental architecture of memory structures, background processes, and physical storage remains the same. Oracle 23ai introduces additional capabilities such as vector search, JSON Duality Views, and AI-oriented enhancements.

Q10. Which Oracle Database version is commonly used in enterprise production environments?

Oracle 19c has been widely adopted in enterprise production environments because of its Long-Term Release status, stability, and broad ecosystem support. Oracle 23ai introduces newer capabilities for organizations adopting modern AI and application workloads.

10. Conclusion

Oracle Database has evolved from traditional enterprise database management in Oracle 10g to advanced performance and automation features in Oracle 19c and AI-powered capabilities in Oracle 23ai.

However, the fundamental architecture remains based on three important concepts:

  • Memory structures (SGA)
  • Background processes
  • Physical database storage

For an Oracle DBA, understanding these fundamentals is essential regardless of the Oracle Database version.

Whether you are managing Oracle 10g, supporting a production Oracle 19c environment, or working with Oracle 23ai, understanding how the database processes SQL statements, manages memory, writes data, and performs recovery is critical.

The best approach for every DBA is to understand the core architecture first and then learn the enhancements introduced in each Oracle Database release.

This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply