pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.25k stars 5.84k forks source link

Make cost model more precisely #4802

Open hanfei1991 opened 7 years ago

hanfei1991 commented 7 years ago

There're several physical executions that need to be selected during cbo. Currently we only estimate the cost roughly. We need more experiments to prove the correctness of estimation.

Besides these, we still need to test the composition of two executors. Say

The result of expriments will be posted here.

morgo commented 5 years ago

@zz-jason can you help re-triage?

zz-jason commented 5 years ago

OK. We still need to update the cost formular for these physical operators, it's a long term issue, I think we can leave it open.

/cc @eurekaka

zz-jason commented 5 years ago

hope we can finish it in release 3.0