SQL consoles archive
Last updated 26 November 2026
Every SQL console in ARNscope saves its text and its run history on your Mac. SQL consoles, at the top of the Databases page’s list, shows all of them in one place: PostgreSQL, MySQL, MariaDB, StarRocks, ClickHouse and DuckDB consoles, from every profile and region. The SQL you wrote last month against a database you’ve since deleted is still there.
What it lists
One row per console that has saved SQL or a run, with a count beside SQL consoles:
| Column | Shows |
|---|---|
| Connection | The connection’s name, or “Deleted connection” with the first characters of its ID when the name is gone |
| Engine | PostgreSQL, MySQL, ClickHouse, DuckDB and so on |
| Where | The host and port, the profile and region of an RDS database, or the DuckDB file and buckets (for a saved or unsaved DuckDB console) |
| Status | Open, Saved connection or RDS database (you can go to it), Connection deleted, Not found in region, Other profile or region, Unsaved DuckDB console |
| Last edited | When the console text last changed |
| Runs | How many statements its history holds |
Filter matches the name, host, engine, profile, region or the SQL itself, so you can find a query by a table name you remember. Refresh reads the list again.
Open one
Selecting a row opens it beside the list, read-only:
- Console shows the saved SQL; History shows the statements that ran, each with its time, result (OK or Failed), database and duration.
- Copy SQL (or Copy history) copies what is shown.
- Go to connection opens the console of that database again, when it is a saved connection or an RDS database in the current profile and region. Saved DuckDB connections have no profile or region, so you can always go to them. For an unsaved DuckDB console it re-opens the console with the same file and AWS profile; its title reads DuckDB · profile.
- Delete (trash) removes the saved SQL and history of that console from this Mac, after a confirmation. The database is untouched. A console that is open can’t be deleted; close it first.
- Escape closes the panel.
A database’s connect screen also says when its console has saved SQL, and View it read-only opens it here without connecting. That helps when the database can’t be reached.
When a connection goes away
Deleting a saved connection asks first, and says that its console SQL stays under SQL consoles. ARNscope keeps the deleted connection’s name, so the archive can still show it; for a deleted DuckDB connection, Where reads “DuckDB (deleted)”. Saving an unsaved DuckDB console as a connection moves its SQL and history to the saved connection’s row, so it isn’t listed twice. A database that no longer appears in RDS, or one in a profile or region you are not looking at, keeps its SQL too.
Limitations
- On this Mac only. The archive is not synced between Macs or backed up by ARNscope.
- Read-only here. To run a query again, use Go to connection or copy the SQL into another console.
- Go to connection works only for a connection that still exists, in the profile and region you are looking at.
- History keeps the statements, not their results. DuckDB statements that name a key, secret or token are saved without their string values.
- Delete removes the console’s SQL and history permanently.