Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ab3bb9c

Browse files
committed
Add some real documentation about TOAST (finally). Combine this with
the old 'page' chapter and the recently added 'filelayout' chapter to make a coherent chapter about PostgreSQL's physical storage layout.
1 parent 521e888 commit ab3bb9c

9 files changed

+704
-535
lines changed

doc/src/sgml/diskusage.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/diskusage.sgml,v 1.13 2004/12/28 19:08:58 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/diskusage.sgml,v 1.14 2005/01/10 00:04:38 tgl Exp $
33
-->
44

55
<chapter id="diskusage">
@@ -22,12 +22,12 @@ $PostgreSQL: pgsql/doc/src/sgml/diskusage.sgml,v 1.13 2004/12/28 19:08:58 tgl Ex
2222
stored. If the table has any columns with potentially-wide values,
2323
there is also a <acronym>TOAST</> file associated with the table,
2424
which is used to store values too wide to fit comfortably in the main
25-
table. There will be one index on the
25+
table (see <xref linkend="storage-toast">). There will be one index on the
2626
<acronym>TOAST</> table, if present. There may also be indexes associated
2727
with the base table. Each table and index is stored in a separate disk
2828
file &mdash; possibly more than one file, if the file would exceed one
2929
gigabyte. Naming conventions for these files are described in <xref
30-
linkend="file-layout">.
30+
linkend="storage-file-layout">.
3131
</para>
3232

3333
<para>

doc/src/sgml/filelayout.sgml

Lines changed: 0 additions & 161 deletions
This file was deleted.

doc/src/sgml/filelist.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/filelist.sgml,v 1.40 2004/12/03 05:50:18 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/filelist.sgml,v 1.41 2005/01/10 00:04:38 tgl Exp $ -->
22

33
<!entity history SYSTEM "history.sgml">
44
<!entity info SYSTEM "info.sgml">
@@ -75,15 +75,14 @@
7575
<!entity arch-dev SYSTEM "arch-dev.sgml">
7676
<!entity bki SYSTEM "bki.sgml">
7777
<!entity catalogs SYSTEM "catalogs.sgml">
78-
<!entity filelayout SYSTEM "filelayout.sgml">
7978
<!entity geqo SYSTEM "geqo.sgml">
8079
<!entity gist SYSTEM "gist.sgml">
8180
<!entity indexcost SYSTEM "indexcost.sgml">
8281
<!entity nls SYSTEM "nls.sgml">
83-
<!entity page SYSTEM "page.sgml">
8482
<!entity plhandler SYSTEM "plhandler.sgml">
8583
<!entity protocol SYSTEM "protocol.sgml">
8684
<!entity sources SYSTEM "sources.sgml">
85+
<!entity storage SYSTEM "storage.sgml">
8786

8887
<!-- appendixes -->
8988
<!entity contacts SYSTEM "contacts.sgml">

doc/src/sgml/lobj.sgml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.35 2005/01/08 22:13:33 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.36 2005/01/10 00:04:38 tgl Exp $
33
-->
44

55
<chapter id="largeObjects">
@@ -51,9 +51,11 @@ $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.35 2005/01/08 22:13:33 tgl Exp $
5151
</para>
5252

5353
<para>
54-
<indexterm><primary>TOAST</></>
55-
<indexterm><primary>sliced bread</><see>TOAST</></indexterm>
56-
<productname>PostgreSQL 7.1</productname> introduced a mechanism
54+
<indexterm>
55+
<primary>TOAST</primary>
56+
<secondary>versus large objects</secondary>
57+
</indexterm>
58+
<productname>PostgreSQL</productname> 7.1 introduced a mechanism
5759
(nicknamed <quote><acronym>TOAST</acronym></quote>) that allows
5860
data values to be much larger than single pages. This
5961
makes the large object facility partially obsolete. One

0 commit comments

Comments
 (0)