7.4. Result Snapshots¶
The Result Snapshots view lists the result-data
snapshots you have kept for later use. Open it
with , with the
Open Result Snapshots button at the right
end of the tab bar, or with Ctrl+N. On macOS, press Cmd+N.
A snapshot is an immutable copy of collected result data. The data is held in Retrospective’s database, so the snapshot can be restored later.
7.4.1. Creating a Snapshot¶
In a search or monitoring tab, press
Create result data snapshot at the top of the result table, or
choose . The button is
grayed out while a search or monitoring run is in progress, and while any
snapshot is being created or opened (see
One Snapshot at a Time). It becomes available as soon as the
run completes, whatever profile the tab
uses.
The Snapshot Name dialog asks Please enter the name of the snapshot. It proposes the tab title, and the name can be changed later. Name must not be empty and A snapshot with this name already exists keep the dialog open until the name is valid. When the snapshot is ready, a message confirms it and offers a Result Snapshots link to the view.
The copy is taken when you create the snapshot. From that moment the snapshot is independent of the tab it came from. Clearing that tab’s result or removing rows from it does not change what the snapshot holds. Each snapshot therefore occupies database space of its own.
Copying a large result takes a while. The status bar shows Creating result snapshot with the progress and a Cancel button. The progress is shown again when you switch to another tab and come back. Cancel stops the copy, and no snapshot is created. Until the copy finishes, the tab’s Clear result, Remove Selected and Remove Filtered-Out (not matching) actions are unavailable. Closing the tab does not stop the copy: the snapshot is listed when the copy finishes.
Note
A snapshot can only be created for a search or monitoring tab based on a saved profile, because the snapshot would otherwise have no profile to refer back to. On a tab built from an ad-hoc selection of data sources, the button is offered but rejects the click. A warning in the message bar asks you to save the data sources to a profile first, with a link to the dialog that does so.
7.4.2. Opening and Managing Snapshots¶
Fig. 7.18 The Result Snapshots view with its toolbar and find bar.¶
The view lists each snapshot with the columns Fetched, Name, Row Count, Data Size, Type, Profile, Tab Name and Search Criteria.
To open a snapshot, double-click it, or select it and press
Open selected snapshot. Retrospective creates
a new search tab populated with a copy of the snapshot’s data. The
Search Tab Name dialog asks for the new tab’s name. It
proposes the snapshot’s own name, adjusted if a tab is already open under
it, because two tabs cannot share a name; Tab with such name
already exists rejects a taken one. Because the data is copied, the
snapshot itself stays unchanged throughout its lifetime.
The new tab opens at once. Until the copy finishes, the status bar and the middle of the tab show Opening result snapshot. The status bar adds the progress and a Cancel button. Meanwhile, the tab’s profile and search criteria cannot be changed. Then the tab shows Indexing disk storage while it prepares the entries, and the rows appear. The statistics chart is there at once. On a large result, the range detail chart is ready shortly after the rows appear.
Cancel, or closing the tab, stops the copy and closes the tab. The message bar of the Result Snapshots view then says that opening the snapshot was cancelled. If the copy fails, the tab stays open and says that the snapshot cannot be opened.
You cannot delete a profile while a snapshot uses it. If you change such a profile, Retrospective first offers to assign a copy of it to the snapshots.
The view’s toolbar and right-click menu offer these actions:
Toolbar button |
Menu item |
|---|---|
Open |
|
Edit Name |
|
Copy (textual) |
|
Delete selected snapshots |
|
Delete all snapshots |
Renaming asks Please enter the new name of the snapshot; the new name is also proposed for search tabs derived from the snapshot. The delete actions ask first: Do you really want to delete the selected snapshot(s)? or Do you really want to delete all result snapshots?
A find bar sits at the right end of the toolbar. Press Ctrl+F to move the keyboard focus into it; on macOS, press Cmd+F.
The term is matched as plain, case-insensitive text against the text of
every column. Wildcards and regular expressions are not
interpreted. No row is hidden: every match is highlighted in yellow and the
current one in red.
Previous and
Next step through the matches and wrap
around at either end. Esc in the field empties it.
Note
Manage your snapshots deliberately: they occupy database storage. Create a snapshot only when there is a real chance that you need the data again without being able to collect it afresh, and remove outdated snapshots.
7.4.3. One Snapshot at a Time¶
Creating and opening a snapshot each copy a whole result, so only one of
them runs at a time. While one runs,
Create
result data snapshot in every tab and
Open
selected snapshot in the view are grayed out. Their tooltip names the
snapshot and says to wait until it has finished or to cancel it.
stays available and shows
the same text as a warning.
The message bar of the Result Snapshots view shows the same text with a Cancel link. This is where you can still cancel a snapshot whose tab you have closed.
If you exit Retrospective while a snapshot is being created or opened, it asks first, even when the exit confirmation is turned off. Exiting cancels the snapshot, and a tab whose snapshot was still being opened does not come back at the next start.



