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

Commitf21fb30

Browse files
committed
Revert optimizer page count change.
1 parentbd175cc commitf21fb30

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎doc/src/sgml/perform.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.25 2003/01/27 22:40:56 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.26 2003/01/28 03:34:29 momjian Exp $
33
-->
44

55
<chapter id="performance-tips">
@@ -109,8 +109,8 @@ regression=# EXPLAIN SELECT * FROM tenk1;
109109
SELECT * FROM pg_class WHERE relname = 'tenk1';
110110
</programlisting>
111111

112-
you will find out that <classname>tenk1</classname> has333 disk
113-
pages and 10000 rows. So the cost is estimated at333 page
112+
you will find out that <classname>tenk1</classname> has233 disk
113+
pages and 10000 rows. So the cost is estimated at233 page
114114
reads, defined as costing 1.0 apiece, plus 10000 * <varname>cpu_tuple_cost</varname> which is
115115
currently 0.01 (try <command>SHOW cpu_tuple_cost</command>).
116116
</para>

‎src/backend/utils/misc/postgresql.conf.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@
121121
# panic
122122
#client_min_messages = notice# Values, in order of decreasing detail:
123123
# debug5, debug4, debug3, debug2, debug1,
124-
# log, info, notice, warning, error
124+
# log, info, notice, warning, error,
125+
# panic(off)
125126
#silent_mode = false
126127

127128
#log_connections = false

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp