Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb 支持并行查询么?

Is there a parallel query feature in TiDB similar to Oracle?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb 支持并行查询么?
Is there a parallel query feature in TiDB similar to Oracle?
TiDB is a distributed database, inherently supporting multi-node parallel queries.
The default settings already let you enjoy it, do you still feel it’s not fast enough?
What I am asking is if there is a hint similar to /*+ parallel */ that can consume CPU more extremely to achieve faster speed.
The previous answers defaulted to parallelism. Let me address this all at once: OceanBase is also a distributed database that supports parallel hints. With parallel hints, the speed can be increased several times, but of course, the cost is a significant CPU consumption. It is suitable for specific scenarios.
By default, if the data volume is large, there will be significant CPU consumption. Additionally, TiDB’s parallelism is at the operator level, which can easily amplify the load. This should be taken into consideration during usage.