2024-12-23 15:48:57.559
b2cb74b8e51fcfd66c539fbcf9502dcc
 0.741 ms
tilemap |  piechart
timetilemap
#
node, ms
tree, ms
rows
RRbF
loops
node
22756.16412
итоговые результаты (8B = rows=1 x width=8)
0
16.932
22756.164
1
Aggregate
1
16.974
22739.232
156800
  ->  Nested Loop
2
4.741
25.458
19600
       ->  Nested Loop
3
.092
3.497
140
            ->  Nested Loop
4
2.963
3.303
1
                 ->  Aggregate
5
.340
140
2
1.4%
                      ->  Function Scan on regexp_split_to_table line
6
.102
140
                 ->  Function Scan on generate_subscripts x
7
17.198
17.220
19600
140
            ->  Memoize
8
.022
140
                 ->  Function Scan on generate_subscripts y
9
58.800
22696.800
156800
19600
       ->  ProjectSet
10
22618.400
22638.000
19600
19600
            ->  Aggregate
11
19.600
78400
19600
                 ->  Function Scan on generate_series i
.236
 
Planning Time
.240
22756.404
Execution Time
Aggregate  (cost=1192809.98..1192810.03 rows=1 width=8) (actual time=22756.161..22756.164 rows=1 loops=1)
  ->  Nested Loop  (cost=60.46..1152809.98 rows=8000000 width=32) (actual time=3.466..22739.232 rows=156800 loops=1)
        ->  Nested Loop  (cost=60.03..52809.98 rows=1000000 width=40) (actual time=3.443..25.458 rows=19600 loops=1)
              ->  Nested Loop  (cost=59.98..160.03 rows=1000 width=36) (actual time=3.316..3.497 rows=140 loops=1)
                    ->  Aggregate  (cost=59.98..60.03 rows=1 width=32) (actual time=3.302..3.303 rows=1 loops=1)
                          ->  Function Scan on regexp_split_to_table line  (cost=0.00..55.00 rows=995 width=32) (actual time=0.247..0.340 rows=140 loops=1)
                                Filter: (btrim(line) <> ''::text)
                                Rows Removed by Filter: 2
                    ->  Function Scan on generate_subscripts x  (cost=0.00..50.00 rows=1000 width=4) (actual time=0.012..0.102 rows=140 loops=1)
              ->  Memoize  (cost=0.05..50.05 rows=1000 width=4) (actual time=0.103..0.123 rows=140 loops=140)
                    Cache Key: (array_agg(regexp_split_to_array(line.line, ''::text)))
                    Cache Mode: binary
                    Hits: 139  Misses: 1  Evictions: 0  Overflows: 0  Memory Usage: 159kB
                    ->  Function Scan on generate_subscripts y  (cost=0.00..50.00 rows=1000 width=4) (actual time=0.010..0.022 rows=140 loops=1)
        ->  ProjectSet  (cost=0.42..0.70 rows=8 width=32) (actual time=1.157..1.158 rows=8 loops=19600)
              ->  Aggregate  (cost=0.42..0.47 rows=1 width=256) (actual time=1.155..1.155 rows=1 loops=19600)
                    ->  Function Scan on generate_series i  (cost=0.00..0.20 rows=4 width=4) (actual time=0.000..0.001 rows=4 loops=19600)
Planning Time: 0.236 ms
Execution Time: 22756.404 ms
      
время % rows RRbF % loops тип узла таблица индекс узлы
22638.295
99.5
19602
19602
Aggregate
0 4 10
3
58.800
0.3
156800
19600
ProjectSet
9
21.807
0.1
176540
3
Nested Loop
1 2 3
3
19.600
0.1
78400
19600
Function Scan
generate_series
11
17.198
0.1
19600
140
Memoize
7
.340
0.0
140
2
1.4
Function Scan
regexp_split_to_table
5
.124
0.0
280
2
Function Scan
generate_subscripts
6 8
2
tooltip