emteknetnz/silverstripe-disk-space-report

Report showing disk space usage

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

Type:silverstripe-vendormodule

dev-main 2024-09-13 06:48 UTC

This package is auto-updated.

Last update: 2024-10-13 07:00:24 UTC


README

This module provides an admin only report that shows the disk space used by each table in the database.

This module works on Silverstripe 4 and 5.

It has only been tested on MySQL and MariaDB databases.

Installation

composer require emteknetnz/silverstripe-disk-space-report

Usage

Once installed, you can view the report by going to the Reports section in the CMS. You must be an admin to view this report.

A queued job will be created on the first dev/build which will calculate the disk space used by each table in the database.

This job will run immediately at first, and after that will run every 24 hours to keep the data up to date.

Configuration

You can configure how often the job runs with the following configuration:

Emteknetnz\DiskSpaceReport\Jobs\DiskSpaceJob:
  # Run every 12 hours instead of the default 24 hours
  run_every_seconds: 43200