OSDN Git Service

Fix reverse link of hint_list.html
[pghintplan/pg_hint_plan.git] / doc / hint_list.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD html 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>Appendix A. Hints list</title>
5 <!-- Uncoment after the tool has been hosted somewhere.
6 <link rel="home" title="pg_hint_plan" href="index.html">
7 -->
8 <link rel="stylesheet" type="text/css" href="style.css">
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
10 </head>
11
12 <body>
13 <h1 id="pg_hint_plan">pg_hint_plan 1.1 Appendices</h1>
14 <div class="navigation">
15   <a href="pg_hint_plan.html">pg_hint_plan</a> &gt;
16   <a href="hint_list.html">Appendix A. Hints list</a>
17 </div>
18 <hr>
19
20 <h2 id="hint-list">Appendix A. Hints list</h2>
21 <p>The available hints are listed below.</p>
22 <table>
23 <thead>
24 <tr>
25 <tr><th>Group</th><th>Format</th><th>Description</th></tr>
26 </tr>
27 </thead>
28 <tbody>
29 <tr><td rowspan="10" nowrap>Scan method</td>
30   <td nowrap>SeqScan(table)</td>
31   <td>Forces sequential scan on the table</td></tr>
32 <tr><td>TidScan(table)</td>
33   <td>Forces TID scan on the table.</td></tr>
34 <tr><td nowrap>IndexScan(table[ index...])</td>
35   <td>Forces index scan on the table. Restricts to specified indexes if any. </td></tr>
36 <tr><td nowrap>IndexOnlyScan(table[ index...])</td>
37   <td>Forces index only scan on the table. Restricts to specfied indexes if any. Index scan may be used if index only scan is not available.</td></tr>
38 <tr><td nowrap>BitmapScan(table[ index...])</td>
39   <td>Forces bitmap scan on the table. Restoricts to specfied indexes if any.</td></tr>
40 <tr><td nowrap>NoSeqScan(table)</td>
41   <td>Forces not to do sequential scan on the table.</td></tr>
42 <tr><td nowrap>NoTidScan(table)</td>
43   <td>Forces not to do TID scan on the table. </td></tr>
44 <tr><td nowrap>NoIndexScan(table)</td>
45   <td>Forces not to do index scan and index only scan on the table. </td></tr>
46 <tr><td nowrap>NoIndexOnlyScan(table)</td>
47   <td>Forces not to do index only scan on the table.</td></tr>
48 <tr><td nowrap>NoBitmapScan(table)</td>
49   <td>Forces not to do bitmap scan on the table. </td></tr>
50
51 <tr><td rowspan="6" nowrap>Join method</td>
52   <td nowrap>NestLoop(table table[ table...])</td>
53   <td>Forces nested loop for the joins consist of the specifiled tables.</td></tr>
54 <tr><td nowrap>HashJoin(table table[ table...])</td>
55   <td>Forces hash join for the joins consist of the  specifiled tables.</td></tr>
56 <tr><td nowrap>MergeJoin(table table[ table...])</td>
57   <td>Forces merge join for the joins consist of the specifiled tables.</td></tr>
58 <tr><td nowrap>NoNestLoop(table table[ table...])</td>
59   <td>Forces not to do nested loop for the joins consist of the specifiled tables.</td></tr>
60 <tr><td nowrap>NoHashJoin(table table[ table...])</td>
61   <td>Forces not to do hash join for the joins consist of the specifiled tables.</td></tr>
62 <tr><td nowrap>NoMergeJoin(table table[ table...])</td>
63   <td>Forces not to do merge join for the joins consist of the  specifiled tables.</td></tr>
64
65 <tr><td rowspan="2">Join order</td>
66   <td nowrap>Leading(table table[ table...])</td>
67   <td>Forces join order as specified.</td></tr>
68 <tr><td nowrap>Leading(&lt;join pair&gt;)</td>
69         <td>Forces join order and directions as specified. A join pair is a pair of tables and/or other join pairs enclosed by parentheses, which can make a nested structure.</td>
70
71 <tr><td>Row number correction</td>
72         <td nowrap>Rows(table table[ table...] correction)</td>
73   <td>Corrects row number of a result of the joins consist of the specfied tables. The available correction methods are absolute (#&ltn&gt), addition (+&ltn&gt), subtract (-&ltn&gt) and multiplication (*&ltn&gt). &ltn&gt should be a string that strtod() can read.
74 <tr><td>GUC</td>
75   <td nowrap>Set(GUC-param value)</td>
76   <td>Set the GUC parameter to the value while planner is running.</td></tr>
77 </tbody>
78 </table></p>
79
80
81 <hr>
82 <div class="navigation">
83   <a href="pg_hint_plan.html">pg_hint_plan</a> &gt;
84   <a href="hint_list.html">Appendix A. hints list</a>
85 </div>
86
87 <p class="footer">Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
88 </body>
89 </html>