sw_db_bgqueue_n
Each sw_db_bgqueue_n (where n is 1 or 2) queue table holds messages intended for the background processes:
| • | iProcess processes (for example, WIS, DLMGR or RPC_POOL) enqueue messages to the table. |
| • | The background processes (BG) dequeue and process messages from the table. |
Structure
The sw_db_bgqueue_n table has the following structure:
TABLE sw_db_bgqueue_n(
rowid numeric(15) NOT NULL
GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1, CACHE 50),
last_failed numeric(10) ,
failure_count integer NOT NULL,
msg_id varchar(16) FOR BIT DATA NOT NULL,
msg_hdr varchar(500) ,
msg_data varchar(1000) 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
Indexes
|
Index Name |
Indexed Column(s) |
|
|
|
Table Activity
sw_db_bgqueue_n table contains one row for each enqueued message. Rows are added, updated and deleted in the following situations.
|
A row is... |
When... |
|
added |
an iProcess process enqueues a message to this table. |
|
updated |
a BG process dequeues a message from this table but cannot successfully process it (but the message has not exceeded the |
|
deleted |
a BG process dequeues a message from this table and either:
|