Operation Guidesdatabasestatisticsmaintenance

View Database Statistics

Check indexed files, images, search data, estimated library capacity and disk space; open the database location or reclaim unused space inside database.db.

Assist Local Image Search Team2026-11-1710 min read
Database Details entry

Check indexed files, images, search data, estimated library capacity and disk space; open the database location or reclaim unused space inside database.db.

The database information panel helps you understand what has already been indexed and how much space the database uses.

Steps

  1. Open the search workspace and select Files on the left.
  2. Click Details beside the image count in the Database section.
  3. Use the refresh icon beside Basic Information after indexing or updating data.
  4. Scroll down to Database to find the path, Open and Shrink actions.
Database Details entry
Database Details entry
Search-data counts and disk space
Search-data counts and disk space

The screenshot covers the upper statistics area. Scroll down to see your own database path and maintenance actions.

Understanding the Numbers

  • Basic information: folder count, indexed source-file count and image count. Source files can include images, spreadsheets, PDFs and videos.
  • Image count: the number of searchable images, including images extracted from multi-image files.
  • Image search: database, backup and feature counts for each strategy. Review the strategy you need; adding strategy counts does not give a unique image count. Multiple subjects can create several records per image, so subject backup and feature counts can legitimately exceed the parsed-image count.
  • Face search: photos containing faces, detected face records, backups and features. A group photo can contain several faces.
  • Pose search: parsed photos, pose records, backups and features.
  • Semantic search: parsed data, backups and features used for natural-language searches.
  • OCR: photos with text-recognition data, used for searching visible text.
  • Library capacity: estimates how many more images you can add based on this computer’s memory. The card shows Healthy, Near limit or At limit; if the memory size cannot be read, it shows Unavailable. Below are a level bar, Search memory in use, Recommended limit and Per image. The recommended limit is 85% of the computer’s memory minus 4 GB. Near or over the limit, a notice identifies the search method using the most memory. Expand the card at the top right to see Usage by search method and Running out of room?. Hardware recommendations opens “How Many Images Can a Library Hold? Memory and Hardware Guide” for more detail. This estimates memory, which is separate from the disk space below.
  • Disk storage: used, free and total space on the drive containing the database, not just the database's own size.
Library capacity card and memory use by search method
Library capacity card and memory use by search method

If a count is lower than expected, indexing may be incomplete or the required feature may not have been selected. If an inconsistency warning appears, wait for related tasks to finish, refresh statistics and follow the warning for the affected data. Do not diagnose corruption merely because there are more subject records than images.

Open the Database Location

Open opens the current database directory in the desktop file manager. It contains database.db, thumbnails, indexes and parsing caches. Keep source material in ordinary folders and add it through the app. Do not manually delete database files, thumb or vector contents; use the app's repair or refresh tools when investigating a problem. Browser clients do not directly open the host's local directory.

Shrink the Database

Shrink reclaims unused space inside database.db after deletions, refreshes or repairs. It does not compress original material or delete indexed images. A result of 0.00 MB can simply mean the database is already compact.

Wait until background tasks finish before shrinking. The panel refreshes the database size afterward. If the drive is still nearly full, shrinking cannot replace disk cleanup or moving the database to a suitable drive.

Common Cases

  • If Details briefly shows a loading state, wait for the statistics request to finish.
  • If image count is zero, check whether material was successfully added to the current database.
  • If a search strategy has no data, add the relevant feature or use its supported repair option.
  • If Open has no effect, confirm you are using the desktop host, not a browser client.

Read failures and retrying

A number that could not be read shows Not loaded; hover over it for a hint. If an entire row in an Image Search or Face Search table could not be read, it shows Not loaded with a Refresh button. That button retries only the affected item and leaves the other counts unchanged. The refresh icon at the top of the panel reloads all statistics.

A dash (—) means the client is too old to provide that statistic. Upgrade to see it; the dash does not mean zero.

Numbers in the example

The example contains 12 images, all with Global and Color data and no face, pose, semantic or text data. Image Search shows 24 parsed strategy records (12 + 12), not 24 different images; Global and Color each still contain 12. The folder count is 4 because the app also records the parent directories of the material folder, so it may not equal the number of folders you added. Read face counts and photos-containing-faces separately as well.

The capacity screenshot comes from the same example library: 12 images use only about 105 KB of search memory, so the card shows Healthy. How many more images you can add depends on your own computer.