Oracle Database 10g SQL (Osborne ORACLE Press Series)

There are four LOB types:

As mentioned earlier, prior to Oracle8 your only choice for storing large amounts of character or binary data was to use the LONG and LONG RAW types (for smaller binary files, you could also use the RAW type). Columns created using CLOB and BLOB types have three advantages over those created using the older LONG and LONG RAW types:

A LOB consists of two parts :

Depending on the size of the LOB content, the actual data will either be stored in the table or out of the table. If the LOB content is less than 4 kilobytes in size , the content is stored in the table containing the LOB column. If it s bigger, the content is stored outside the table. With BFILE columns, only the locator is stored in the database ”the locator points to the external file containing the LOB content.

Категории