citusdata / citusdata/citus

Possible performance issue with router planner worker eliminations

Open
#683 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

multi_router_planner.c:IntersectPlacementList() uses O(n^2) algorithm to determine placements list for encountered shards. This complexity could be reduced by using a different algorithm, combination of hash lookup and bitmapset.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.