File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ when a row value to be stored in a table is wider than
429429<symbol>TOAST_TUPLE_THRESHOLD</symbol> bytes (normally 2 kB).
430430The <acronym>TOAST</acronym> code will compress and/or move
431431field values out-of-line until the row value is shorter than
432- <symbol>TOAST_TUPLE_TARGET</symbol> bytes (also normally 2 kB)
432+ <symbol>TOAST_TUPLE_TARGET</symbol> bytes (also normally 2 kB, adjustable )
433433or no more gains can be had. During an UPDATE
434434operation, values of unchanged fields are normally preserved as-is; so an
435435UPDATE of a row with out-of-line values incurs no <acronym>TOAST</acronym> costs if
@@ -483,6 +483,11 @@ of that data type, but the strategy for a given table column can be altered
483483with <link linkend="sql-altertable"><command>ALTER TABLE ... SET STORAGE</command></link>.
484484</para>
485485
486+ <para>
487+ <symbol>TOAST_TUPLE_TARGET</symbol> can be adjusted for each table using
488+ <link linkend="sql-altertable"><command>ALTER TABLE ... SET (toast_tuple_target = N)</command></link>
489+ </para>
490+
486491<para>
487492This scheme has a number of advantages compared to a more straightforward
488493approach such as allowing row values to span pages. Assuming that queries are
You can’t perform that action at this time.
0 commit comments