Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ddl.sgml #451

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion postgresql/doc/src/sgml/ddl.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -4733,7 +4733,7 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
-->
<para>
请注意,约束排除只由<literal>CHECK</>约束驱动,而不会由索引驱动。
因此,在关键字字段上定义索引是没有必要的
因此,在关键字字段上定义索引是非必要的
在给出的分区上是否需要建立索引取决于那些扫描该分区的查询通常是扫描该分区的一大部分还是只是一小部分。
对于后者,索引通常都有帮助,对于前者则没有什么好处。
</para>
Expand Down