J
Size: a a a
J
D
ВС
D
МШ
YS
NEW.a = (SELECT ...)
E
NEW.a = (SELECT ...)
AK
QUERY PLAN
---------------------------------------------------------------------------------------------------------------
Finalize GroupAggregate (cost=8164774.32..11236955.67 rows=10939253 width=16)
Group Key: task_id
-> Gather Merge (cost=8164774.32..11018170.61 rows=21878506 width=16)
Workers Planned: 2
-> Partial GroupAggregate (cost=8163774.29..8491848.13 rows=10939253 width=16)
Group Key: task_id
-> Sort (cost=8163774.29..8236668.06 rows=29157508 width=16)
Sort Key: task_id
-> Parallel Seq Scan on crm_task_history (cost=0.00..3053732.08 rows=29157508 width=16)
Filter: (new_status_id = 2)
YS
QUERY PLAN
---------------------------------------------------------------------------------------------------------------
Finalize GroupAggregate (cost=8164774.32..11236955.67 rows=10939253 width=16)
Group Key: task_id
-> Gather Merge (cost=8164774.32..11018170.61 rows=21878506 width=16)
Workers Planned: 2
-> Partial GroupAggregate (cost=8163774.29..8491848.13 rows=10939253 width=16)
Group Key: task_id
-> Sort (cost=8163774.29..8236668.06 rows=29157508 width=16)
Sort Key: task_id
-> Parallel Seq Scan on crm_task_history (cost=0.00..3053732.08 rows=29157508 width=16)
Filter: (new_status_id = 2)
AK
YS
AK
YS
Avoid crash in contrib/postgres_fdw when a query using remote grouping or aggregation has a SELECT-list item that is an uncorrelated sub-select, outer reference, or parameter symbolА Вы можете показать скрипты создания / настройки этого FDW (особенно интересуют fdw_startup_cost и fdw_tuple_cost — непонятна разница в cost-ах remote и в основном плане)?
AK
Avoid crash in contrib/postgres_fdw when a query using remote grouping or aggregation has a SELECT-list item that is an uncorrelated sub-select, outer reference, or parameter symbolА Вы можете показать скрипты создания / настройки этого FDW (особенно интересуют fdw_startup_cost и fdw_tuple_cost — непонятна разница в cost-ах remote и в основном плане)?
АК
YS
Finalize GroupAggregate (cost=8164774.32..11236955.67 rows=10939253 width=16)
Foreign Scan (cost=8132740.63..11708041.72 rows=1 width=16)
AF
D
ВЯ
ВЯ