DBMaster

Explore a database

Every SQL engine opens the same explorer: a schema summary and the object categories that engine has. This way you do not have to learn a different screen for each database.

The schema home

When you open a connection you land on the Tables tab. At the top you choose the schema (or the database). Below:

  • Summary: how many objects there are, and how many are tables and views. In Oracle, this card is the schema status.
  • Tools: Diagram (relationships between tables) and Users (users and privileges, on the engines that allow it).
  • Schema objects: one tile per category with its count: Tables, Views, Procedures, Functions and Triggers. Oracle adds Packages, Types, Sequences and Synonyms. Only the categories the engine has appear.

The arrow in the top left corner goes up one level each time: from a category to the home, from Query or History to Tables, and from Tables to the connection list.

Explorer home with summary, tools and categories
The schema home

A category

When you tap a tile you see its objects, with a path at the top (schema › category) to go back and a search box (Search objects). The button at the bottom creates a new one (New table, New procedure…).

The ⋮ menu of each table has: Open data, Structure, Import data…, Alter table, Empty table, Drop table and Copy name.

List of tables with search box and New table button
The tables of the schema
Table menu with open data, structure, import, alter, empty and drop
A table menu

See the data of a table

Open data opens the table in the Query tab with its paged result (100 rows per page, which you can change).

  • Go to # jumps to a row by its number, and the arrows change page.
  • Tap a column name to sort (again to reverse). Drag the tab on the left to scroll fast.
  • Filter rows and the table menu (⚙) have more options: Results.
  • Tap a row to edit it; the + button adds one.
Data of a table with paging and grid
Data with paging

Structure of a table

Structure shows the columns (type, primary key, NOT NULL, default value, auto-increment), the indexes and the foreign keys. From there you can Open data, Copy or Copy CREATE TABLE.

Structure of a table with its columns and indexes
The structure of a table

Relationship diagram (ER)

Diagram draws the tables of the schema with their primary and foreign keys and the lines that join them. With Only tables that have relationships on, tables with no relations are left out. You can move around and zoom with your fingers and share the diagram as an image.

Relationship diagram between the tables of a schema
The ER diagram

Query-only engines

Apache Spark SQL, Presto / Trino and DolphinDB are meant for browsing and querying: you see their tables and data and run SQL, but they are read-only (they are for querying, not for changing) and have no execution plan or ER diagram. Their usual ports are 10000 (Spark, through HiveServer2), 8080 (Presto / Trino) and 8848 (DolphinDB).

Tablets and foldable phones

With a screen or window of at least 720 × 480 dp (tablets, unfolded foldable phones or wide windows), the session splits into two panes: the tables on the left and the query or the data on the right, so you pick a table and see its contents without changing screens. If the right pane is at least 720 dp wide, the editor and the results share two columns. On a small screen you see one pane at a time. The app supports resizable windows.

Next: Queries →