ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
A container for diagnostic and utility functions and procedures specific to LOBs. Since diagnostic operations are not part of the standard programmatic APIs in DBMS_LOB,
they are provided in a separate namespace to avoid clutter. The diagnostic API is also not quite as critical to document for end-users; its main use is for internal developer, QA, and DDR use (especially since it peeks into the internal structure of LOB inodes and lobmaps).
AUTHID
DEFINER
Data Types
-- dbms_lobutil_inode_t: inode information CREATE OR REPLACE TYPE dbms_lobutil_inode_t AS OBJECT (
lobid RAW(10), -- lobid
flags NUMBER, -- inode flags
length NUMBER, -- lob length
version NUMBER, -- lob version
extents NUMBER, -- #extents in inode
lhb NUMBER -- lhb dba);
/
-- dbms_lobutil_lobmap_t: lobmap information
CREATE OR REPLACE TYPE dbms_lobutil_lobmap_t AS OBJECT (
lobid RAW(10), -- lobid
eflag NUMBER, -- extent flags
rdba NUMBER, -- extent header rdba
nblks NUMBER, -- #blocks in extent
offset NUMBER, -- offset of extent header
length NUMBER -- logical length of extent);
-- dbms_lobutil_lobextent_t: extent information
CREATE OR REPLACE TYPE dbms_lobutil_lobextent_t AS OBJECT (
rid VARCHAR(32), -- rowid proxy
row# NUMBER, -- rownum proxy
lobid RAW(10), -- lobid
extent# NUMBER, -- extent# [0 .. ] for a lobmap
hole VARCHAR(1), -- is the extent a hole? (y/n)
cont VARCHAR(1), -- is the extent a superchunk continuation (y/n)
over VARCHAR(1), -- is the chunk an overallocation? (y/n)
rdba NUMBER, -- rdba of extent start
nblks NUMBER, -- #blocks in extent
offset NUMBER, -- logical offset of extent start
length NUMBER -- logical length of extent);
/
-- dbms_lobutil_lobextents_t: expanded extent map information
CREATE OR REPLACE TYPE dbms_lobutil_lobextents_t AS
TABLE OF dbms_lobutil_lobextent_t;
/