35.1. Introduction

|   35.1. Introduction    |                       |                         |                  |                               |
|:-----------------------:|-----------------------|-------------------------|------------------|-------------------------------|
|[Prev](largeobjects.html)|[Up](largeobjects.html)|Chapter 35. Large Objects|[Home](index.html)| [Next](lo-implementation.html)|

---

## 35.1. Introduction

[]()

 All large objects are stored in a single system table named [`pg_largeobject`](catalog-pg-largeobject.html). Each large object also has an entry in the system table [`pg_largeobject_metadata`](catalog-pg-largeobject-metadata.html). Large objects can be created, modified, and deleted using a read/write API that is similar to standard operations on files.

PostgreSQL also supports a storage system called [“TOAST”](storage-toast.html), which automatically stores values larger than a single database page into a secondary storage area per table. This makes the large object facility partially obsolete. One remaining advantage of the large object facility is that it allows values up to 4 TB in size, whereas TOASTed fields can be at most 1 GB. Also, reading and updating portions of a large object can be done efficiently, while most operations on a TOASTed field will read or write the whole value as a unit.

---

|[Prev](largeobjects.html)|[Up](largeobjects.html)| [Next](lo-implementation.html)|
|:------------------------|:---------------------:|------------------------------:|
|Chapter 35. Large Objects|  [Home](index.html)   | 35.2. Implementation Features |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>