Skip to content

Commit

Permalink
respond to Ishii-san's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
koizumistr committed Oct 20, 2024
1 parent 2c889fa commit 30f1aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/sgml/indices.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ CREATE INDEX people_names ON people ((first_name || ' ' || last_name));
query. Thus, indexes on expressions are useful when retrieval speed
is more important than insertion and update speed.
-->
派生した式が、行挿入と<link linkend="storage-hot">非HOT更新</link>の度に計算されなければなりませんので、インデックス式は相対的に見て維持が高価です。
派生した式が、行挿入と<link linkend="storage-hot">非HOT更新</link>の度に計算されなければならないので、インデックス式は相対的に見て維持が高価です。
しかし、インデックス式はインデックス内にすでに格納されているため、インデックスを使用する検索の間は再計算<emphasis>されません</emphasis>。
上の両方の例では、システムは問い合わせを単なる<literal>WHERE indexedcolumn = 'constant'</literal>と理解しますので、この検索速度は他の単純なインデックス問い合わせと同じです。
したがって、式に対するインデックスは取り出し速度が挿入、更新速度より重要な場合に有用です。
Expand Down

0 comments on commit 30f1aa7

Please sign in to comment.