Webinar on Oracle Database Blockchain Tables (21c, backported to 19c) and Immutable Tables: how the insert-only, tamper-resistant tables work and how to use, secure and manage them for audit trails and compliance data.
Play the Recording: Effectively Using Oracle Blockchain TablesBlockchain Tables, new in Oracle Database 21c and backported to 19c from 19.10, are insert-only, tamper-resistant tables that protect data from abuse and fraud. Common uses are audit trails, compliance data, ledgers, and chain of custody or provenance information.
We review how Blockchain Tables work and the practices for using, securing and managing them, then cover Immutable Tables, released in 19.11 and 21.3, which give the same insert-only, tamper-resistant protection without the overhead of maintaining the blockchain. DBAs and security teams can then decide which table type fits each audit trail or compliance table.
Key Points
- On 19c, Blockchain Tables need Release Update 19.10 (January 2021) or later and
COMPATIBLEset to 19.10.0 or greater, which locks pluggable databases to 19.10.0 or later; 19.10 also needed patch 32431413 (Doc ID 2768266.1) to avoid ORA-901, 19.11 needed none, and both have long since been superseded by later Release Updates. - Retention settings are fixed at creation:
NO DROPwithout a day count means the table can never be dropped,NO DELETEwithoutUNTILmeans rows can never be deleted,LOCKEDprevents changes and retention periods can only be increased, so setBLOCKCHAIN_TABLE_MAX_NO_DROPto 0 in test and development. UPDATE,TRUNCATEand changes to the table structure are never allowed and expired rows are removed only throughDBMS_BLOCKCHAIN_TABLE.DELETE_EXPIRED_ROWS, so add ORA-05715 and ORA-05723 to the monitored error messages and audit the attempts andEXECUTEonSYS.DBMS_BLOCKCHAIN_TABLEwith Unified Auditing policies.- Blockchain Tables are not suited to high-volume transactional tables, do not allow VPD or Oracle Label Security policies, distributed or XA transactions, parallel DML or direct-path loads, and lose their blockchain in an Oracle Data Pump export and import.
- To verify integrity, store signed digests outside the database and check the rows between them with
DBMS_BLOCKCHAIN_TABLE.VERIFY_TABLE_BLOCKCHAIN, and combine the tables with Oracle TDE tablespace encryption and Table Compression against direct edits to the data files. - Immutable Tables (19.11 and 21.3) support VPD policies and distributed and XA transactions, and we recommend them for every audit trail, security log and compliance table that does not need a blockchain.