sw_db_wisqueue_n
Each sw_db_wisqueue_n (where n is 1 or 2) queue table holds messages intended for the Work Item Server Mbox daemon process:
| • | The background processes (BG) enqueue messages to the table. |
| • | The Work Item Server Mbox daemon process (WISMBD) dequeues and processes messages from the table, which it then forwards on to the Work Item Server (WIS) processes. |
Structure
The sw_db_wisqueue_n table has the following structure:
TABLE sw_db_wisqueue_n(
rowid NUMERIC(15) identity(1,1),
last_failed NUMERIC(10) NULL,
failure_count INTEGER NOT NULL,
msg_id uniqueidentifier NOT NULL,
msg_hdr VARCHAR(512) NULL,
msg_data VARCHAR(1024) NOT NULL
priority INTEGER NOT NULL)
|
Column |
Description |
|
|
Identifier of the row in the table for this message. |
|
|
Number of seconds since January 1st, 1970, when this message last failed to be processed. When this value equals or exceeds the value of the |
|
|
Number of times that this message has failed to be processed. When this value equals or exceeds the value of the |
|
|
Unique identifier of this message. |
|
|
Header data associated with this message. |
|
|
Message data. |
|
|
Message queue priority. The lower this value is, the higher the message queue priority is. The default value is 50. |
|
Note |
|
Primary Key
Triggers
None.
Indexes
|
Index Name |
Indexed Column(s) |
|
|
|
Table Activity
sw_db_wisqueue_n table contains one row for each enqueued message. Rows are added, updated and deleted in the following situations.
|
A row is... |
When... |
|
added |
a BG process enqueues a message to this table. |
|
updated |
the WISMBD process dequeues a message from this table but cannot successfully process it (but the message has not exceeded the |
|
deleted |
the WISMBD process dequeues a message from this table and either:
|