Fix computation of sample table size.

This commit is contained in:
Bruce Momjian 2006-02-25 04:28:54 +00:00
parent 8e8972832a
commit 8c71af130c
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Fri Feb 24 09:59:35 EST 2006
Last updated: Fri Feb 24 23:28:40 EST 2006
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@ -524,7 +524,7 @@
As an example, consider a file of 100,000 lines with an integer and
text description on each line. Suppose the text string avergages
twenty bytes in length. The flat file would be 2.8 MB. The size of the
PostgreSQL database file containing this data can be estimated as 6.4
PostgreSQL database file containing this data can be estimated as 5.6
MB:
28 bytes: each row header (approximate)
24 bytes: one int field and one text field

View File

@ -10,7 +10,7 @@
alink="#0000ff">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Fri Feb 24 09:59:35 EST 2006</P>
<P>Last updated: Fri Feb 24 23:28:40 EST 2006</P>
<P>Current maintainer: Bruce Momjian (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
@ -692,7 +692,7 @@ table?</TD><TD>unlimited</TD></TR>
and text description on each line. Suppose the text string
avergages twenty bytes in length. The flat file would be 2.8 MB.
The size of the PostgreSQL database file containing this data can
be estimated as 6.4 MB:</P>
be estimated as 5.6 MB:</P>
<PRE>
28 bytes: each row header (approximate)
24 bytes: one int field and one text field