-
Notifications
You must be signed in to change notification settings - Fork 0
/
result.json
192 lines (192 loc) · 7 KB
/
result.json
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 467652.66,
"Total Cost": 467656.16,
"Plan Rows": 30,
"Plan Width": 45,
"Actual Startup Time": 2612.698,
"Actual Total Time": 2782.297,
"Actual Rows": 30,
"Actual Loops": 1,
"Plans": [
{
"Node Type": "Gather Merge",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 467652.66,
"Total Cost": 517845.7,
"Plan Rows": 430196,
"Plan Width": 45,
"Actual Startup Time": 2606.169,
"Actual Total Time": 2775.765,
"Actual Rows": 30,
"Actual Loops": 1,
"Workers Planned": 2,
"Workers Launched": 2,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 466652.64,
"Total Cost": 467190.38,
"Plan Rows": 215098,
"Plan Width": 45,
"Actual Startup Time": 2575,
"Actual Total Time": 2575.042,
"Actual Rows": 23,
"Actual Loops": 3,
"Sort Key": [
"i.created_at DESC",
"i.id DESC"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 29,
"Sort Space Type": "Memory",
"Workers": [
{
"Worker Number": 0,
"Sort Method": "top-N heapsort",
"Sort Space Used": 28,
"Sort Space Type": "Memory"
},
{
"Worker Number": 1,
"Sort Method": "top-N heapsort",
"Sort Space Used": 28,
"Sort Space Type": "Memory"
}
],
"Plans": [
{
"Node Type": "Hash Join",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Join Type": "Inner",
"Startup Cost": 176763.48,
"Total Cost": 460299.83,
"Plan Rows": 215098,
"Plan Width": 45,
"Actual Startup Time": 2197.627,
"Actual Total Time": 2556.36,
"Actual Rows": 172105,
"Actual Loops": 3,
"Inner Unique": true,
"Hash Cond": "(ic.item_id = i.id)",
"Workers": [],
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Relation Name": "item_categories",
"Alias": "ic",
"Startup Cost": 0,
"Total Cost": 205601.81,
"Plan Rows": 4166681,
"Plan Width": 37,
"Actual Startup Time": 0.047,
"Actual Total Time": 702.478,
"Actual Rows": 3333333,
"Actual Loops": 3,
"Workers": []
},
{
"Node Type": "Hash",
"Parent Relationship": "Inner",
"Parallel Aware": true,
"Async Capable": false,
"Startup Cost": 172183.76,
"Total Cost": 172183.76,
"Plan Rows": 215098,
"Plan Width": 45,
"Actual Startup Time": 712.85,
"Actual Total Time": 712.852,
"Actual Rows": 172105,
"Actual Loops": 3,
"Hash Buckets": 65536,
"Original Hash Buckets": 65536,
"Hash Batches": 16,
"Original Hash Batches": 16,
"Peak Memory Usage": 3104,
"Workers": [],
"Plans": [
{
"Node Type": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Relation Name": "items",
"Alias": "i",
"Startup Cost": 13139.83,
"Total Cost": 172183.76,
"Plan Rows": 215098,
"Plan Width": 45,
"Actual Startup Time": 80.864,
"Actual Total Time": 656.347,
"Actual Rows": 172105,
"Actual Loops": 3,
"Recheck Cond": "((status = 1) AND (created_at < '2021-05-01 00:00:00'::timestamp without time zone))",
"Rows Removed by Index Recheck": 1830710,
"Exact Heap Blocks": 15581,
"Lossy Heap Blocks": 22353,
"Workers": [],
"Plans": [
{
"Node Type": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "items_status_created_at_idx",
"Startup Cost": 0,
"Total Cost": 13010.77,
"Plan Rows": 516234,
"Plan Width": 0,
"Actual Startup Time": 97.595,
"Actual Total Time": 97.598,
"Actual Rows": 516314,
"Actual Loops": 1,
"Index Cond": "((status = 1) AND (created_at < '2021-05-01 00:00:00'::timestamp without time zone))",
"Workers": []
}
]
}
]
}
]
}
]
}
]
}
]
},
"Planning Time": 2.14,
"Triggers": [],
"JIT": {
"Functions": 37,
"Options": {
"Inlining": false,
"Optimization": false,
"Expressions": true,
"Deforming": true
},
"Timing": {
"Generation": 3.632,
"Inlining": 0,
"Optimization": 2.234,
"Emission": 15.369,
"Total": 21.235
}
},
"Execution Time": 2830.83
}
]