DBMaster

Oracle in DBMaster

Compatible with Oracle 12c or later. “Database” is the service name (for example FREEPDB1 or ORCL) and the schemas are the users.

How to connect

DBMaster uses its own Oracle client (no Oracle driver). In the form:

Schema status

On the schema home, the Schema status card counts the valid and invalid objects with a colored bar. Below it, each invalid object appears with its first compile error and the Open and fix button. Recompile all recompiles the whole schema with one tap.

Oracle creates an object whose code does not compile without an error (it stays INVALID). DBMaster keeps it, marks it and shows you its errors instead of deleting it.

Schema status with an invalid procedure and its compile error
Schema status

Object categories

Besides Tables, Views, Procedures, Functions and Triggers, Oracle has Packages, Types, Sequences and Synonyms. Each tile shows how many objects it has and how many are invalid, and inside each category there is a filter (All / Invalid) and a VALID / INVALID label on each object.

Oracle category tiles with packages, types, sequences and synonyms
The Oracle categories

Editor with compile errors

When you open an invalid object, the editor pins the list of errors at the top with their line and column (for example 3:3 PLS-00201), and Go to line takes the cursor to the problem. The line with the error is marked in red and you can show or hide the line numbers.

  • Packages and types have two parts (specification and body) that are edited separately and saved together.
  • You can write CREATE OR REPLACE when creating a new object; if one with that name already exists, it tells you.
  • A new object that does not compile stays created, invalid, with its errors in view.
Procedure editor with the list of compile errors and the code with line numbers
Compile errors

Execution plan

Tools → Explain shows the Oracle plan with estimated rows and bytes, time and the full table scan warning. It also works on databases opened read-only (the plan table cleans itself).

Oracle execution plan with a hash join and a sort
Execution plan on Oracle

Users and privileges

With an administrator account (for example SYSTEM), the Users tool lists and manages Oracle users and their privileges.

If the server does not use TLS and is not on your network, protect the connection with an SSH tunnel.