Skip to main content

How to use this guide

This guide is a learning path for a junior Oracle DBA. It does not replace the other books on this shelf. It tells you which script to run first, how to read what comes back, and when to stop and ask for help.

How the pages are built

Every task page has the same five parts, always in this order:

  1. When to use it: the situation, in plain words.
  2. Run this: the script or query.
  3. How to read the output: what is normal and what is a warning sign.
  4. What to do next: the action, or the point where you escalate.
  5. Risk level: how careful you need to be.

Risk levels

READ ONLY Safe to run at any time. It only queries the data dictionary.

GENERATES COMMANDS The script only prints commands. Nothing changes until someone runs that output. Review it line by line first.

CHANGES THE DATABASE This changes configuration or objects. Run it only with an approved change and a rollback step written down.

DESTRUCTIVE This ends sessions or removes things and cannot be undone. Confirm with a senior DBA before running it in production.

Golden rules

  1. Read the whole script before you run it. If you cannot explain a line, do not run it yet.
  2. Know where you are connected. Check the instance name before every command that changes something.
  3. Look before you act. Run the read only query first, then decide.
  4. Never kill a session, drop an object or change a parameter in production without confirmation and a rollback step.
  5. Replace every placeholder. Values in angle brackets or starting with YOUR_ are examples, not real names.
  6. Write down what you ran and when. Your notes are the first thing a senior DBA will ask for.
  7. When in doubt, escalate early. Asking costs minutes; a wrong command can cost hours.

Suggested order

Work through chapters 1 to 5 in order during your first weeks. Chapters 6 to 9 can be read as the tasks come up. Chapter 10 is for incidents: read it once now so you know it exists.