Oracle9i Application Developer's Guide - Large Objects (LOBs) Release 2 (9.2) Part Number A96591-01 |
|
This Guide describes Oracle9i application development features that deal with Large Objects (LOBs). The information applies to all platforms, and does not include system-specific information.
This preface contains these topics:
Oracle9i Application Developer's Guide - Large Objects (LOBs) contains information that describes the features and functionality of Oracle9i and Oracle9i Enterprise Edition products. Oracle9i and Oracle9i Enterprise Edition have the same basic features; however, several advanced features are available only with the Enterprise Edition, and some of these are optional. To use the Partitioning functionality, select the Partitioning option.
Note: From this release, in Oracle9i Enterprise Edition, you no longer need to select the Objects options to install the Objects and functionality. |
Although there are no special system restrictions when dealing with LOB
s:
See Also:
The following sections in Chapter 4, "Managing LOBs": |
The Oracle9i Application Developer's Guide - Large Objects (LOBs) is intended for programmers developing new applications that use LOB
s, as well as those who have already implemented this technology and now wish to take advantage of new features.
The increasing importance of multimedia data as well as unstructured data has led to this topic being presented as an independent volume within the Oracle Application Developers documentation set.
Oracle9i Application Developer's Guide - Large Objects (LOBs) contains thirteen chapters organized into two volumes. A brief summary of what you will find in each chapter follows:
Chapter 1 describes the need for unstructured data and the advantages of using LOBs. It discusses the use of LOB
s to promote internationalization by way of CLOBS
, and the advantages of using LOB
s over LONG
s. Chapter 1 also describes the LOB demo file and where to find the supplied LOB sample scripts.
Chapter 2 describes the LOB datatype, including internal persistent and temporary LOBs and external LOBs, (BFILEs). The need to initialize LOBs to NULL or Empty is described. The LOB locator and how to use it is also discussed.
Chapter 3 describes the eight programmatic environments used to operate on LOB
s and includes a listing of their available LOB-related methods or procedures:
Chapter 4 describes how to use SQL*Loader, DBA actions required prior to working with LOBs, and LOB restrictions.
Chapter 5 covers advanced topics that touch on all the other chapters. Specifically, it focuses on read consistent locators, the LOB
buffering subsystem, LOB
s in the object cache, and using Partitioned Index-Organized Tables with LOBs.
Chapter 6 includes a list of LOB-related questions and answers received from users.
Chapter 7 covers issues related to selecting a datatype and includes a comparison of LONG and LONG RAW properties. Table architecture design criteria are discussed and include tablespace and storage issues, reference versus copy semantics, index-organized tables, and partitioned tables. This chapter also describes using SQL semantics for LOBs, and indexing a LOB column.
This chapter describes what you need to know when migrating from LONGs to LOBs using the LONG API for LOBs. This API ensures that when you change your LONG columns to LOBs, your existing applications will require few changes, if any.
This chapter describes guidelines for using SQL*Loader to load LOBs, as well as LOB and temporary LOB performance guidelines.
The basic operations concerning internal persistent LOB
s are discussed, along with pertinent issues in the context of the scenario outlined in Chapter 9. We introduce the Unified Modeling Language (UML) notation with a special emphasis on use cases. Specifically, each basic operation is described as a use case. A full description of UML is beyond the scope of this book, but the small set of conventions used in this book appears later in the Preface. Wherever possible, we provide the same example in each programmatic environment.
This chapter follows the same pattern as Chapter 10 but here focuses on temporary LOB
s. New JDBC APIs in this release for Temporary LOBs include Creating a Temporary LOB, Checking if the BLOB/CLOB is temporary, and Freeing a Temporary BLOB/CLOB, comparing and trimming temporary LOBs. Visual Basic (OO4O) examples for temporary LOBs are not provided in this release but will be available in a future release.
This chapter focuses on external LOB
s, also known as BFILEs. The same treatment is provided here as in Chapters 10 and 11, namely, every operation is treated as a use case, and you will find matching code examples in the available programmatic environments.
This chapter describes how to manipulate LOBs using ADO Recordsets and OraOLEDB.
This chapter describes how to build a multimedia repository using LOBs. It also includes some first steps to consider when building a LOB based Web site.
This appendix explains how to use the Universal Modeling Language (UML) syntax used in the use case diagrams in Chapters 10, 11, and 12.
This provides a sample multimedia case study and solution. It includes the design of the multimedia application architecture in the form of table Multimedia_tab
and associated objects, types, and references.
For more information, see the following manuals:
Multimedia
You can access Oracle's development environment for multimedia technology in a number of different ways.
Basic References
In North America, printed documentation is available for sale in the Oracle Store at
http://oraclestore.oracle.com/
Customers in Europe, the Middle East, and Africa (EMEA) can purchase documentation from
http://www.oraclebookshop.com/
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
http://otn.oracle.com/admin/account/membership.html
If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://otn.oracle.com/docs/index.htm
To access the database documentation search engine directly, please visit
http://tahiti.oracle.com
This section describes the conventions used in the text and code examples of this documentation set. It describes:
We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.
Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:
SELECT username FROM dba_users WHERE username = 'MIGRATE';
The following table describes typographic conventions used in code examples and provides examples of their use.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
http://www.oracle.com/accessibility/
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|