2015-12-27 20:50:25 -05:00
|
|
|
Table workerqueue
|
2021-06-13 16:33:50 -04:00
|
|
|
===========
|
2021-06-14 02:10:11 -04:00
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Background tasks queue entries
|
2015-12-27 20:50:25 -05:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-14 02:10:11 -04:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| --------- | ------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
|
|
|
|
| id | Auto incremented worker task id | int unsigned | NO | PRI | NULL | auto_increment |
|
|
|
|
| command | Task command | varchar(100) | YES | | NULL | |
|
|
|
|
| parameter | Task parameter | mediumtext | YES | | NULL | |
|
|
|
|
| priority | Task priority | tinyint unsigned | NO | | 0 | |
|
|
|
|
| created | Creation date | datetime | NO | | 0001-01-01 00:00:00 | |
|
|
|
|
| pid | Process id of the worker | int unsigned | NO | | 0 | |
|
|
|
|
| executed | Execution date | datetime | NO | | 0001-01-01 00:00:00 | |
|
|
|
|
| next_try | Next retrial date | datetime | NO | | 0001-01-01 00:00:00 | |
|
|
|
|
| retrial | Retrial counter | tinyint | NO | | 0 | |
|
|
|
|
| done | Marked 1 when the task was done - will be deleted later | boolean | NO | | 0 | |
|
2015-12-27 20:50:25 -05:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 08:15:10 -04:00
|
|
|
| Name | Fields |
|
|
|
|
| ----------------------------- | -------------------------------- |
|
|
|
|
| PRIMARY | id |
|
|
|
|
| command | command |
|
|
|
|
| done_command_parameter | done, command, parameter(64) |
|
|
|
|
| done_executed | done, executed |
|
2021-06-14 04:53:37 -04:00
|
|
|
| done_priority_retrial_created | done, priority, retrial, created |
|
2021-06-14 08:15:10 -04:00
|
|
|
| done_priority_next_try | done, priority, next_try |
|
|
|
|
| done_pid_next_try | done, pid, next_try |
|
|
|
|
| done_pid_retrial | done, pid, retrial |
|
|
|
|
| done_pid_priority_created | done, pid, priority, created |
|
2021-06-14 04:53:37 -04:00
|
|
|
|
|
|
|
|
2015-12-27 20:50:25 -05:00
|
|
|
Return to [database documentation](help/database)
|