Attribute clustering is a new feature of oracle 12c for more info check http://docs.oracle.com/database/121/DWHSG/attcluster.htm#DWHSG9338.
I will focus here only on how attribute clustering can improve in-memory query.For a description of in-memory pruning please check my previous post.
Here is a quick example to demonstate how Attribute clustering can improve in-memory query pruning and compression ratio. Here is the simple steps :
- Create a table and load it in-memory.
- Check for the min-max column for every IMCU and the total allocated space in-memory.
- Use attribute clustering for one column and then reload the table in-memory.
- Check for the min-max column for every IMCU and the total allocated space in-memory.
- Campare the results.