Skip to content

A media server stores artwork and thumbnails for everything, including deleted films

Metadata grows with every item scanned and does not shrink when the media does. Where it lives on a PC and what is safe.

5 min read

A media server does not only index your files. It downloads artwork, builds preview thumbnails and keeps a database of everything it has ever seen, and on a large library that metadata is measured in gigabytes.

Where it is on Windows

$plex = "$env:LOCALAPPDATA\Plex Media Server"
Get-ChildItem $plex -Directory -EA SilentlyContinue | ForEach-Object {
  $s = (Get-ChildItem $_.FullName -Recurse -Force -File -EA SilentlyContinue | Measure-Object Length -Sum).Sum
  [PSCustomObject]@{ MB = [math]::Round($s/1MB); Folder = $_.Name }
} | Sort-Object MB -Descending
FolderWhat it isSafe to clear
MetadataArtwork, posters, thumbnailsYes, redownloaded
MediaGenerated video preview thumbnailsYes, and often the largest
Plug-in Support\DatabasesThe library databaseNo, watch state and settings
CacheTranscoding and general cacheYes
LogsDiagnosticsYes

Video thumbnails are optional and expensive

The setting that generates preview thumbnails for scrubbing creates an image every few seconds for every video in the library. It is genuinely useful and it is the single biggest contributor to metadata size. Turning it off and clearing the generated files is the largest available win if you do not use scrubbing previews.

Transcoding on Windows

The transcoder writes temporary files while converting a stream, and its folder defaults to the system drive. On a server that transcodes regularly, pointing it at a second drive in Settings, Transcoder keeps that traffic off C entirely.

Optimised versions

Converted copies made for streaming to phones are full second copies of the media, stored with the library rather than the metadata. One optimised season is larger than all the artwork put together, which is why they are worth checking separately.

Cleaning up properly

The server has scheduled maintenance tasks for cleaning old bundles and emptying trash, which update the database as they go. That is safer and more thorough than deleting folders, and the database itself should never be removed: it holds watch history and ratings that nothing recreates.

Common questions

Where does Plex store metadata on Windows?

In %LOCALAPPDATA%\Plex Media Server, with separate folders for metadata, generated thumbnails, databases, cache and logs.

Can I delete Plex metadata to free space?

Artwork, thumbnails and cache can be cleared and are downloaded or regenerated. The databases folder holds watch history and settings and should never be deleted.

Why is Plex metadata so large?

Usually generated video preview thumbnails, which create an image every few seconds for every video. Turning that setting off and clearing the files is the biggest single reduction.

Where does Plex transcode on Windows?

To a temporary folder that defaults to the system drive. Pointing it at another drive in Settings, Transcoder keeps that write traffic off C.

Read next