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

Commiteb6af01

Browse files
committed
Document that COUNT(*) might not need a seq scan any more.
Noted by Josh Kupershmidt.
1 parentdb6de5b commiteb6af01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11102,8 +11102,10 @@ SELECT b1 = ANY((SELECT b2 FROM t2 ...)) FROM t1 ...;
1110211102
<programlisting>
1110311103
SELECT count(*) FROM sometable;
1110411104
</programlisting>
11105-
will be executed by <productname>PostgreSQL</productname> using a
11106-
sequential scan of the entire table.
11105+
will require effort proportional to the size of the table:
11106+
<productname>PostgreSQL</productname> will need to scan either the
11107+
entire table or the entirety of an index which includes all rows in
11108+
the table.
1110711109
</para>
1110811110
</note>
1110911111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp