]> begriffs open source - ai-pg/blob - full-docs/src/sgml/html/lo-intro.html
WIP: toc builder
[ai-pg] / full-docs / src / sgml / html / lo-intro.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>33.1. Introduction</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="largeobjects.html" title="Chapter 33. Large Objects" /><link rel="next" href="lo-implementation.html" title="33.2. Implementation Features" /></head><body id="docContent" class="container-fluid col-10"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">33.1. Introduction</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="largeobjects.html" title="Chapter 33. Large Objects">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="largeobjects.html" title="Chapter 33. Large Objects">Up</a></td><th width="60%" align="center">Chapter 33. Large Objects</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="lo-implementation.html" title="33.2. Implementation Features">Next</a></td></tr></table><hr /></div><div class="sect1" id="LO-INTRO"><div class="titlepage"><div><div><h2 class="title" style="clear: both">33.1. Introduction <a href="#LO-INTRO" class="id_link">#</a></h2></div></div></div><a id="id-1.7.4.6.2" class="indexterm"></a><p>
3     All large objects are stored in a single system table named <a class="link" href="catalog-pg-largeobject.html" title="52.30. pg_largeobject"><code class="structname">pg_largeobject</code></a>.
4     Each large object also has an entry in the system table <a class="link" href="catalog-pg-largeobject-metadata.html" title="52.31. pg_largeobject_metadata"><code class="structname">pg_largeobject_metadata</code></a>.
5     Large objects can be created, modified, and deleted using a read/write API
6     that is similar to standard operations on files.
7    </p><p>
8     <span class="productname">PostgreSQL</span> also supports a storage system called
9     <a class="link" href="storage-toast.html" title="66.2. TOAST"><span class="quote">“<span class="quote"><acronym class="acronym">TOAST</acronym></span>”</span></a>,
10     which automatically stores values
11     larger than a single database page into a secondary storage area per table.
12     This makes the large object facility partially obsolete.  One
13     remaining advantage of the large object facility is that it allows values
14     up to 4 TB in size, whereas <acronym class="acronym">TOAST</acronym>ed fields can be at
15     most 1 GB.  Also, reading and updating portions of a large object can be
16     done efficiently, while most operations on a <acronym class="acronym">TOAST</acronym>ed
17     field will read or write the whole value as a unit.
18    </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="largeobjects.html" title="Chapter 33. Large Objects">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="largeobjects.html" title="Chapter 33. Large Objects">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="lo-implementation.html" title="33.2. Implementation Features">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 33. Large Objects </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 33.2. Implementation Features</td></tr></table></div></body></html>