How does Exadata Smart Flash Logging reduce commit latency?

How does Exadata Smart Flash Logging reduce commit latency?

In the world of high-performance databases, commit latency is often the "final boss." No matter how fast your CPUs are, a transaction isn't finished until the log write is safely on disk (or flash).

Oracle Exadata tackles this bottleneck using Smart Flash Logging. Here is a breakdown of how it works and why it changes the game for OLTP workloads.


The Problem: The "Long Tail" of Latency

In a standard storage setup, when a database issues a commit, the Log Writer (LGWR) process must write the redo log buffer to the storage cells.

Even with fast flash drives, you occasionally hit latency outliers. These are caused by background tasks like flash garbage collection, wear leveling, or temporary controller congestion. Even if 99% of your writes take 0.5ms, that 1% that takes 20ms will stall your entire database during a high-concurrency peak.


The Solution: Parallel Racing

Exadata Smart Flash Logging reduces latency by creating a "race" for every log write.

When the LGWR sends a write request to an Exadata storage cell, the cell performs the write to two locations simultaneously:

  1. The Hard Disks (Redo Log Files): The traditional, persistent destination.

  2. The Exadata Flash Cache: A small, dedicated portion of high-speed flash memory reserved specifically for log writes.

The "Win" Condition: The storage cell acknowledges the write as complete as soon as the first of the two completes.

Why this works:

  • Redundancy against Jitter: It is statistically unlikely that both the physical disk controller and the flash controller will experience a performance spike at the exact same microsecond.

  • No Waiting: If the flash is busy with a background task, the disk might actually win (rare, but possible). If the disk is seeking, the flash wins.

  • Automatic Cleanup: The flash area is used only as a temporary landing zone. Once the write is safely on the permanent disk, the space in the flash log is reclaimed.


Key Benefits

  • Consistent Response Times: It flattens the "long tail" of latency, ensuring that commit times remain predictable even under heavy load.

  • Zero Configuration: This is a default, automated feature of the Exadata Storage Server software.

  • Improved Throughput: By speeding up the LGWR (which is a serial process), you indirectly allow the entire database to process more transactions per second.


Summary of the "Race"

ComponentRole in Smart Flash Logging
Database ServerSends redo write request to Storage Cells.
Exadata FlashActs as the "sprinter" to catch the write instantly.
Grid DisksActs as the "marathon runner" for long-term persistence.
Storage SoftwareAcknowledges the "winner," discarding the slower latency.
Looking for servers Rental ?

Call Our Expert :


  • (call for rental enquiries)

Email us :