ntriga/pimcore-optimize-db-tables

Optimize the database tables in messages

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 3

pkg:composer/ntriga/pimcore-optimize-db-tables

11.0.1 2025-03-06 11:12 UTC

README

OPTIMIZE TABLES to save sace in DB

Features

  • Objects: Uses messages to optimize the DB tables

Installation

You can install the package via composer:

composer require ntriga/pimcore-optimize-db-tables

Add Bundle to bundles.php:

return [
    Ntriga\OptimizeDbTables\OptimizeDbTablesBundle::class => ['all' => true],
];

Add a cronjob to run the command, we do this every night:

0 2 * * * /path/to/your/pimcore/bin/console ntriga:pimcore-optimize-db-tables

Consume the messages

bin/console messenger:consume ntriga_optimize_db_table

Further configuration

For more information about the setup, check Setup

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

GNU General Public License version 3 (GPLv3). Please see License File for more information.