History¶
Every SQL query you run in Explore leaves a run record on the server. Records answer two questions: what ran, and how it went. You read them in two places: the History tab of a workspace, which lists that workspace's runs, and the History page, where Admins see every run in the deployment.
What a Run Record Holds¶
Each run record keeps:
| Detail | What it shows |
|---|---|
| User | Who ran the query. |
| Ran | When the run started. |
| Outcome | Succeeded, Failed, or Stopped. |
| SQL | The SQL that ran, and whether it ran as the datastore's own SQL or as Spark SQL. A Spark SQL run carries a Spark SQL tag, whose tooltip reads Ran in Spark SQL over the datastore's containers. |
| Datastore | The workspace's datastore, the one the query ran on. |
| Workspace | The name of the workspace the run came from. The run keeps that name after the workspace is renamed or deleted. |
| Rows | The rows the run returned. A count followed by + belongs to a run that is still going, so more rows may follow. |
| Duration | How long the run took to return its first rows, or to finish when it returned none. |
| Error | For a failed run, the reason it failed. |
The outcomes mean:
- Succeeded: the query ran and returned its result, with or without rows.
- Failed: the query passed the checks but failed when it ran. The error is kept with the run.
- Stopped: the run ended before it finished, because you stopped it or ran the workspace again while it was still running. See Stop a Query.
Row counts and durations describe the run as the server saw it. For a run that was stopped or that ended early, the count reflects the rows read before it ended, so treat it as an indication rather than an exact total.
How Long Runs Are Kept¶
Run records are kept on the server for 90 days. Older records are removed. Deleting a datastore removes the runs made on it right away, from both the History of each workspace and the History page. A run that only read that datastore through another one stays. Because they live on the server, the same history shows in any browser you sign in from.
Which Runs Are Recorded¶
A run is recorded once the query passes the checks Explore applies before running it, whether you ran it from the Explore page, from a datastore's Explore tab, or through the API.
Some reads never appear:
- Queries refused by the checks. A query that Explore refuses before it runs (for example, a statement that changes data, or a table outside the datastores you can query) is not recorded.
- Container tab reads. Rows read on a container's Explore tab, including the default Preview workspace, are not recorded. See Datastore and Container Tabs.
The History Tab of a Workspace¶
The results card of every workspace has three tabs: Results , Chart , and History . History lists the runs of the open workspace, up to the last 100, newest first. It covers runs made from the Explore page and from the datastore's Explore tab, since both show the same workspaces.
Each row shows:
- An outcome icon (hover it to read Succeeded, Failed, or Stopped).
- The date and time of the run, to the second.
- The SQL on one line, with a Spark SQL tag for Spark SQL runs.
- A Copy query button that copies the run's SQL.
- The rows returned and the duration. A failed run shows no row count.
Selecting a row expands it to the full SQL and, for a failed run, the error. A workspace that has never run shows No runs yet.
The tab sits over the results without clearing them, so going back to Results keeps the grid where you left it. Running the query again switches back to Results, and the list refreshes once the run ends. To copy an earlier query back into the editor, see Review a Workspace's Runs.
The History Page¶
The History page (/explore/history) lists every query run in Explore and on datastores, by every user. It is open to the Admin role only. Admins reach it from the History entry under Manage at the bottom of the Workspaces panel on the Explore page. Anyone else who opens the address is taken back to Explore.
Finding Runs¶
| Control | What it does |
|---|---|
| Search queries by content | Keeps the runs whose SQL contains the text, ignoring case. |
| Start date and End date | Keep the runs made on or between the two days. They default to the last 30 days, and neither can be after today. The start date must be on or before the end date. |
| Sort runs | Orders the list by Ran (the default, newest first), Duration, Rows, or User. |
| People | Keeps the runs of the users you pick. It offers only the users who ran a query between the two dates. |
| Datastore | Keeps the runs made on the datastore you pick, one at a time. A run counts for the workspace's own datastore, not for other datastores its SQL read. |
| Outcome | Keeps Succeeded or Failed runs. |
The list is paged. When nothing matches, the page shows No query runs found for the selected filters.
Summary Tiles¶
Above the tiles, a line names the period and the people they cover, such as Oct 25, 2026 to Nov 23, 2026 • Everyone, or 2 selected people when People is set. Six tiles sum up the runs that match the search, dates, and filters:
| Tile | What it counts |
|---|---|
| Query runs | Every matching run, with how many succeeded, failed, and (when any) were stopped. |
| Failed | The failed runs, and their share of all runs. |
| People | The users who ran a query. |
| Datastores | The datastores the runs were made on. |
| Average duration | The average duration of the runs. |
| Rows returned | The rows the runs returned, added up. |
Grouping¶
Sorted by Ran, the list is grouped by day: Today, Yesterday, Previous 7 days, and Older. Sorted any other way, the runs form one group named after the sort. Each group shows how many of its runs are on the current page.
Each Run Entry¶
An entry shows the user, the date and time, the outcome, Duration, Rows, the datastore, a Spark SQL tag when it applies, and the workspace name. Expanding Query shows the SQL as it ran and, for a failed run, its error. To work through the page, see Review All Query Runs.
What Admins See of Other Users¶
On the History page an Admin reads every user's run records: who ran what, on which datastore, from which workspace, when, and how it went, with the SQL and any error. The records stop there. An Admin cannot open another user's workspaces or read the rows of another user's result, because both stay private to the user who owns them.
When a query reads tables with masked fields and the database refuses it, the database's own error message is replaced by a generic one in the run record, since that message could quote masked values.
Who Sees What¶
| Where | What you see |
|---|---|
| History tab of a workspace | The runs of that workspace. Workspaces are private, so these are always your own runs. |
| History page | Every user's runs. Admin role only. |
| API | Every user can read their own runs. Admins can read everyone's. See the Explore API. |
For the full list of who can do what in Explore, see Permissions.
See Also¶
-
Assets
The datastores, tables, and fields you can drag into your SQL, and why some of them stay locked.
-
Explore Assistant
The AgentQ chat beside each workspace that proposes queries and charts, and helps fix failed queries.
-
Datastore and Container Tabs
The Explore tab of a datastore, and the Explore tab of a table or file with its fields, filter, and custom columns.
-
Examples
Questions people answer with Explore, and the queries and settings that answer them.
-
Best Practices
Habits that keep queries fast, results trustworthy, and masked data protected.
-
Permissions
The user roles and team permissions behind running SQL, revealing masked values, and reviewing history.
-
How Explore Works
What a run is, how rows load as you scroll, how a run ends, and the limits that apply to every result.
-
Workspaces
The saved, private places that hold each query, its datastore, and its last result.
-
SQL Modes
Running a query on the datastore in its own SQL, or in Qualytics with Spark SQL, and what each mode can read.
-
Query Editor
The editor's controls: the datastore, the SQL badge, autocomplete, running a statement or a selection, formatting, and saving a computed table or file.
-
Results
The results grid, row counts, query details, cell values, masked values, and downloads.
-
Charts
Bar, line, and scatter charts of the rows loaded so far, charts proposed by AgentQ, and their PNG and PDF downloads.