![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
|
|
Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #5 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #4 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #3 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #2 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #1 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 |
|
Not Piped Access Table Queue ID = q1 #Columns = 331 Insert Into Temp Table ID = t1 | #Columns = 331 End of Data Stream 1 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Insert: Table Name = TR_3.FACT ID = 14,5 Insert Predicate(s) | #Predicates = 2 |
|
Not Piped Data Stream 3: | Not Piped | Data Stream 4: | | Not Piped | | Access Table Queue ID = q2 #Columns = 333 | | Insert Into Temp Table ID = t2 | | | #Columns = 333 | End of Data Stream 4 | Access Temp Table ID = t2 | | #Columns = 333 | | Relation Scan | | | Prefetch: Eligible | Establish Row Position | | Access Table Name = TR_3.FACT ID = 14,5 | Update: Table Name = TR_3.FACT ID = 14,5 | | Update Predicate(s) | | | #Predicates = 2 | Insert Into Temp Table ID = t3 | | #Columns = 333 End of Data Stream 3 Access Temp Table ID = t3 | #Columns = 333 | Relation Scan | | Prefetch: Eligible Establish Row Position | Access Table Name = TR_3.FACT ID = 14,5 Delete: Table Name = TR_3.FACT ID = 14,5 | Delete Predicate(s) | | #Predicates = 2 Insert Into Temp Table ID = t4 | #Columns = 331 End of Data Stream 2 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q1 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q1 |
|
Not Piped Data Stream 6: | Not Piped | Access Table Queue ID = q3 #Columns = 337 | Insert Into Temp Table ID = t5 | | #Columns = 337 End of Data Stream 6 Access Temp Table ID = t5 | #Columns = 337 | Relation Scan | | Prefetch: Eligible Insert: Table Name = TR_3.FACT ID = 14,5 | Insert Predicate(s) | | #Predicates = 1 Insert Into Temp Table ID = t6 | #Columns = 333 End of Data Stream 5 |
|
#Columns = 333 Relation Scan | Prefetch: Eligible Insert Into Asynchronous Table Queue ID = q2 Send to Specific Node Rows Can Overflow to Temporary Tables |
|
Not Piped Access Table Queue ID = q4 #Columns = 327 | Output Sorted | | #Key Columns = 1 | | | Key 1: (Ascending) Residual Predicate(s) | #Predicates = 4 Nested Loop Join | Piped Inner | ( | | Table Constructor | | | 1-Row(s) | | Residual Predicate(s) | | | #Predicates = 3 | UNION | | Table Constructor | | | 1-Row(s) | | Residual Predicate(s) | | | #Predicates = 3 | ) Insert Into Temp Table ID = t7 | #Columns = 337 End of Data Stream 7 |
|
#Columns = 337 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q3 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q3 |
|
#Columns = 328 Compressed Table Relation Scan | Prefetch: Eligible Isolation Level: Read Stability Lock Intents | Table: Intent Exclusive | Row : Exclusive Sargable Predicate(s) | Process Build Table for Hash Join Left Outer Hash Join Early Out: Single Match Per Outer Row Estimated Build Size: 1024000 Estimated Probe Size: 4000000 Access Table Queue ID = q5 #Columns = 322 Insert Into Sorted Temp Table ID = t8 #Columns = 327 #Sort Key Columns = 1 | Key 1: (Ascending) Sortheap Allocation Parameters: | #Rows = 1995.000000 | Row Width = 2448 Piped Access Temp Table ID = t8 #Columns = 327 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q4 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q4 |
|
#Columns = 323 Volatile Cardinality Relation Scan | Prefetch: Eligible Lock Intents | Table: Intent Share | Row : Next Key Share Sargable Predicate(s) | #Predicates = 1 Insert Into Asynchronous Table Queue ID = q5 Hash to Specific Node Rows Can Overflow to Temporary Tables |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| DELETE |
|
FACT TEMP |
| UPDATE |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| INSERT |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| NLJOIN |
|
/ \ MDTQ FILTER FILTER |
|
| | TBSCAN TBSCAN TBSCAN |
|
| | SORT TFunc: TFunc: |
|
GENROW GENROW HSJOIN |
|
| TBSCAN Table: |
|
FACT Table: |
#12
| |||
| |||
|
#13
| |||
| |||
|
#14
| |||
| |||
|
#15
| ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
|
|
Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #5 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #4 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #3 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #2 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #1 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 |
|
Not Piped Access Table Queue ID = q1 #Columns = 331 Insert Into Temp Table ID = t1 | #Columns = 331 End of Data Stream 1 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Insert: Table Name = TR_3.FACT ID = 14,5 Insert Predicate(s) | #Predicates = 2 |
|
Not Piped Data Stream 3: | Not Piped | Data Stream 4: | | Not Piped | | Access Table Queue ID = q2 #Columns = 333 | | Insert Into Temp Table ID = t2 | | | #Columns = 333 | End of Data Stream 4 | Access Temp Table ID = t2 | | #Columns = 333 | | Relation Scan | | | Prefetch: Eligible | Establish Row Position | | Access Table Name = TR_3.FACT ID = 14,5 | Update: Table Name = TR_3.FACT ID = 14,5 | | Update Predicate(s) | | | #Predicates = 2 | Insert Into Temp Table ID = t3 | | #Columns = 333 End of Data Stream 3 Access Temp Table ID = t3 | #Columns = 333 | Relation Scan | | Prefetch: Eligible Establish Row Position | Access Table Name = TR_3.FACT ID = 14,5 Delete: Table Name = TR_3.FACT ID = 14,5 | Delete Predicate(s) | | #Predicates = 2 Insert Into Temp Table ID = t4 | #Columns = 331 End of Data Stream 2 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q1 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q1 |
|
Not Piped Data Stream 6: | Not Piped | Access Table Queue ID = q3 #Columns = 337 | Insert Into Temp Table ID = t5 | | #Columns = 337 End of Data Stream 6 Access Temp Table ID = t5 | #Columns = 337 | Relation Scan | | Prefetch: Eligible Insert: Table Name = TR_3.FACT ID = 14,5 | Insert Predicate(s) | | #Predicates = 1 Insert Into Temp Table ID = t6 | #Columns = 333 End of Data Stream 5 |
|
#Columns = 333 Relation Scan | Prefetch: Eligible Insert Into Asynchronous Table Queue ID = q2 Send to Specific Node Rows Can Overflow to Temporary Tables |
|
Not Piped Access Table Queue ID = q4 #Columns = 327 | Output Sorted | | #Key Columns = 1 | | | Key 1: (Ascending) Residual Predicate(s) | #Predicates = 4 Nested Loop Join | Piped Inner | ( | | Table Constructor | | | 1-Row(s) | | Residual Predicate(s) | | | #Predicates = 3 | UNION | | Table Constructor | | | 1-Row(s) | | Residual Predicate(s) | | | #Predicates = 3 | ) Insert Into Temp Table ID = t7 | #Columns = 337 End of Data Stream 7 |
|
#Columns = 337 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q3 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q3 |
|
#Columns = 328 Compressed Table Relation Scan | Prefetch: Eligible Isolation Level: Read Stability Lock Intents | Table: Intent Exclusive | Row : Exclusive Sargable Predicate(s) | Process Build Table for Hash Join Left Outer Hash Join Early Out: Single Match Per Outer Row Estimated Build Size: 1024000 Estimated Probe Size: 4000000 Access Table Queue ID = q5 #Columns = 322 Insert Into Sorted Temp Table ID = t8 #Columns = 327 #Sort Key Columns = 1 | Key 1: (Ascending) Sortheap Allocation Parameters: | #Rows = 1995.000000 | Row Width = 2448 Piped Access Temp Table ID = t8 #Columns = 327 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q4 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q4 |
|
#Columns = 323 Volatile Cardinality Relation Scan | Prefetch: Eligible Lock Intents | Table: Intent Share | Row : Next Key Share Sargable Predicate(s) | #Predicates = 1 Insert Into Asynchronous Table Queue ID = q5 Hash to Specific Node Rows Can Overflow to Temporary Tables |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| DELETE |
|
FACT TEMP |
| UPDATE |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| INSERT |
|
FACT TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| NLJOIN |
|
/ \ MDTQ FILTER FILTER |
|
| | TBSCAN TBSCAN TBSCAN |
|
| | SORT TFunc: TFunc: |
|
GENROW GENROW HSJOIN |
|
| TBSCAN Table: |
|
FACT Table: |
#16
| |||
| |||
|
#17
| |||
| |||
|
#18
| |||||||||||||||||||||
| |||||||||||||||||||||
|
|
Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #4 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #3 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #2 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 Distribute Subsection #1 Broadcast to Node List | Nodes = 1, 2, 3, 4, 5, 6, 7, 8 |
|
Not Piped Access Table Queue ID = q1 #Columns = 331 Insert Into Temp Table ID = t1 | #Columns = 331 End of Data Stream 1 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Insert: Table Name = FACT ID = 14,5 Insert Predicate(s) | #Predicates = 2 |
|
Not Piped Access Table Queue ID = q2 #Columns = 333 Establish Row Position | Access Table Name = FACT ID = 14,5 Update: Table Name = FACT ID = 14,5 | Update Predicate(s) | | #Predicates = 2 Delete: Table Name = FACT ID = 14,5 | Delete Predicate(s) | | #Predicates = 2 Insert Into Temp Table ID = t2 | #Columns = 331 End of Data Stream 2 |
|
#Columns = 331 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q1 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q1 |
|
Output Sorted | #Key Columns = 1 | | Key 1: (Ascending) Residual Predicate(s) #Predicates = 4 Residual Predicate(s) #Predicates = 1 Insert Into Asynchronous Table Queue ID = q2 Send to Specific Node Rows Can Overflow to Temporary Tables |
|
#Columns = 328 Compressed Table Relation Scan | Prefetch: Eligible Isolation Level: Read Stability Lock Intents | Table: Intent Exclusive | Row : Exclusive Sargable Predicate(s) | Process Build Table for Hash Join Left Outer Hash Join Early Out: Single Match Per Outer Row Estimated Build Size: 224000 Estimated Probe Size: 4000000 Access Table Queue ID = q4 #Columns = 322 Insert Into Sorted Temp Table ID = t3 #Columns = 327 #Sort Key Columns = 1 | Key 1: (Ascending) Sortheap Allocation Parameters: | #Rows = 1995.000000 | Row Width = 2448 Piped Access Temp Table ID = t3 #Columns = 327 Relation Scan | Prefetch: Eligible Sargable Predicate(s) | Insert Into Asynchronous Table Queue ID = q3 | | Hash to Specific Node | | Rows Can Overflow to Temporary Tables Insert Into Asynchronous Table Queue Completion ID = q3 |
|
#Columns = 323 Volatile Cardinality Relation Scan | Prefetch: Eligible Lock Intents | Table: Intent Share | Row : Next Key Share Sargable Predicate(s) | #Predicates = 1 Insert Into Asynchronous Table Queue ID = q4 Hash to Specific Node Rows Can Overflow to Temporary Tables |
| TEMP |
| DTQ |
| TBSCAN |
| TEMP |
| DELETE |
| FILTER |
| FILTER |
| MDTQ |
| TBSCAN |
| SORT |
| HSJOIN |
|
| TBSCAN Table: |
| Table: |
#19
| |||
| |||
|
|
INSERT ( 2) / \ TBSCAN Table: ( 3) FACT | TEMP ( 4) | DTQ ( 5) | TBSCAN ( 6) | TEMP ( 7) | DELETE ( 8) /--/ \ UPDATE Table: ( 9) FACT / \ FETCH Table: ( 10) FACT / \ DTQ Table: ( 11) FACT | These two filters area sign that DB2 cannot prove that |
|
FILTER ( 12) | FILTER ( 13) | MDTQ ( 14) | TBSCAN ( 15) | SORT ( 16) | Your staging table's partitioning should match the FACT table's |
|
HSJOIN ( 17) / \ DTQ TBSCAN ( 18) ( 20) | | TBSCAN Table: ( 19) FACT | Table: STAGING |
![]() |
| Thread Tools | |
| Display Modes | |
| |