Manage databases and inspect state
Choose database and Schema operations by engine, inspect metadata, sessions, users and variables, and understand where lifecycle, grants and maintenance start changing the server.
When to use this
Use the Database menu and Schema controls for namespace lifecycle, and Sessions, Users Manager and Variables for operational inspection. Read-only viewing, global-variable saving, account changes and maintenance have different scopes and confirmations.
Use this to inspect an existing demo connection, investigate visible state or prepare an intentional database-level change after checking the engine, target, privileges and recovery plan.
Before you start
Confirm workspace, connection/account, database and Schema, plus engine/server version and driver. Use catalog privileges for inspection and separate administrative grants for changes. Before destructive or disruptive work, arrange a tested backup/recovery path and a maintenance window. A menu entry and a connected account are not a server permission check. All DM8 support depends on Python Wheel support from the DM8 vendor; follow-up is ongoing.
Steps
- Activate and verify the target. Read the Database menu and any clicked database-row context carefully; check the SQL Editor’s own target for terminal/SQL work.
- Start with inspection: read Database Info, open Sessions, or select an existing principal/variable without editing or applying changes.
- Choose a lifecycle task only where the engine supports it. Review a creation/copy draft and Cancel to inspect; treat Rename, Drop, Clear and Schema removal according to their own confirmation and scope.
- For an intended write, distinguish account SQL Preview → Execute from MySQL/MariaDB Save Variables → SET GLOBAL, and from confirmed maintenance commands. Do not assume a later parent Save Changes or Cancel controls these actions.
- Wait for real feedback, inspect partial failures, then refresh/reconnect and read the relevant server state independently. Keep local execution history and server auditing separate.
How to verify the result
Inspection shows only the metadata and operational rows available to the selected engine/account and can be left without applying edits. A planned server change needs real operation feedback plus a fresh, scope-correct readback; progress, a preview or local history alone does not establish completion.
Troubleshooting
- An action is hidden/disabled or returns unsupported: check the exact engine/action, active versus clicked target, whether the target is open, application permissions, driver and server grants. Do not substitute another engine’s command.
- Rename shortcut opens Recent Tables or does nothing: both have the Ctrl+Alt+R default. Choose Database → Rename Database explicitly or assign a unique shortcut in Settings → Shortcuts.
- Sessions/Variables are empty or fail: check metadata support and privileges. DM8’s empty surfaces and Redis’s hidden shared actions are intentional limits, not proof of an idle or unconfigured server.
- Variables shows success or a mixed report: check exactly which SET GLOBAL operations were attempted and reread global values independently. Do not retry the whole displayed document without reviewing every entry.
- Copy/clear/maintenance stops or reports partial success: inspect the actual target and errors before retrying. An existing partial target, removed object or completed command is not automatically rolled back.
- Database Info differs from another tool: compare database versus Schema scope, catalog visibility, size definition and refresh age. N/A and missing metadata are not zero.
- A grant looks correct but access still fails: distinguish principal identity, host/auth database/container, inherited roles, resource limits, current sessions and the exact object scope; inspect the server’s effective permissions.
Limits
- Administration is action-specific. Database/schema aliases, Oracle users/schemas, SQLite files, MongoDB collections and Redis logical indexes are different objects.
- Sessions is a read-only snapshot without termination controls and may show other databases. Users Manager is editable; reading grants is separate from Apply / OK → SQL Preview → Execute.
- MySQL/MariaDB Save Variables submits all parsed SET lines as SET GLOBAL, including unchanged entries. A normal SHOW VARIABLES refresh does not verify global values or restart persistence; other offered relational configuration is read-only.
- Clear Database drops tables/collections and sometimes Schemas; it does not preserve all structures. Drop may remove an Oracle user/schema or clear Redis keys. Completed DDL/maintenance is not undone by closing a window.
- Direct rename is limited. SQL Server rename/drop can force session rollback; PostgreSQL connection rules can block the operation. Duplicate Database is not a consistent backup or a full server clone.
- Optimize/Repair differ by engine and can be unavailable or diagnostic only. DM8 leaves physical creation, dynamic sessions/parameters, storage size and maintenance unverified/unavailable; Redis remains opt-in; compatible protocols do not imply administration parity.
- Client history and workspace restoration are not server audits, database recovery or a complete record of other clients’ activity. Source review does not establish a released build or complete live workflow.