Markdown-Reader
Sql Operations Documentation En
Feature: SQL Operations #
Database maintenance tool. Integrity checks, statistics, table optimisation, export (SQL or ZIP) and import. Admin only.
Database maintenance tool. Integrity checks, statistics, table optimisation, export (SQL or ZIP) and import. Admin only.
Via FTP: Upload the sql_operations/ directory into /plugins/.
Via package manager: Select sql_operations from the available plugins list.
Paths:
/plugins/sql_operations/sql_operations.php/plugins/sql_operations/conf/sql_operations.conf.inc.phpConfiguration parameters:
| Variable | Default | Description |
|---|---|---|
| $basedisplevel | BASE_LEVEL_ADMIN | Minimum required level |
| $ftype | 3 | Plugin type (system) |
| Action (?sql_action=) | Description |
|---|---|
| check | Table integrity check (ANALYZE / CHECK TABLE) |
| stats | Statistics: size and row count per table |
| optimize | Table optimisation (OPTIMIZE TABLE) |
| export | SQL export with optional ZIP compression |
| import | SQL file import (statement by statement) |
| abort | Cancel an ongoing operation |
.sql or .sql.zip file?obj=sql_operations.php&sql_action=check
?obj=sql_operations.php&sql_action=stats
?obj=sql_operations.php&sql_action=optimize
?obj=sql_operations.php&sql_action=export
?obj=sql_operations.php&sql_action=import
Beamreactor\Database\SQL