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
Provides interfaces for managing In-Memory Expressions (IM expressions) and the In-Memory FastStart (IM FastStart) area.
Analytic queries often contain complex expressions or calculations that can consume significant CPU and memory during execution.
Use DBMS_INMEMORY_ADMIN procedure to identify these frequently used (“hot”) expressions and populate them in the IM column store. In this way, the database avoids repeated computations and improves performance.
The following query shows that the IM FastStart LOB was created (sample output included):
col owner format a5
col segment_name format a20
SELECT l.owner, l.segment_name, SUM(s.bytes)/1024/1024 MB
FROM dbs_lobs l, dba_segments s
WHERE l.segment_name = s.segment_name
AND l.tablespace_name = 'FS_TBS'
GROUP BY l.owner, l.segment_name;
drop tablespace fs_tbs including contents and datafiles;
drop tablespace fs_tbs including contents and datafiles
*
ERROR at line 1:
ORA-64379: Action cannot be performed on the tablespace assigned to FastStart while the feature is enabled
exec dbms_inmemory_admin.faststart_disable;
DROP TABLESPACE fs_tbs INCLUDING CONTENTS AND DATAFILES;
Wrapper around populate() that waits for population to finish for all inmemory objects with priority greater than or equal to the priority specified (default LOW)
dbms_inmemory_admin.populate_wait(
priority IN VARCHAR2 DEFAULT 'LOW',
percentage IN NUMBER DEFAULT 100,
timeout IN NUMBER DEFAULT 9999999,
force IN BOOLEAN DEFAULT FALSE)
RETURN NUMBER;