| Products | Versions |
|---|---|
| Spotfire Server | 14.7.0 and above |
This article provides step-by-step instructions on how to use specific Library search strings and SQL queries to identify old, unused, or never-opened Spotfire reports. Following these methods allows administrators to safely purge abandoned files, reduce library backup sizes, and optimize Spotfire Server performance.
All
SELECT
ITEM_ID AS [Report_GUID],
TITLE AS [Report_Name],
ACCESSED AS [Last_Accessed_Date],
MODIFIED AS [Last_Modified_Date]
FROM
dbo.LIB_ITEMS
WHERE
-- Filter strictly for Spotfire Analysis (dxp) files
ITEM_TYPE = 'g00df00d-0000-0000-0000-000000000004'
AND (
-- Captured files not opened in over a year OR never opened at all
ACCESSED < DATEADD(day, -90, GETUTCDATE())
OR ACCESSED IS NULL
)
ORDER BY
[Last_Accessed_Date] ASC,
[Last_Modified_Date] ASC;
Having too many old or unused reports in your Spotfire Library can slow down searches, make system backups too large, and waste server memory. This article shows you how to identify and safely delete these old files using either the built-in Library Admin search bar or a safe, read-only SQL database query.
Doc: Searching the library:
Doc: Deleting items from the library:
Doc: delete-library-items: