[YSQL] Cost based optimization #3101
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-1656
There are several cost based optimizations needed for YSQL.
Some examples,
If table and index have the same PK, use table instead of index since table scan is more performant for YB. Today, we choose the index.
Here airports and airports_idx2 have the same PK and our quiery plan selects index scan.
Another example: #2959
The text was updated successfully, but these errors were encountered: