Skip to content

Commit

Permalink
Update optimizer-hints.md
Browse files Browse the repository at this point in the history
Co-authored-by: TomShawn <[email protected]>
  • Loading branch information
qw4990 and TomShawn authored Sep 15, 2022
1 parent ac01c60 commit b67db62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions optimizer-hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ SELECT /*+ HASH_JOIN_BUILD(t1) */ * FROM t1, t2 WHERE t1.id = t2.id;

`HASH_JOIN_PROBE(t1_name [, tl_name ...])` 提示优化器对指定表使用 Hash Join 算法,同时将指定表作为 Hash Join 算法的探测(Probe)端,即用指定表作为探测端来执行 Hash Join 算法。例如:

{{< copyable "sql" >}}

```sql
SELECT /*+ HASH_JOIN_PROBE(t2) */ * FROM t1, t2 WHERE t1.id = t2.id;
```
Expand Down

0 comments on commit b67db62

Please sign in to comment.