pingcap/tidb

The heavy predicates may not need to be pushed down.

Open

#14 608 ouverte le 3 févr. 2020

Voir sur GitHub
 (6 commentaires) (0 réactions) (1 assigné)Go (6 186 forks)batch import
help wantedsig/plannertype/enhancement

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

Description

For example, a big CASE...WHEN... clause may consume a lot of resources. In this case, push it down to table side may be worse than not pushing it.

We should control its behavior by

  • A hint to disable all predicates of one WHERE clause.
  • A cost-based or a heuristic method to control the predicates automatically.

Guide contributeur