Oracle8i Application Developer's Guide - Large Objects (LOBs) Release 2 (8.1.6) Part Number A76940-01 |
|
Managing LOBs , 2 of 10
A limited number of BFILE
s can be open simultaneously per session. The initialization parameter, SESSION_MAX_OPEN_FILES
defines an upper limit on the number of simultaneously open files in a session.
The default value for this parameter is 10. That is, you can open a maximum of 10 files at the same time per session if the default value is utilized. If you want to alter this limit, the database administrator can change the value of this parameter in the init.ora
file. For example:
SESSION_MAX_OPEN_FILES=20
If the number of unclosed files reaches the SESSION_MAX_OPEN_FILES
value then you will not be able to open any more files in the session. To close all open files, use the FILECLOSEALL
call.
SQL Data Manipulation Language (DML) includes basic operations, such as, INSERT,
UPDATE,
DELETE
-- that let you make changes to the entire value of internal LOB
s within Oracle RDBMS.
It is possible to change the default storage for a LOB after the table has been created.
To move the CLOB column from tablespace A to tablespace B, in Oracle8 release 8.0.4.3, requires the following statement:
ALTER TABLE test lob(test) STORE AS (tablespace tools);
However, this returns the following error message:
ORA-02210: no options specified for ALTER TABLE
ALTER TABLE test MODIFY LOB (lob1) STORAGE ( NEXT 4M MAXEXTENTS 100 PCTINCREASE 50
)
ALTER TABLE test MOVE TABLESPACE tbs1 LOB (lob1, lob2) STORE AS ( TABLESPACE tbs2 DISABLE STORAGE IN ROW);
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|