[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#
- [20181026]12c增強索引線上DDL操作.txt索引
- 20181026
- C# 中的特性 AttributeC#
- [20181127]12c Advanced Index Compression 2.txtIndex
- [20190911]12c dml redo優化2.txt優化
- Oracle 12c新特性--ASMFD(ASM Filter Driver)特性OracleASMFilter
- [20200818]12c 10046跟蹤時間戳2.txt時間戳
- .NET進階篇03-Reflection反射、Attribute特性反射
- 第32篇 .Net特性Attribute的高階使用
- Oracle 12C新特性-History命令Oracle
- Oracle 12C新特性In-MemoryOracle
- Oracle 12c 兩個新特性Oracle
- 12c RMAN新特性之Recover Table
- 【12c】12c RMAN新特性之recover table(表級別恢復)
- Oracle 12C新特性-RMAN恢復表Oracle
- Oracle 12c新特性---Rapid Home Provisioning (RHP)OracleAPI
- [20200225]觀察使用TCP keep-alive feature特性2.txtTCPKeep-Alive
- [20190718]12c rman新特性 表恢復.txt
- 12c新特性,線上move資料檔案
- Oracle 12C新特性-資料泵新引數(LOGTIME)Oracle
- 12C新特性___In-Memory列式儲存的總結
- __attribute__
- clang attribute
- Attribute Checks
- Oracle 12c 新特性之臨時Undo--temp_undo_enabledOracle
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- lockdown profile 12c之後的許可權控制新特性
- 嚐鮮Oracle Database 12c的十二大新特性VKOracleDatabase
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- Agglomerative Hierarchical Clustering詳解
- Oracle 12C新特性-資料泵新引數(VIEWS_AS_TABLES)OracleView
- 【12c】12c RMAN新特性之通過網路遠端恢復資料庫(RESTORE/Recover from Service)資料庫REST
- According to TLD or attribute directive in tag file, attribute value does not accept any expressionExpress
- Oracle 12C R2新特性-本地UNDO模式(LOCAL_UNDO_ENABLED)Oracle模式
- ORACLE 12C 優化器的一些新特性總結(二)Oracle優化