A Using IM Column Store in Cloud Control
You can configure and manage the IM column store in Oracle Enterprise Manager Cloud Control (Cloud Control).
Video:
- Meeting Prerequisites for Using IM Column Store in Cloud Control
Before you can enable a database to use the IM column store, ensure that theCOMPATIBLE
is set to 12.1.0.0 or higher. - Using the In-Memory Column Store Central Home Page to Monitor In-Memory Support for Database Objects
Use the In-Memory Column Store Central Home page to monitor In-Memory support for database objects such as tables, indexes, partitions and tablespaces. You can view in-memory functionality for objects and monitor their In-Memory usage statistics. - Specifying In-Memory Details When Creating a Table or Partition
You can specify IM column store details when creating a table or partition. - Viewing or Editing IM Column Store Details of a Table
You can view or edit IM column store details of a table. - Viewing or Editing IM Column Store Details of a Partition
You can view or edit IM column store details of a partition. - Specifying IM Column Store Details During Tablespace Creation
You can specify IM column store details when creating a tablespace. - Viewing and Editing IM Column Store Details of a Tablespace
You can view or edit IM column store details of a tablespace. - Specifying IM Column Store Details During Materialized View Creation
You can specify IM column store details when creating a materialized view. - Viewing or Editing IM Column Store Details of a Materialized View
You can view or edit IM column store details of a materialized view.
A.1 Meeting Prerequisites for Using IM Column Store in Cloud Control
Before you can enable a database to use the IM column store, ensure that the COMPATIBLE
is set to 12.1.0.0 or higher.
To set the compatibility level, follow these steps:
-
From the Database Home page in Enterprise Manager, choose Initialization Parameters from the Administration menu to navigate to the Initialization Parameters page.
You can use this page to set or change the compatibility level.
-
Search for the
COMPATIBLE
initialization parameter.The category for the parameter is Miscellaneous.
-
Change the value to
12.1.0.0
and click Apply.Cloud Control prompts you to restart the database. After the database is restarted, the new value takes effect.
To set or change the size of the IM column store, follow these steps:
-
From the Database Home page in Enterprise Manager, choose Initialization Parameters from the Administration menu to navigate to the Initialization Parameters page.
-
Search for the parameter
INMEMORY_SIZE
. The category for the parameter is In-Memory. -
Change the value and click Apply.
You can set the value to any value above the minimum size of 100 MB.
You will then be prompted to restart the database.
Parent topic: Using IM Column Store in Cloud Control
A.2 Using the In-Memory Column Store Central Home Page to Monitor In-Memory Support for Database Objects
Use the In-Memory Column Store Central Home page to monitor In-Memory support for database objects such as tables, indexes, partitions and tablespaces. You can view in-memory functionality for objects and monitor their In-Memory usage statistics.
You can complete the following actions on the In-Memory Column Store Central Home page:
-
The In-Memory Object Access Heatmap displays the top 100 objects in the IM column store with their relative sizes and shows you how frequently objects are accessed, represented by different colors. To activate the heat map, you must turn on the option for the Heat Map in the initialization parameter file. Typically, there is a one day wait period before the map is activated. You can use the date selector to pick the date range for objects displayed in the Heat Map. You can also use the slider to control the granularity of the color.
-
Use the Configuration section to view the status settings such as In-Memory Query, In-Memory Force, and Default In-Memory Clause. Click Edit to navigate to the Initialization Parameters page where you can change the values and settings displayed in this section. Use the Performance section to view the metrics for Active Sessions.
-
Use the Objects Summary section to view the Compression Factor and data about the memory used by the populated objects. The In-Memory Enabled Object Statistics are available in a pop-up window through a drill-down from the View In-Memory Enabled Object Statistics link on the page.
-
Use the In-Memory Objects Distribution section to view the distribution on a percentage basis of the various objects used in memory. The section includes a chart showing the distribution of Partitions, Subpartitions, Non-partitioned Tables, and Non-partitioned Materialized Views. The numerical values for each are displayed above the chart.
-
Use the In-Memory Objects Search section to search for objects designated for In-Memory use. Click Search after you enter the parameters by which you want to search. The results table shows the Name of each object found along with its Size, Size in Memory, Size on Disk, In-Memory percentage, and its In-Memory parameters. You can also search for accessed objects that are either in-memory or not in-memory. If the Heat Map is enabled, then the Accessed Objects option appears in the drop-down list in the View field of the In-Memory Objects Search box. When you select Accessed Objects, you can filter based on the top 100 objects with access data that are either in-memory or not in-memory. You can select a time range and search for objects within that range. If you select the All Objects In-Memory option, you can view the list of top 100 objects that are in-memory based on their in-memory size.
If you are working in an Oracle RAC environment, you can quickly move between instances by selecting the instance in the Instances selection box above and on the right side of the Heat Map.
Parent topic: Using IM Column Store in Cloud Control
A.3 Specifying In-Memory Details When Creating a Table or Partition
You can specify IM column store details when creating a table or partition.
Parent topic: Using IM Column Store in Cloud Control
A.4 Viewing or Editing IM Column Store Details of a Table
You can view or edit IM column store details of a table.
Parent topic: Using IM Column Store in Cloud Control
A.5 Viewing or Editing IM Column Store Details of a Partition
You can view or edit IM column store details of a partition.
Parent topic: Using IM Column Store in Cloud Control
A.6 Specifying IM Column Store Details During Tablespace Creation
You can specify IM column store details when creating a tablespace.
The IM column store settings of a tablespace apply for any new table created in the tablespace. IM column store configuration details must be specified at the individual table level if a table must override the configuration of the tablespace.
Parent topic: Using IM Column Store in Cloud Control
A.7 Viewing and Editing IM Column Store Details of a Tablespace
You can view or edit IM column store details of a tablespace.
- From the Administration menu, choose Storage, then select the Tablespaces option.
- Search for the desired tablespace, select it, then click View.
- Click Edit to launch the Edit Tablespace page, then click the In-Memory Column Store tab.
- Edit the required details and click Apply.
Parent topic: Using IM Column Store in Cloud Control
A.8 Specifying IM Column Store Details During Materialized View Creation
You can specify IM column store details when creating a materialized view.
- From the Schema menu, choose Materialized Views, then select the Materialized Views option.
- Click Create to create a materialized view.
- Enter the materialized view name, and specify its query.
- Click the In-Memory Column Store tab to specify IM column store options for the materialized view.
- After entering all necessary IM column store details, click Show SQL. Click Return from the Show SQL page, and then in the resulting page click OK.
- Click OK to create the materialized view.
Parent topic: Using IM Column Store in Cloud Control
A.9 Viewing or Editing IM Column Store Details of a Materialized View
You can view or edit IM column store details of a materialized view.
- From the Schema menu, choose Materialized Views, then select the Materialized Views option.
- Search for the desired materialized view, and click View to view its details.
- Click Edit to launch the Edit Materialized View page.
- Click the In-Memory Column Store tab to specify IM column store options for the materialized view.
- Edit the required details, and click Apply.
Parent topic: Using IM Column Store in Cloud Control