inwork=0 where inwork=1 and project = 'mfoks';
                  
                  
                  
                  
                  
                  Update on call_data  (cost=0.42..203779.10 rows=102763 width=120) (actual time=1628012.463..1628012.466 rows=0 loops=1)
                  
                  
                    Buffers: shared hit=3854278 read=432243 dirtied=419079 written=316949
                  
                  
                    ->  Index Scan using call_inwork_idx on call_data  (cost=0.42..203779.10 rows=102763 width=120) (actual time=0.060..85507.678 rows=210697 loops=1)
                  
                  
                          Index Cond: ((inwork = 1) AND ((project)::text = 'mfoks'::text))
                  
                  
                          Buffers: shared hit=154692 read=24811 dirtied=11470 written=13043
                  
                  
                  Planning Time: 0.523 ms
                  
                  
                  Execution Time: 1628012.571 ms
                  
                  
                
У меня все же версия про разросшиеся таблицы и индексы. Не так много строк прочитано при таком числе блоков.. 🤔
Обсуждают сегодня