Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

inmemory column store tips

Oracle Database Tips by Donald BurlesonNovember 7, 2015


Question: 
How does the inmemory parameter work in Oracle?  How does the inmemory column store work as an alternative to the KEEP pool?  How does the new Oracle 12c inmemory option work? 

Answer: Oracle has long provided the ability to fully cache your database, either by allocating enough RAM to the data buffers to fully cache the database or by employing the KEEP pool.  Now in release 12c release 1, we see the ability for many new ways to cache data blocks from the physical data files on disk.  This introduction of column-level caching is a direct result in the falling costs of RAM storage.

 

See this important note on the inmemory_query parameter for setting the inmemory system-wide and these notes in setting inmemory at the table level.

There are several new areas of inmemory options in Oracle 12cr1 and Oracle now has this bewildering suite of tools for data block caching:

 

Once this extra-cost option is enabled, the Oracle in-memory region is displayed as part of the startup command and show SGA commands:

 

Total System Global Area nnn bytes
Fixed Size               nnn bytes
Variable Size            nnn bytes
Database Buffers         nnn bytes
Redo Buffers             nnn bytes
In-Memory Area           nnn bytes

There is also a set of inmemory parameters that are used to enable the inmemory option:

SQL> show parameter inmemory

NAME                                TYPE                             VALUE
------------------------------------ --------------------------------- -----
inmemory_clause_default              string
inmemory_force                       string                           DEFAULT
inmemory_max_populate_servers        integer                          1
inmemory_query                       string                           ENABLE
inmemory_size                        big integer                      256G
inmemory_trickle_repopulate_servers_ integer                          1
percent
optimizer_inmemory_aware             boolean                          TRUE

There is also a v$im_segments view to display details on the inmemory options.  There are also new columns within the dba_tables view for inmemory options:

select
   table_name,
   cache,
   inmemory_compression,
   inmemory_priority,
   inmemory_distribute 
from
   dba_tables;

There are also new views in the 12cr1 inmemory option:

 

select
   view_name
from
   dba_views
where
   view_name like 'V_$IM%';

VIEW_NAME
----------------------------------------
V_$IM_SEGMENTS_DETAIL
V_$IM_SEGMENTS
V_$IM_USER_SEGMENTS
V_$IM_TBS_EXT_MAP
V_$IM_SEG_EXT_MAP
V_$IM_HEADER
V_$IM_COL_CU
V_$IM_SMU_HEAD
V_$IM_SMU_CHUNK
V_$IM_COLUMN_LEVEL


Also see my related notes on the inmemory option:

 

inmemory_size tips

 

Oracle alter table inmemory

 

inmemory_max_populate_servers tips

 

inmemory_force Tips

 

inmemory_clause_default Tips

 

inmemory_query tips

 

inmemory_trickle_repopulate_servers_percent Tips

 

optimizer_inmemory_aware Tips

   
Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training
 
 


 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster