Skip to content

Commit 8c71af1

Browse files
committed
Fix computation of sample table size.
1 parent 8e89728 commit 8c71af1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/FAQ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Fri Feb 24 09:59:35 EST 2006
4+
Last updated: Fri Feb 24 23:28:40 EST 2006
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -524,7 +524,7 @@
524524
As an example, consider a file of 100,000 lines with an integer and
525525
text description on each line. Suppose the text string avergages
526526
twenty bytes in length. The flat file would be 2.8 MB. The size of the
527-
PostgreSQL database file containing this data can be estimated as 6.4
527+
PostgreSQL database file containing this data can be estimated as 5.6
528528
MB:
529529
28 bytes: each row header (approximate)
530530
24 bytes: one int field and one text field

doc/src/FAQ/FAQ.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
alink="#0000ff">
1111
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
1212

13-
<P>Last updated: Fri Feb 24 09:59:35 EST 2006</P>
13+
<P>Last updated: Fri Feb 24 23:28:40 EST 2006</P>
1414

1515
<P>Current maintainer: Bruce Momjian (<A href=
1616
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
@@ -692,7 +692,7 @@ <H3 id="item4.5">4.5) How much database disk space is required
692692
and text description on each line. Suppose the text string
693693
avergages twenty bytes in length. The flat file would be 2.8 MB.
694694
The size of the PostgreSQL database file containing this data can
695-
be estimated as 6.4 MB:</P>
695+
be estimated as 5.6 MB:</P>
696696
<PRE>
697697
28 bytes: each row header (approximate)
698698
24 bytes: one int field and one text field

0 commit comments

Comments
 (0)