Skip to content

Commit f21fb30

Browse files
committed
Revert optimizer page count change.
1 parent bd175cc commit f21fb30

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> has 333 disk
113-
pages and 10000 rows. So the cost is estimated at 333 page
112+
you will find out that <classname>tenk1</classname> has 233 disk
113+
pages and 10000 rows. So the cost is estimated at 233 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy