[20181026]12c Attribute Clustering特性2.txt
[20181026]12c Attribute Clustering特性2.txt
Attribute Clustering實際上按照特定的欄位組織表,使相同的值聚集起來,總的來講就是減少索引的聚集因子.
One of the really cool new features introduced in 12.1.0.2 is Attribute Clustering. This new table based attribute
allows you to very easily cluster data in close physical proximity based on the content of specific columns.
--//主要了解資訊記錄在那個表。
1.環境:
SCOTT@test01p> @ ver1
PORT_STRING VERSION BANNER CON_ID
------------------------------ -------------- -------------------------------------------------------------------------------- ----------
IBMPC/WIN_NT64-9.1.0 12.2.0.1.0 Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production 0
2.測試:
SCOTT@test01p> @ 10046on 12
Session altered.
SCOTT@test01p> create table ziggy2 (id number, code number, name varchar2(30)) clustering by linear order (code,name) without materialized zonemap;
Table created.
SCOTT@test01p> @ 10046off
Session altered.
--//檢查跟蹤執行如下:
insert into clst$ (clstobj#, clstfunc, flags) values(:1, :2, :3)
insert into clstkey$ (clstobj#, tabobj#, intcol#, position, groupid) values (:1, :2, :3, :4, :5)
SCOTT@test01p> select * from sys.clst$ where clstobj# in (select object_id from dba_objects where owner=user and object_name='ZIGGY2');
CLSTOBJ# CLSTFUNC CLSTLASTDM CLSTLASTLOAD FLAGS
---------- ---------- ---------- ------------ -----
22899 2 3
SCOTT@test01p> select * from sys.clstkey$ where clstobj# in (select object_id from dba_objects where owner=user and object_name='ZIGGY2');
CLSTOBJ# TABOBJ# INTCOL# POSITION GROUPID
---------- ---------- ---------- ---------- ----------
22899 22899 2 1 0
22899 22899 3 2 0
--// clustering by linear order (code,name) ,2個欄位基本能對上。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2217741/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20181026]12c Attribute Clustering特性.txt
- C# 特性[Attribute]C#
- C#-特性(Attribute)C#
- C# 中的特性 AttributeC#
- [20181026]12c增強索引線上DDL操作.txt索引
- Oracle 12c新特性Oracle
- 【12c Partitioning】Oracle 12c Partitioning特性Oracle
- Oracle 12c 新特性(四)Oracle
- Oracle 12c 新特性(三)Oracle
- Oracle 12c 新特性(二)Oracle
- Oracle 12c 新特性(一)Oracle
- Oracle 12c新特性--ASMFD(ASM Filter Driver)特性OracleASMFilter
- Oracle 12c新特性之Sequence的Session特性OracleSession
- .NET進階篇03-Reflection反射、Attribute特性反射
- 關於C# 中的Attribute 特性 經典C#
- 溫故而知新:c#中的特性(attribute)C#
- 第32篇 .Net特性Attribute的高階使用
- Oracle 12C新特性-History命令Oracle
- Oracle 12c 兩個新特性Oracle
- Oracle 12C新特性In-MemoryOracle
- Oracle GoldenGate 12c 新特性OracleGo
- Oracle 12c啟用inmemory特性Oracle
- DOM物件屬性(property)與HTML標籤特性(attribute)物件HTML
- [20181127]12c Advanced Index Compression 2.txtIndex
- [20170726]11G 12c expand sql text 2.txtSQL
- 12c RMAN新特性之Recover Table
- Oracle 12c DG新特性Far SyncOracle
- Oracle 12c 新特性之 temp undoOracle
- ORACLE 12C新特性——CDB與PDBOracle
- 12C SQL方面新特性小結SQL
- [20190911]12c dml redo優化2.txt優化
- Oracle 12C新特性-RMAN恢復表Oracle
- Oracle 12C 新特性之級聯truncateOracle
- 12c新特性-Oracle Sharding簡介Oracle
- Oracle 12C 新特性之 恢復表Oracle
- Oracle 12c新特性 - Hybrid histogram 3OracleHistogram
- Oracle 12c新特性 - Hybrid histogram 2OracleHistogram
- Oracle 12c新特性 - Hybrid histogram 1OracleHistogram