- Issue created by @lpeidro
The Xray Audit module uses the SQL command SHOW TABLE STATUS to retrieve database table information for its reports. However, SHOW TABLE STATUS returns cached data maintained by the MySQL/MariaDB engine for performance reasons.
As a result, when changes are made to the database—such as cleaning up orphaned revisions or optimizing tables—the Xray Audit report may continue to display outdated table size and row count information until the internal cache is refreshed.
This causes inconsistency in the reported data and may mislead site administrators who rely on these reports for maintenance and auditing purposes.
It would be great to show only two decimal places.
Implement a mechanism in the Xray Audit module to allow manual or periodic refresh of table statistics.
Possible technical solutions:
Note: Not all database engines may support ANALYZE TABLE in the same way. Implement a database-driver-aware solution or restrict the feature to MySQL/MariaDB.
Active
2.0
Code