Skip to content

Commit

Permalink
update limits for 16.3
Browse files Browse the repository at this point in the history
  • Loading branch information
koizumistr committed Jun 29, 2024
1 parent dfa78fb commit efa9ab3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/src/sgml/limits.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@
</row>

<row>
<!--
<entry>query parameters</entry>
-->
<entry>問い合わせパラメータ</entry>
<entry>65,535</entry>
<entry></entry>
</row>
Expand All @@ -201,7 +204,7 @@
fields, either a 4-byte or 1-byte field header is used and the value is
stored inside the heap tuple.
-->
《マッチ度[96.278511]》格納されるタプルが8192バイトの1つのヒープページに収まらないといけませんので、テーブル当たりの列の最大数はさらに少なくなります。
格納されるタプルが8192バイトの1つのヒープページに収まらないといけませんので、テーブル当たりの列の最大数はさらに少なくなります。
例えば、タプルヘッダを除いて、1600の<type>int</type>の列は6400バイトを消費しますのでヒープページ1つに収まりますが、1600の<type>bigint</type>の列は12800バイトを消費しますのでヒープページ1つの中には収まりません。
<type>text</type>、<type>varchar</type>、<type>char</type>のような可変長の型のフィールドは、その必要があるほど値が長くなれば、行に収まらないその値をテーブルのTOASTテーブルに格納します。
18バイトのポインタだけがテーブルのヒープのタプル内に残ります。
Expand Down

0 comments on commit efa9ab3

Please sign in to comment.