Exadata vs RAC: What Actually Changes for a DBA
Exadata runs the same RAC and ASM you know, but the hardware, network, storage and support around them change completely. Here is what changes for you as a DBA, layer by layer.
Exadata still runs RAC, ASM and Grid Infrastructure, the same software you use today. What changes is everything around it: one vendor instead of five, one rack instead of a room, InfiniBand or RoCE instead of iSCSI, storage servers that process part of your SQL, and a DBA who now owns the operating system, the network and the hardware too.
In my class I keep a table of 27 differences from my own experience. Here are the ones that matter most when you move from a traditional RAC to Exadata.
First, two words you must not mix up
An Exadata database server is one server. An Exadata database machine is the whole rack, about 6 feet tall, with the database servers, the storage servers, the switches, the cabling and the software inside it. Don't confuse the two.
And a storage server, a cell, a cell server, a cell node: all the same thing. When I say "cell", I mean a storage server.
1. Hardware: a room becomes one rack
In a traditional RAC the servers may come from IBM, HP, Dell or Sun. The storage comes from EMC, NetApp, Hitachi or another vendor, connected over iSCSI or Fibre Channel. The network is Cisco. Each vendor has its own licence and its own support. The parts sit across a data centre room.
In Exadata there are five types of hardware component, all from Oracle, all in one 42U rack:
- Database servers
- Storage servers (cells)
- InfiniBand or RoCE switches
- The admin (Cisco) switch
- PDUs, the power distribution units
Every server also has its own ILOM inside it. Each component has a fixed slot: the database server goes in this slot only, the cell in that slot only. I call it a mini data center.
2. Operating system: the Linux team steps back
In a traditional setup the Linux team installs the OS and holds root. For anything at root level, you depend on them.
On Exadata, the database servers and the storage servers run Oracle Linux. (The early generations also offered Oracle Solaris on the database servers.) As a DMA you have root on the database servers and the cells. That changes your day: you extend /u01 yourself, create the directories and users yourself, and you are responsible for it.
3. Network: one fabric does two jobs
A traditional RAC has two separate internal paths. The private interconnect between database servers runs through one switch. The path from each database server to the storage runs over iSCSI or Fibre Channel through another switch, usually 10 Gbps Ethernet for iSCSI, or 16 or 32 Gbps for Fibre Channel.
In Exadata, one fabric does both. Database server to database server is InfiniBand, and database server to storage server is also InfiniBand, at 40 Gbps. From X8M (September 2019) onwards it is RoCE at 100 Gbps. Every database server can reach every cell.
In my class I teach four kinds of network, because every rack has them. Two are completely confined to the box: the private interconnect and the path to storage, both on the InfiniBand or RoCE fabric. Two go outside:
- Management network: eth0 on every component, usually 1 Gbps, through the admin switch. The ILOMs sit on this side too. You need only a few hundred KB to work on a server, so 1 Gbps is plenty.
- Client network: how the application reaches the database. You open the firewall from the application machine to the VIPs and the three SCAN VIPs, with the listener ports. To find the ports:
SQL> show parameter listenerA rack can also carry additional networks, for example a separate backup network. The idea does not change: some networks stay inside the rack, some go out, and you must know which is which.
4. Storage: the cell is a server, built only for Exadata
Traditional storage is not "just disks". It has its own CPU, memory, disk shelves and firmware, and the storage engineers patch it.
An Exadata cell has a defined CPU, defined memory and 12 hard disks, fixed at the factory and visible from the front of the rack. It runs Oracle Linux plus Oracle's cell software, which is licensed per disk. Cells are designed only for Exadata.
The classic rack sizes, with high capacity cells of 12 disks each:
- Quarter rack: 2 database servers, 3 cells, 36 disks
- Half rack: 4 database servers, 7 cells, 84 disks
- Full rack: 8 database servers, 14 cells, 168 disks
Need more space? From X5 onwards the configurations are elastic: you buy one more cell and put it in the rack.
Where does the cell's own OS live? From X7 onwards, on two M.2 devices of its own. Before X7, the first two of the 12 disks each gave a small system partition, about 30 GB each, for the OS, the cell software and the logs.
5. Installation: done at the factory, checked by you
In a traditional RAC the infra team installs the hardware, the Linux team installs the OS, and you install Grid Infrastructure and the database software.
An Exadata arrives pre-configured and pre-optimised across database, storage and network by Oracle's ACS team. The OS, Grid Infrastructure and RDBMS homes are pushed in one shot through OEDA. Your job as a DMA is to validate it: is every component on the price sheet actually in the rack?
The last time we did this, the ACS team created eight Oracle homes on our database servers in one go from the OEDA configuration file. By hand, with the patching, that is days of work. Really, they saved us.
6. SQL processing: where Exadata earns its money
This is my favourite row, and it comes from my own experience.
Traditional RAC: three stops. The data goes from the storage, to the database buffer cache in the SGA, to the user. The storage sends every block the query needs. If you select 2 MB from a 200 GB table with a full table scan, all 200 GB travels to the database server, and the database server's CPU does all the filtering.
Think of the CPU as a lorry engine and I/O as the load on it. Attach a room full of disks to one server and the engine dies.
Exadata: more stops, and less to carry. The cell has smart flash cache, high speed flash inside the storage server. On X8M and X9M it also has PMEM, persistent memory. From X10M, Exadata RDMA Memory (XRMEM) takes that place. When a query repeats, the search goes:
- Database buffer cache (in the SGA)
- PMEM or XRMEM in the cell (hot)
- Smart flash cache in the cell (warm)
- Hard disk (cold)
Habitual queries end up being read from memory or flash in the cell. Flash is persistent, and ASM keeps a mirror copy on another cell, so losing one cell does not lose your data.
And then smart scan: part of the query runs at the storage level itself. The cell filters the rows and sends back only what you asked for. Traditional storage cannot do this, because it is designed for I/O only. That is also why the cell software carries a licence: some SQL really is processed in the cell.
A learner once asked me: more stops than three, doesn't that take time? No. For X8M, Oracle quotes read latency under 19 microseconds for reads served from persistent memory over RoCE. The extra stops are where the speed comes from.
7. Compression and resources
- Compression: on a traditional RAC, Advanced Compression is a separate licence. Exadata adds Hybrid Columnar Compression, in four levels: Query Low, Query High, Archive Low and Archive High. The Query levels are for data you still read often; the Archive levels squeeze harder, for data you rarely touch.
- Resource management: traditionally you have Database Resource Manager for CPU. Exadata adds IORM, the I/O Resource Manager, so you can share I/O between databases too.
8. Backup: ZFS instead of SAN
Traditional RMAN backups go to a file system, an ASM FRA disk group or tape. On Exadata we use the ZFS backup appliance, mounted on the database servers and named in the RMAN script. You can connect a SAN, but I advise against it: if the SAN has a problem, you are back to depending on the SAN team.
9. Workloads and space
Traditionally OLTP runs on commodity servers and the data warehouse on an appliance such as Teradata or Netezza. Exadata takes both on one machine. We run a data warehouse and an OLTP database on the same Exadata.
And the data centre space? A full rack for storage and another for servers becomes one 6 foot box, about half a wardrobe.
10. High availability
Everything you know from RAC stays: if a database server fails, another takes the traffic; the SCAN listener on another node takes over; ASM normal or high redundancy keeps the data safe if a cell goes down; Data Guard and backups still count.
Exadata adds redundancy at every hardware component: two InfiniBand or RoCE switches, a left and a right PDU, dual power supplies inside each server.
11. Support, issues and blame
On a traditional setup, when something breaks, the network, storage, Linux and database teams point at each other, and they all come to the DBA first. I have sat in many meetings with vendors and PMOs.
On Exadata there is one vendor. Raise an SR. And because every Exadata of a model is identical, a problem seen at one customer has usually been seen at another. When I call Oracle about a hardware issue, my first question is: have you seen this with other clients? Often the answer is yes.
12. Deployment time
From the day the rack arrives to the day you migrate, plan for about four to five weeks, sometimes six or seven. Oracle to Oracle migration is the easy part.
What this means for you
Exadata does not make you a different DBA. It makes you a DBA with more territory: the OS, the network, the storage and the hardware. That is the step from DBA to DMA, the Database Machine Administrator.
Take a notebook only for Exadata. Write every doubt you get in it, with your own hand. Before an interview, read that notebook.
Learn these differences deeply and Exadata stops being a black box. It is the RAC you already know, with a whole machine built around it.