[MDEV-33415] graph index search: heuristical edge choice Created: 2024-02-07 Updated: 2024-02-07 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
basic graph search algorithm takes all neighbors of a top node and adds them all back to the todo queue, sorted by the distance to the query. this implies many expensive distance calculations. there are heuristics that precalculate directions to neighbors and first use neighbors that are in the same direction as the query. HCNNG does that. |