Skip to main content
Bytebase’s Schema Diagram renders a database’s tables and their relationships as an ER Diagram.

View the Schema Diagram

Open the SQL Editor and connect to a database. In the schema panel on the left, click the Schema Diagram button — the cube icon at the bottom of the action bar. The diagram opens in a new editor tab. On databases that organize objects into schemas (such as PostgreSQL and Oracle), you can also right-click a schema in the tree and choose Schema Diagram. Schema Diagram in the SQL Editor showing tables and their foreign-key relationships Drag the canvas to move. Use the mouse wheel, trackpad, or the -/+ buttons to zoom in and out. Use the search box to filter tables by name. Click the Focus button in the schema tree or the table header to toggle table highlighting and center the view on that table. Click the Fit content within view button to restore the initial position and zoom. Click the Screenshot button to export the current view as a PNG file. The image is also copied to your clipboard.