ORA-28348, encryption column TDE, function index
------------scenario 1
SQL> alter table emp2 modify (sal encrypt no salt) ;
alter table emp2 modify (sal encrypt no salt)
ORA-28348: index defined on the specified column cannot be encrypted
---- solution :
1,check function-based index on the encrypted column , if needed , drop the function index.
------------scenario 2
SQL> create index idx_emp2_sal2 on emp2(sal desc) ;
create index idx_emp2_sal2 on emp2(sal desc)
ORA-28337: the specified index may not be defined on an encrypted column
--- explanation:
index on column desc is implement as a function index. Oralce TDE does not support create function index on encrypted column.
-- solution:
if needed, remove "desc" keyword. Or think and redesign the data structure.
------------scenario 3
SQL> alter table emp2 modify (sal encrypt ) ;
alter table emp2 modify (sal encrypt )
ORA-28338: Column(s) cannot be both indexed and encrypted with salt
-- resolution :
Salt will result random additional data into the key .which will result in degrade of index performance.
---------
alter table t1 rekey USING 'aes192' 'nomac' ;
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1042519/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How To Generate A New Master Encryption Key for the TDE_445147.1AST
- Transparent Data Encryption (TDE) in Oracle 10g Database Release 2Oracle 10gDatabase
- 使用datapump傳輸加密表請先確認TDE Encryption wallet狀態加密
- Index column size too large. The maximum column size is 767 bytesIndex
- 高效的SQL(index values與index column values關係?)SQLIndex
- Index column size too large. The maximum column size is 767 bytes.Index
- Function-based Index and Or-ExpansionFunctionIndex
- 1709 - Index column size too large. The maximum column size is 767 bytes.Index
- GGS ERROR 160 Bad column indexErrorIndex
- [Err] 1709 - Index column size too large. The maximum column size is 767 bytes.Index
- use the function_based index to access the null valueFunctionIndexNull
- MySQL建立表失敗:Index column size too large. The maximum column size is 767 bytesMySqlIndex
- MySQL 5.7 到 5.6,出現 Index column size too large. The maximum column size is 767 bytesMySqlIndex
- 關於函式索引(function-based index)函式索引FunctionIndex
- Oracle 反向索引 where index_column like '%xxx'Oracle索引Index
- mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- 10g中function index無法避免排序FunctionIndex排序
- MySQL資料庫index column size too large. the maximum column size is 767 bytes問題解決MySql資料庫Index
- mysql5.7 資料匯入5.6 Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- 什麼是index的leading column(索引的前導列)?Index索引
- 基於函式的索引(function-based index,FBI)函式索引FunctionIndex
- mysql Index column size too large 超過767錯誤解決方案(轉)MySqlIndex
- 'mysql.column_stats' doesn't exist and Table 'mysql.index_stats' doesn't existMySqlIndex
- Oracle TDE加密測試Oracle加密
- MySQL 5.7 InnoDB Tablespace EncryptionMySql
- Oracle TDE(透明資料加密)Oracle加密
- [20180608]Wrong Results with IOT, Added Column and Secondary Index.txtIndex
- javascript 中function(){},new function(),new Function(),Function 摘錄JavaScriptFunction
- ora-30004:when using sys_connect_by_path function,cannot have seperator as part of column valueFunction
- TDE 透明表空間加密 Wallet加密
- [20180609]Wrong Results with IOT, Added Column and Secondary Index2.txtIndex
- Error: no such columnError
- ACFS Security & Encryption特性使用須知
- Oracle Transparent Data Encryption 透明加密(一)Oracle加密
- Oracle Transparent Data Encryption 透明加密(二)Oracle加密
- 資料庫安全之TDE列加密資料庫加密
- Kafka security-Encryption and Authentication using SSLKafka
- Column Monitoring