mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Fix computation of sample table size.
This commit is contained in:
4
doc/FAQ
4
doc/FAQ
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Frequently Asked Questions (FAQ) for PostgreSQL
|
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)
|
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
|
As an example, consider a file of 100,000 lines with an integer and
|
||||||
text description on each line. Suppose the text string avergages
|
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
|
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:
|
MB:
|
||||||
28 bytes: each row header (approximate)
|
28 bytes: each row header (approximate)
|
||||||
24 bytes: one int field and one text field
|
24 bytes: one int field and one text field
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
alink="#0000ff">
|
alink="#0000ff">
|
||||||
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
<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=
|
<P>Current maintainer: Bruce Momjian (<A href=
|
||||||
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
|
"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
|
and text description on each line. Suppose the text string
|
||||||
avergages twenty bytes in length. The flat file would be 2.8 MB.
|
avergages twenty bytes in length. The flat file would be 2.8 MB.
|
||||||
The size of the PostgreSQL database file containing this data can
|
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>
|
<PRE>
|
||||||
28 bytes: each row header (approximate)
|
28 bytes: each row header (approximate)
|
||||||
24 bytes: one int field and one text field
|
24 bytes: one int field and one text field
|
||||||
|
Reference in New Issue
Block a user