Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f3a13f

Browse files
Enhance docs for ALTER TABLE lock levels of storage parms
As requested by Robert Haas
1 parent21d4e2e commit6f3a13f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎doc/src/sgml/ref/alter_table.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,17 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
568568
That can be done with <link linkend="SQL-VACUUM">VACUUM
569569
FULL</>, <xref linkend="SQL-CLUSTER"> or one of the forms
570570
of <command>ALTER TABLE</> that forces a table rewrite.
571+
For planner related parameters, changes will take effect from the next
572+
time the table is locked so currently executing queries will not be
573+
affected.
571574
</para>
572575

573576
<para>
574-
Changing fillfactor and autovacuum storage parameters acquires a <literal>SHARE UPDATE EXCLUSIVE</literal> lock.
577+
<literal>SHARE UPDATE EXCLUSIVE</literal> lock will be taken for
578+
fillfactor and autovacuum storage parameters, as well as the
579+
following planner related parameters:
580+
effective_io_concurrency, parallel_workers, seq_page_cost
581+
random_page_cost, n_distinct and n_distinct_inherited.
575582
</para>
576583

577584
<note>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp