Exadata Interview Questions for Experienced DBAs, Answered

The Exadata questions interviewers really ask experienced DBAs, from architecture to patching pre-checks and the cell alert log, answered the way I answer them in class.

These are the Exadata questions that come up again and again when an experienced DBA interviews for an Exadata role: what the machine is made of, how it differs from RAC, how you connect to it, how it is patched, and where its logs live. I answer each one the way I answer it in my classes, short first, then the reason.

One habit before we start. Keep a notebook only for Exadata. Every doubt you get while learning, write it down with your own hand. Before an interview, read that notebook. Those doubts are your interview.

Architecture

1. What is the difference between an Exadata database server and an Exadata database machine?

A database server is one server. The database machine is the whole rack, about 6 feet tall, with the database servers, storage servers, switches, PDUs, cabling and software inside it. Many people mix these up. Don't.

2. What hardware is inside an Exadata rack?

Five types of component: database servers, storage servers (cells), InfiniBand or RoCE switches, the admin (Cisco) switch, and PDUs. Every server also has its own ILOM. Nothing else is in the rack except cables.

3. How many database servers and cells are in a quarter, half and full rack?

Quarter rack: 2 database servers and 3 cells. Half rack: 4 and 7. Full rack: 8 and 14. Each high capacity cell has 12 disks, so a quarter rack has 36. From X5 the configurations are elastic, so you can add servers and cells beyond these fixed shapes. Say that too; it shows you know the newer racks.

4. Which disks hold the operating system on a storage cell?

Not "disk one for the OS and disk two for the cell software". That is the usual wrong answer. Before X7, the first two disks each give a small system partition of about 30 GB, which together hold the OS, the cell software and the logs. From X7 onwards, two M.2 devices hold the system area.

5. What changed in X8M, and after it?

From X8M (September 2019), the InfiniBand fabric was replaced by RoCE at 100 Gbps, and PMEM, persistent memory, was added to the storage cells as one more caching tier. X9M kept that design. X10M moved the servers to AMD EPYC processors and replaced PMEM with XRMEM, Exadata RDMA Memory. Know the generation the interviewer's company runs, and what changed in it.

Exadata against RAC

6. Name a few differences between traditional RAC and Exadata.

Pick the ones you can explain, not a long list:

  • Hardware: many vendors across a room against one vendor in one 42U rack.
  • Network: separate interconnect and storage switches over iSCSI or Fibre Channel, against one InfiniBand or RoCE fabric doing both.
  • SQL processing: traditional storage sends every block to the database server; Exadata runs part of the query in the cell (smart scan) and sends back only the rows.
  • Support: many vendors blaming each other, against one SR with Oracle.

I explain all of these in Exadata vs RAC: what actually changes for a DBA.

7. Why is the cell software licensed per disk?

Because the cell is not just storage. Some SQL is processed at the cell level: filtering rows, smart scan. Traditional storage is designed for I/O only.

8. What is a storage index?

A cell server software feature. The cell keeps minimum and maximum values for regions of the data, in the cell's memory, so it can skip regions that cannot match your WHERE clause. Storage index, Hybrid Columnar Compression, smart scan and smart flash cache are all cell software features.

When does it help? It works as part of smart scan. A query that goes through a B tree index, or reads blocks into the buffer cache, gets nothing from it. And it helps most when the data is clustered on the column you filter: whole regions fall outside your range and are skipped. When the values are scattered everywhere, every region's minimum and maximum covers your value, and nothing is skipped.

The DMA role

9. What does a DMA do that a regular DBA does not?

A DMA, Database Machine Administrator, looks after the whole machine. On top of the database, the DMA works in five areas: the operating system, the network, backup, the hardware, and other tasks such as patching with Oracle, ASR and licences. In my words, a DMA is about 80% regular DBA and 20% Linux, storage and network.

More in What an Exadata DMA does that a DBA doesn't.

10. Do you have root on every Exadata component?

On the database servers and the cells, yes. On the newer RoCE and Cisco switches, there is no root, only an admin user. So keep a second user with network admin rights on the switches, in case admin gets locked.

Connectivity

11. How do you connect to the console of a database server?

Console means the operating system. Log in to the server's ILOM, by SSH to its ILOM name (by standard, the server name followed by -ilom), and at the ILOM prompt run:

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y

It asks for a login (root, oracle or grid) and a password, and you land on that server's prompt. This works even when the server's own network is down.

12. Port 22 is blocked from your laptop. How do you reach the database server?

From another database server or a cell, by SSH, because they are in the same subnet. Or through your company's jump server or privileged access management tool. Or through the ILOM serial console.

Monitoring

13. What is an active request?

A client I/O request that is being processed by the cell. If RMAN takes a backup, that is client I/O, and while the cell serves it you can see it as an active request. It covers activity at instance, database, ASM and cell level.

Read only
CellCLI> describe activerequest
CellCLI> list activerequest detail

14. What is the difference between a stateless and a stateful alert?

A stateless alert is a point in time event. It does not represent a persistent condition; it only tells you that something happened, and it is never cleared by itself. A stateful alert represents a condition that persists, such as a failed disk or a temperature above its threshold. Exadata tests it again later, and when the condition clears, the alert clears.

15. What are the types of metric?

Four: cumulative (summed since the metric was created), instantaneous (the value at that moment), rate (per second) and transition (collected when a value changes, usually a hardware status). Every object, a cell, a cell disk, a grid disk, has metrics. Think of your body temperature: it is a metric of you.

Read only
CellCLI> list metricdefinition
CellCLI> list metriccurrent

16. Where is the alert log of a storage cell?

On the cell, find the ADR base from the environment, then go to diag/asm/cell/<cell name>/trace. The alert log is there. It is the same pattern as the ASM alert log under the grid ADR base and the database alert log under the oracle ADR base. There is a uniformity.

Patching

17. Which components are patched on a compute node?

Four: the infrastructure patch (operating system kernel, Exadata software and firmware), the database Release Update (what we used to call the bundle patch), OJVM, and datapatch.

18. What are the pre-checks before Exadata patching?

Many people tell me this is the toughest interview question. It is the easiest. The pre-checks look at the machine top to bottom:

  • SSH equivalence from the first database node to all database nodes and cells, and to the switches
  • Free space (/, /u01, the logical volumes) and inode usage
  • OS and hardware versions, and whether you can upgrade directly
  • Known critical issues not yet fixed on the cells or compute nodes
  • Switch, firmware and BIOS versions; fabric link status
  • Flash and grid disk health; no offline disks, no open hardware failures
  • Invalid objects (for datapatch) and non-standard RPMs that conflict

19. In what order do you patch the components?

There is no fixed order. But finish one group before you start the next: if you start with the compute nodes, complete all of them before you touch the cells. Cells and switches can go together. Datapatch runs only after the Release Update is on every node.

20. Rolling or non-rolling?

Rolling is one node at a time; the database stays up. Non-rolling is all compute nodes together; it is faster but needs downtime. A healthy time is one to two hours per node, so eight nodes rolling is about eight hours.

The full steps are in Exadata patching, step by step.

  • exadata
  • interview
  • dma
  • patching
  • cellcli