-
Notifications
You must be signed in to change notification settings - Fork 22
/
ds-findBestTask.dot
91 lines (79 loc) · 1.82 KB
/
ds-findBestTask.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
digraph ds_findBestTask {
node[shape=box];
newrank=true;
rankdir=LR;
findBestTask -> {
skylinePruning;
storeTask;
convertToPartialIndexScan;
convertToTableScan;
convertToIndexScan;
convertToIndexMergeScan;
tryToGetDualTask;
};
subgraph cluster_Index {
graph[label="Index";fontsize=20;];
getIndexMergeCandidate;
getIndexCandidate;
getOriginalPhysicalIndexScan;
convertToIndexMergeScan;
convertToPartialIndexScan;
PhysicalIndexScan;
convertToIndexScan;
buildIndexMergeTableScan;
}
subgraph cluster_table {
graph[label="table";fontsize=20;];
convertToTableScan;
convertToPartialTableScan;
getOriginalPhysicalTableScan;
getTableCandidate;
}
subgraph cluster_stat {
graph[label="stat";fontsize=20;];
GetTableAvgRowSize;
Selectivity;
Histogram;
}
buildIndexMergeTableScan -> {
PhysicalTableScan;
PhysicalSelection;
GetTableAvgRowSize;
Selectivity;
Histogram;
}
skylinePruning -> {
getIndexMergeCandidate;
getTableCandidate;
getIndexCandidate;
compareCandidates;
};
convertToIndexMergeScan -> {
buildIndexMergeTableScan;
finishCopTask;
convertToPartialIndexScan;
convertToPartialTableScan;
};
convertToPartialTableScan -> {
getOriginalPhysicalTableScan;
PhysicalSelection;
};
convertToPartialIndexScan -> {
getOriginalPhysicalIndexScan;
PhysicalSelection;
};
convertToIndexScan -> {
getOriginalPhysicalIndexScan;
addPushedDownSelection;
}
convertToTableScan -> {
getOriginalPhysicalTableScan;
addPushedDownSelection;
}
getOriginalPhysicalIndexScan -> PhysicalIndexScan;
getOriginalPhysicalTableScan -> PhysicalTableScan;
addPushedDownSelection -> {
splitSelCondsWithVirtualColumn;
PhysicalSelection;
}
}