ntriga / pimcore-optimize-db-tables
Optimize the database tables in messages
11.0.0
2024-09-06 12:00 UTC
Requires
- php: ^8.1
- pimcore/pimcore: ^10.0|^11.0
This package is auto-updated.
Last update: 2025-02-13 19:12:59 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.