mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Fix typo 233 pages -> 333 pages.
This commit is contained in:
parent
70fba70430
commit
9b9b14915b
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.24 2003/01/25 23:10:27 tgl Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.25 2003/01/27 22:40:56 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="performance-tips">
|
<chapter id="performance-tips">
|
||||||
@ -109,8 +109,8 @@ regression=# EXPLAIN SELECT * FROM tenk1;
|
|||||||
SELECT * FROM pg_class WHERE relname = 'tenk1';
|
SELECT * FROM pg_class WHERE relname = 'tenk1';
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
you will find out that <classname>tenk1</classname> has 233 disk
|
you will find out that <classname>tenk1</classname> has 333 disk
|
||||||
pages and 10000 rows. So the cost is estimated at 233 page
|
pages and 10000 rows. So the cost is estimated at 333 page
|
||||||
reads, defined as costing 1.0 apiece, plus 10000 * <varname>cpu_tuple_cost</varname> which is
|
reads, defined as costing 1.0 apiece, plus 10000 * <varname>cpu_tuple_cost</varname> which is
|
||||||
currently 0.01 (try <command>SHOW cpu_tuple_cost</command>).
|
currently 0.01 (try <command>SHOW cpu_tuple_cost</command>).
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user