Increase DSS Performance by 100x and OLTP by 2x. Learn more about Oracle 12c In-Memory Database.

With Oracle, the largest performance enhancing feature – the Oracle 12c In-memory database option (IMO), has been released. Learn more about how to enable it, the licensing costs, etc..

Is the Oracle 12c In-Memory Database option enabled by default?
The In-Memory option is available by default but is not turned on. The inmemory_size parameter must be set to a non-zero value for segments to be cached in the column store.

How does the In-Memory database perform in DSS?
The analytical workload will perform 100x faster with the In-Memory option when turned on for the tables being queried.

How does the In-Memory database perform in OLTP?
The OLTP workload will Perform 2x Faster. This is because the indexes on the table supporting the Analytically queries are no longer required and can be dropped. This way the OLTP transactions will no longer have to suffer the overhead caused by updating these indexes.

Why is In-Memory Database faster?
There are several reasons the full scan on the tables are much faster.
1. Data is stored in a columnar format and can be compressed and de-duplicated. This helps to reduced the number of blocks accessed.
2. The index overhead is eliminated by dropping the indexes supporting Analytical queries.
3. Improved hardware architecture allowing parallel processing.

Why is a full table scan for a column faster with the IMO feature?
The data from the table is stored using columnar format with the enhanced features of data compression and de-duplication. This way there is an increased data density in blocks and fewer blocks have to be scanned.

Should I drop all my indexes?
All indexes required to satisfy analytical queries can be dropped. The PK and the FK’d column indexes should be left in place.

Does the whole database need to be placed in memory?
No. Tables which have anaytical queries running against them should only be placed in memory. The simple command below places the table in the In-Memory cache.


How do you remove the segments from the cache store?
You can use the “NO INMMEMORY statement below.


How can I determine which objects are in the column store cache?
The v$IM_SEGMENTS and v$IM_USER_SEGMENTS views can be used to determine the segments which are in the columns store cache.

Is any change required to the application?
Larry Ellison’s main requirement was to have this feature but implementation should not require any application changes. So it has been delivered to us with no change required, being completely transparent to the application.

Are all features available if I enable IMO?
Yes all other database features are fully supported when enabling the IMO cache. The data is still safe, secure and available.

Is a separate license required?
Yes the In-Memory license is required to use this feature.

Is it required to store all the table in the cache?
No. If the cache is not big enough to store the complete table or partition, only the more frequently blocks accessed by the analytical operations will stay in the In-Memory Cache.

Is there any downside to using this feature?
No, except that the bigger the cache the larger the benefit. So investment in RAM will pay off handsomely in significant performance enhancement.

Other 12c articles
Benefits of Multitenant Databases in Oracle 12c
Oracle Database 12c Release 1 [] Patch Released
Oracle 12c Database Installation On Solaris 11 Using VirtualBox

More From My Site

  • Setting up Oracle 12c Active Data Guard Database In the Multitenant world, the PDB Database is considered an independent database but the operational tasks performed at the CDB level effect all the PDB databases plugged into it. The task […]
  • Oracle 12c Deprecated Database Parameters When upgrading to Oracle 12c it's good to be familiar with the deprecated parameters. These are not really desupported, just that they will be de-supported in future versions of the […]
  • Limiting PGA with PGA_AGGREGATE_LIMIT in Oracle 12c In Oracle 12c, a new interesting much needed feature, has been introduced which controls the maximum amount of the PGA memory consumed by the user processes. The PGA_AGGREGATE_LIMIT […]

Leave a Reply

Your email address will not be published.