Workspaces and session restore
Create a named working context, choose how to open it, and check the database tabs, table snapshots, and SQL state brought back by restore.
When to use this
A workspace preserves local desktop context under its own identity. Create a temporary empty window, save it with a name, and reopen it in the current or another window.
Use separate named contexts for projects or environments, return to earlier work, or arrange several workspace windows side by side.
Before you start
An empty window needs no database connection. Restoring database access needs the saved local workspace and usable connection parameters, drivers, network, and permissions. Use a demo context for a first save/reopen check.
Steps
- Choose Workspace → New Empty Workspace, then open the intended connection, database, Schema, table, and SQL Editor.
- Choose Save Workspace As, enter a name, and confirm the saved workspace identity. Use Save Workspace for later explicit saves.
- Record the tabs, filter text, and harmless SQL marker you expect to recover; handle database writes and SQL-file saving separately.
- Close the named workspace with Workspace → Close Workspace, then use Recent Workspace to return. To choose new-window or close-other-window options, use the separate Open Workspace dialog.
- Wait for restoration, activate the required tabs, and compare their context and data-load status before continuing.
How to verify the result
The selected workspace returns with its available saved client context. Cached views can appear before fresh server access; verify the active target and refresh when current data is needed.
Troubleshooting
- A blank window after New Empty Workspace is expected. Open Workspace selects a saved context; a new temporary window deliberately skips old-session restore.
- If Ctrl+S / ⌘+S saves a record or SQL history instead, use Workspace → Save Workspace directly; an active content table can take priority even after moving focus.
- If another window comes forward instead of a duplicate, check the UUID: already-open workspaces are activated and reused.
- If more windows close or open than expected, review Close other opened workspaces, the remembered Open in new window option, multiple selection, and the All Workspaces arrangement scope.
- If tabs appear incomplete, wait for deferred restore, activate the desired database/tab, and check the saved identity, connection, network, driver, permissions, and package status.
- If restored rows differ from the server, inspect their load time and refresh the intended target. A cached snapshot does not establish current data or a completed database backup.
- If Open Workspace or Recent Workspace is empty, save a named workspace first and check local metadata access. Package or key errors need the original local recovery environment; do not delete configuration as a first troubleshooting step.
Limits
- Saving session context is separate from database backup, transaction commit, pending-row saving, SQL-file saving, and server-side undo.
- Ordinary reopening prefers recent local session records and can show state newer than the last explicit workspace-package save.
- New temporary windows skip automatic session persistence until saved as named workspaces. The supplied macOS close prompt shows Save / Don't Save / Cancel; Don't Save is the discard choice.
- The same open workspace UUID is reused. Save Workspace As creates a new identity; Rename preserves the existing one.
- SQL history, libraries, revisions, configuration exports, and team sharing have separate storage rules. Deleting a workspace is not a complete cleanup of those stores.
- Restore can use cached, incomplete, or older table data. Local package files alone do not guarantee portability to another account or computer.
- For worked toggle examples and first/last or numbered tab jumps, see Quick navigation in the Table Content module.