2021-11-16 11:54:06.459
039b0a065d5c55fb788aa29250ffdd4b
 0.973 ms
tilemap |  piechart
time | bufferstilemap
#
node, ms
tree, ms
rows
RRbF
loops
node
sh.ht
tm.rd
tm.wr
61661.66335916102602
итоговые результаты (1.3MB = rows=35916 x width=38)
10640612
2743
5765
0
514.329
61661.663
35916
Nested Loop
1
898.648
1125.164
51301
  ->  HashAggregate
2743
5765
2
116.984
226.516
467753
       ->  Nested Loop
3
6.930
51301
            ->  Seq Scan on dict dict_1
323
4
102.602
461709
51301
            ->  Function Scan on generate_series i
5
513.010
60022.170
51301
102602
66.7%
51301
  ->  Bitmap Heap Scan on dict
81313
6
59509.160
564311
51301
       ->  Bitmap Index Scan on dict_length_word_idx
10558976
.255
 
Planning Time
2
350.476
62012.139
Execution Time
Nested Loop  (cost=4457610.54..5301200.44 rows=643327 width=38) (actual time=623.378..61661.663 rows=35916 loops=1)
  Buffers: shared hit=10640612, temp read=2743 written=5765
  ->  HashAggregate  (cost=4457610.39..5059435.25 rows=51301 width=51) (actual time=604.228..1125.164 rows=51301 loops=1)
        Group Key: dict_1.word
        Planned Partitions: 128  Peak Memory Usage: 1581 kB  Disk Usage: 24576 kB  HashAgg Batches: 128
        Buffers: shared hit=323, temp read=2743 written=5765
        ->  Nested Loop  (cost=0.01..1026856.02 rows=51301000 width=23) (actual time=0.042..226.516 rows=467753 loops=1)
              Buffers: shared hit=323
              ->  Seq Scan on dict dict_1  (cost=0.00..836.01 rows=51301 width=19) (actual time=0.014..6.930 rows=51301 loops=1)
                    Buffers: shared hit=323
              ->  Function Scan on generate_series i  (cost=0.01..10.01 rows=1000 width=4) (actual time=0.002..0.002 rows=9 loops=51301)
  ->  Bitmap Heap Scan on dict  (cost=0.15..4.57 rows=13 width=19) (actual time=1.169..1.170 rows=1 loops=51301)
        Recheck Cond: ((length(word) = length(dict_1.word)) AND (word ~~ ANY ((array_agg(((substr(dict_1.word, 1, (i.i - 1)) || '_'::text) || substr(dict_1.word, (i.i + 1))))))))
        Rows Removed by Index Recheck: 1
        Filter: (word <> dict_1.word)
        Rows Removed by Filter: 1
        Heap Blocks: exact=81313
        Buffers: shared hit=10640289
        ->  Bitmap Index Scan on dict_length_word_idx  (cost=0.00..0.15 rows=13 width=0) (actual time=1.160..1.160 rows=11 loops=51301)
              Index Cond: ((length(word) = length(dict_1.word)) AND (word ~~ ANY ((array_agg(((substr(dict_1.word, 1, (i.i - 1)) || '_'::text) || substr(dict_1.word, (i.i + 1))))))))
              Buffers: shared hit=10558976
Planning Time: 0.255 ms
  Buffers: shared hit=2
Execution Time: 62012.139 ms
      
время % rows RRbF % loops тип узла таблица индекс узлы sh.ht tm.rd tm.wr
59509.160
96.5
564311
51301
Bitmap Index Scan
dict
dict_length_word_idx
6
10558976
898.648
1.5
51301
HashAggregate
1
2743
5765
631.313
1.0
503669
2
Nested Loop
0 2
2
513.010
0.8
51301
102602
66.7
51301
Bitmap Heap Scan
dict
5
81313
102.602
0.2
461709
51301
Function Scan
generate_series
4
6.930
0.0
51301
Seq Scan
dict
3
323
tooltip