Code | Symbol | Kernel Block(s) |
node_id 2352
operation_id
|
--- |
--- |
Description. Gets information about an operation with a given operation ID.
Sample Output.
First, obtain a dump of operations. Here, we use
DUMP 2350
to get a dump of all operations
on data node 2 from API node 5:
ndb_mgm> 2 DUMP 2350 1 5
2006-10-11 13:31:25 [MgmSrvr] INFO -- Node 2: Starting dump of operations
2006-10-11 13:31:25 [MgmSrvr] INFO -- Node 2: OP[3]:
Tab: 3 frag: 1 TC: 2 API: 5(0x8035)transid: 0x3 0x200400 op: INSERT state: Prepared
2006-10-11 13:31:25 [MgmSrvr] INFO -- Node 2: End of operation dump
In this case, there is a single operation reported on node
2, whose operation ID is 3
. To obtain the
transaction ID and primary key, we use the node ID and
operation ID with DUMP 2352
as shown
here:
ndb_mgm> 2 dump 2352 3
2006-10-11 13:31:31 [MgmSrvr] INFO -- Node 2: OP[3]: transid: 0x3 0x200400 key: 0x2
Additional Information.
Use DUMP 2350
to obtain an operation ID.
See Section 6.2.3.9, “DUMP 2350
”, and
the previous example.
This command was added in MySQL Cluster NDB 6.1.12 and MySQL Cluster NDB 6.2.2.