DBRepair development

While I like the term purge as well.. I have ‘remove’ coded in the menu

BUT it responds to both ‘purge’ or ‘remove’ :wink:

Try it, you’ll see I reference both for now so we can gauge which looks best.

ALSO

I have the other part of this release ready for you all to kick the tires.

  1. ZFS users will like this
  2. Initial support for customizing DBRepair is a reality

Database ‘page_size’ may now be set. (DBREPAIR_PAGESIZE)

  1. Environment variable DBREPAIR_PAGESIZE allows setting the DB’s internal page size.
    – Linux ext4 & xfs users need not bother with this as the filesystem already matches the DB page size (4096)
    – ZFS users can now increase the page size to match their ZFS datasets and recover some of the performance lost to HDDs

  2. Must be a multiple of 1024
    – May not exceed 65536 (SQLite limit)
    – Rounds to the nearest 1024 multiple if you can’t do the math! :stuck_out_tongue: lol

  3. Can be undone by unsetting the environment variable and rerunning “automatic”

Cache age maximum may now be specified (DBREPAIR_CACHEAGE)

  1. Environment variable DBREPAIR_CACHEAGE (export DBREPAIR_CACHEAGE=x)
  2. A simple positive integer (x) measured in days

SEE THE README for details.

PlexDBRepair-EnvVars.tar (100 KB)

My supply of :adhesive_bandage: is limited.
:slight_smile:

2 Likes