Available in versions: Dev (3.20) | Latest (3.19) | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11 | 3.10
Hints
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
A variety of RDBMS support hints, which are vendor specific instructions to the optimiser, telling it what algorithms or meta data usage should be enforced / prevented. Typically, hints are used to enforce hash joins, nested loop joins, etc. or to enforce / prevent index access.
In most cases, you should not need to hint the optimiser, as it can be reasonably expected to make the right decisions on your behalf. But every now and then, it does not, and in those cases, hints can be useful (still, do check if your statistics are up to date, if you have all the meta data you should have, etc.)
jOOQ supports the most common hints for the following database products:
Table of contents
- 3.14.1.
- MySQL hints
- 3.14.1.1.
- Index hints
- 3.14.1.2.
- STRAIGHT_JOIN
- 3.14.1.3.
- Oracle style hints in MySQL
- 3.14.2.
- Oracle hints
- 3.14.3.
- SQL Server hints
- 3.14.3.1.
- WITH
- 3.14.3.2.
- OPTION
previous : next |
Feedback
Do you have any feedback about this page? We'd love to hear it!