<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://sqle.ru/index.php?action=history&amp;feed=atom&amp;title=Oracle_PL%2FSQL_Tutorial%2FLarge_Objects%2FIntroduction</id>
		<title>Oracle PL/SQL Tutorial/Large Objects/Introduction - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://sqle.ru/index.php?action=history&amp;feed=atom&amp;title=Oracle_PL%2FSQL_Tutorial%2FLarge_Objects%2FIntroduction"/>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL_Tutorial/Large_Objects/Introduction&amp;action=history"/>
		<updated>2026-04-30T17:35:38Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://sqle.ru/index.php?title=Oracle_PL/SQL_Tutorial/Large_Objects/Introduction&amp;diff=4225&amp;oldid=prev</id>
		<title> в 13:45, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL_Tutorial/Large_Objects/Introduction&amp;diff=4225&amp;oldid=prev"/>
				<updated>2010-05-26T13:45:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 13:45, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://sqle.ru/index.php?title=Oracle_PL/SQL_Tutorial/Large_Objects/Introduction&amp;diff=4226&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL_Tutorial/Large_Objects/Introduction&amp;diff=4226&amp;oldid=prev"/>
				<updated>2010-05-26T10:08:57Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Handling Large Objects in the Database==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;To address performance concerns, Oracle provides two options:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You can store the large objects internally, within the database itself (CLOB, BLOB).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You can keep the objects in the file system and just store the filenames in the database (BFILE).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;CLOB (character large object): to store large amounts of character (text) information.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;BLOB (binary large object): to store binary (mostly video/audio) information in the database.&amp;lt;/p&amp;gt;&lt;br /&gt;
34. 1. Introduction&lt;br /&gt;
34. 1. 1. &lt;br /&gt;
Handling Large Objects in the Database&lt;br /&gt;
34. 1. 2. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/LargeObjects.htm&amp;quot;&amp;gt;Large Objects&amp;lt;/a&amp;gt;&lt;br /&gt;
34. 1. 3. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/UsingCLOBsandBLOBs.htm&amp;quot;&amp;gt;Using CLOBs and BLOBs&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Large Objects==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Large objects (LOBs) may be used to store binary data, character data, and references to external files.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;LOBs are widely used to store documents such as Word and PDF documents.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;LOBs can store a maximum of 128 terabytes of data depending on the block size of your database.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;There are four LOB types:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;CLOB is the character LOB type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;CLOB is used to store character data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;NCLOB is the national language character LOB type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;NCLOB is used to store multiple byte character data (typically used for non-English characters).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;BLOB is the binary LOB type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;BLOB is used to store binary data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;BFILE is the binary FILE type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;BFILE is used to store pointers to files located in the file system.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Columns created using CLOB and BLOB types have three advantages over those created using the older LONG and LONG RAW types:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;LOB columns can store up to 128 terabytes of data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is far more data than you can store in a LONG and LONG RAW column.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A LONG and LONG RAW column may only store up to 2 gigabytes of data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Note: The RAW type may store up to 4 kilobytes of data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A table can have multiple LOB columns, but a table can only have one LONG or LONG RAW column.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;LOB data can be accessed in random order.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;LONG and LONG RAW data can only be accessed in sequential order.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A LOB consists of two parts:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The LOB locator  A pointer that specifies the location of the LOB content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The LOB content  The actual character or byte data stored in the LOB.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Depending on the size of the LOB content, the actual data will either be stored in the table or out of the table.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If the LOB content is less than 4 kilobytes in size, the content is stored in the table containing the LOB column.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If it&amp;quot;s bigger, the content is stored outside the table.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;With BFILE columns, only the locator is stored in the database-the locator points to the external file containing the LOB content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quote from:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Oracle Database 10g SQL (Osborne ORACLE Press Series) (Paperback)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Paperback: 608 pages&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Publisher: McGraw-Hill Osborne Media; 1st edition (February 20, 2004)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Language: English&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-10: 0072229810&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-13: 978-0072229813&amp;lt;/p&amp;gt;&lt;br /&gt;
34. 1. Introduction&lt;br /&gt;
34. 1. 1. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/HandlingLargeObjectsintheDatabase.htm&amp;quot;&amp;gt;Handling Large Objects in the Database&amp;lt;/a&amp;gt;&lt;br /&gt;
34. 1. 2. &lt;br /&gt;
Large Objects&lt;br /&gt;
34. 1. 3. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/UsingCLOBsandBLOBs.htm&amp;quot;&amp;gt;Using CLOBs and BLOBs&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using CLOBs and BLOBs==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LOB columns store a locator that points to the LOB contents.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Initializing a CLOB and BLOB&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Before you can actually write content to a LOB, you must first initialize the LOB column.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You do this by calling an Oracle database function that generates and returns a value for the locator.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;To initialize a CLOB or NCLOB column, you use the EMPTY_CLOB() function.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A BLOB column must be initialized using the EMPTY_BLOB() function.&amp;lt;/p&amp;gt;&lt;br /&gt;
34. 1. Introduction&lt;br /&gt;
34. 1. 1. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/HandlingLargeObjectsintheDatabase.htm&amp;quot;&amp;gt;Handling Large Objects in the Database&amp;lt;/a&amp;gt;&lt;br /&gt;
34. 1. 2. &lt;br /&gt;
&amp;lt;A href=&amp;quot;/Tutorial/Oracle/0660__Large-Objects/LargeObjects.htm&amp;quot;&amp;gt;Large Objects&amp;lt;/a&amp;gt;&lt;br /&gt;
34. 1. 3. &lt;br /&gt;
Using CLOBs and BLOBs&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>