ORACLE 11g RDBMS Features: Oracle Total Recall Oracle FLEXCUBE Universal Banking Release [May] [2017]

Similar documents
Data Model Getting Started Oracle FLEXCUBE Universal Banking Release [May] [2018]

Installer Troubleshooting Oracle FLEXCUBE Universal Banking Release [October] [2015]

Data Model Getting Started Oracle FLEXCUBE Universal Banking Release [February] [2018]

Module Code Entries Utility Oracle FLEXCUBE Universal Banking Release [December] [2016]

Deploying Oracle FLEXCUBE Application on WebSphere Oracle FLEXCUBE Universal Banking Release [December] [2016]

Apple Safari Settings Oracle FLEXCUBE Release [May] [2017]

Reports DSN Entries Utility Oracle FLEXCUBE Universal Banking Release [May] [2018]

Internal Handoff Grants Utility Oracle FLEXCUBE Investor Servicing Release [October] [2015]

Open Development Tool Database Setup Oracle FLEXCUBE Universal Banking Release [May] [2017]

Opera Browser Settings Oracle FLEXCUBE Release [May] [2017]

Multi-byte Character Support Oracle FLEXCUBE Universal Banking Release [May] [2018]

Oracle FLEXCUBE Direct Banking

Scheduler PLSQL JOB Creation Oracle FLEXCUBE Universal Banking Release [December] [2016]

Oracle FLEXCUBE Direct Banking

Oracle GL Adapter - Database Layer Installation Oracle FLEXCUBE Universal Banking Release [October] [2015]

FLEXCUBE Information Server Merge Repositories Oracle FLEXCUBE Universal Banking Release [March] [2018]

PM Database Setup Oracle FLEXCUBE Universal Banking Release [May] [2016]

Flexcube Information Server Oracle FLEXCUBE Enterprise Limits and Collateral Management Release [October] [2015]

Cross Schema Scripts Utility Oracle FLEXCUBE Investor Servicing Release [December] [2017]

Open Development Tool Application Deployment in Weblogic Oracle FLEXCUBE Universal Banking Release [May] [2017]

Scheduler JAVA JOB Creation Oracle FLEXCUBE Universal Banking Release [December] [2016]

Payment Job Framework Property File Creation Oracle FLEXCUBE Universal Banking Release [October] [2015]

Oracle FLEXCUBE Direct Banking

FLEXCUBE General Ledger Application Deployment in Websphere Oracle FLEXCUBE Universal Banking Release [October] [2015]

Oracle Banking Digital Experience

Scheduler JAVA JOB Creation Oracle FLEXCUBE Investor Servicing Release [October] [2015]

Switch Monitor Installation Oracle FLEXCUBE Universal Banking Release [May] [2017]

Oracle Banking Digital Experience

Development of Dashboard Forms. Oracle FLEXCUBE Universal Banking Release Development of Dashboard Forms

Deploying Oracle FLEXCUBE Application on WebLogic Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No.

Servibanca Interface Oracle FLEXCUBE Universal Banking Release [April] [2014] Oracle Part Number E

Application Server Installation Guide for OPSS - CSF Oracle FLEXCUBE Universal Banking Release [May] [2016]

SWITCH Simulator Oracle FLEXCUBE Universal Banking Release [May] [2017]

Configuring Internet Explorer Oracle FLEXCUBE Universal Banking Release [May] [2017]

Custom RAD Extensibility Transaction Screens Oracle Banking Payments Release [Feb] [2018]

REST API Services Compilation and Build Oracle FLEXCUBE Universal Banking Release [May] [2016]

Day-0 Setup Guide Release July 2018

Purge Entity Definition. Oracle FLEXCUBE Universal Banking Release [May] [2018] Purge Entity Definition

Oracle Banking Digital Experience

Cluster Creation on Websphere Application Server 8.5 Oracle FLEXCUBE Universal Banking Release [May] [2017]

Oracle Web Service Manager Implementation Guide Oracle FLEXCUBE Universal Banking Release [April] [2014]

Oracle FLEXCUBE Direct Banking

Switch Interface Installation Oracle FLEXCUBE Universal Banking Release [May] [2017]

SWITCH Simulator Oracle FLEXCUBE Universal Banking Release [April] [2014]

Development Workbench - Bulk Generation. Oracle FLEXCUBE Universal Banking Release Development Workbench - Bulk Generation

Installer Prerequisite Document Oracle FLEXCUBE Release [May] [2017]

Oracle Banking Digital Experience

Switch Interface Installation Oracle FLEXCUBE Universal Banking Release [December] [2016]

Oracle Banking APIs. Part No. E Origination Social Media Integration Guide Release April 2018

Oracle FLEXCUBE Installer Index Oracle FLEXCUBE Universal Banking Release [April] [2014]

Oracle Banking Digital Experience

Switch Interface Installation Oracle FLEXCUBE Universal Banking Release [May] [2018]

Oracle FLEXCUBE Direct Banking iphone/ipad Workspace Configuration

Branch Deployment on TomCat Oracle FLEXCUBE Universal Banking Release [May] [2017]

REST API Services Compilation and Build Oracle FLEXCUBE Universal Banking Release [May] [2018]

Payments Installer Database Setup Oracle Banking Payments Release [February] [2018]

Installation Document Oracle FLEXCUBE Universal Banking Release [October] [2015]

Oracle FLEXCUBE Direct Banking

Open Development Tool Installation Oracle FLEXCUBE Universal Banking Release

Oracle FLEXCUBE Core Banking

Oracle FLEXCUBE Direct Banking Release Corporate Foreign Exchange User Manual. Part No. E

Exception Process User Guide Oracle Banking Credit Facilities Process Management Release Part No. E July 2018

Oracle FLEXCUBE Direct Banking

Oracle FLEXCUBE Core Banking

FLEXCUBE General Ledger Database Setup Oracle FLEXCUBE Universal Banking Release [May] [2016]

FLEXCUBE UBS Installation Oracle FLEXCUBE Universal Banking Release [December] [2017]

Setting up Installer Oracle FLEXCUBE Universal Banking Release [April] [2014]

Oracle Banking Digital Experience

Oracle Banking APIs. Part No. E Third Party Simulation Guide Release April 2018

Setting up Installer Oracle FLEXCUBE Universal Banking Release [May] [2016]

Oracle Communications Configuration Management

Oracle FLEXCUBE Direct Banking

Oracle FLEXCUBE Direct Banking

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Customer Services User Manual. Part No. E

Oracle FLEXCUBE Direct Banking

FCIS Database Setup Oracle FLEXCUBE Investor Servicing Release [September] [2017]

Oracle FLEXCUBE Direct Banking

Development Workbench Getting Started Oracle FLEXCUBE Universal Banking Release

Development Workbench Getting Started Oracle FLEXCUBE Universal Banking Release

Oracle FLEXCUBE Core Banking

Corporate Customer Creation Oracle FLEXCUBE Universal Banking Release [April] [2014] Oracle Part Number E

Child and Screen Childs - Concept and Design Oracle FLEXCUBE Universal Banking Release

Oracle Virtual Machine Qualification Note Oracle FLEXCUBE Release [May] [2017]

Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved.

Oracle Banking Digital Experience

Oracle Banking Digital Experience

Oracle FLEXCUBE Installation Guide Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No. E

Interstage JavaEE6 Configuration for FCUBS Oracle FLEXCUBE Universal Banking Version [Dec] [2014]

Oracle Banking Digital Experience

Installer Database Setup Oracle FLEXCUBE Universal Banking Release [September] [2017]

Oracle FLEXCUBE Investor Servicing DDL Tool Reference Guide. Release Part No. E

Oracle FLEXCUBE Direct Banking

Resources to be created Oracle FLEXCUBE Universal Banking Release [May] [2017]

Oracle Financial Services Lending and Leasing

Resource Creation on WebLogic Application Server Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No.

FCUBS Switch Interface Gateway High Availability Configuration Oracle FLEXCUBE Universal Banking Release [May] [2017]

Liquidity Management OBIEE Setup Oracle Banking Liquidity Management Release [November] [2017]

Oracle FLEXCUBE Core Banking

Oracle FLEXCUBE Universal Banking Release Development Workbench -Tracking Changes

Installer Database Setup Oracle FLEXCUBE Universal Banking Release [December] [2017]

Transcription:

ORACLE 11g RDBMS Features: Oracle Total Recall Oracle FLEXCUBE Universal Banking Release 12.4.0.0.0 [May] [2017]

Table of Contents 1. INTRODUCTION... 2 2. REQUIREMENT /PROBLEM STATEMENT... 3 3. PREREQUISITES... 4 4. ORACLE TOTAL RECALL... 5 4.1 FLASHBACK DATA ARCHIVE... 5 4.2 FBDA PROCESS... 5 4.3 FLASHBACK HISTORY TABLES... 5 4.4 TOTAL RECALL BENEFITS... 6 4.5 TOTAL RECALL RESTRICTIONS... 6 5. IMPLEMENTING FLASHBACK ARCHIVE ON FCUBS DE TELLER UPLOAD... 8 5.1 ENVIRONMENT USED... 9 5.2 RESULTS OBSERVED... 10

1. Introduction Scope This document describes the features of Oracle Total recall and feasibility of enabling it for Flexcube modules. It also describes the POC conducted by enabling the same for DE upload module of Flexcube and also lists its results in terms of performance and storage overheads. Introduction to Oracle Total Recall Oracle Total recall feature is to capture and store the past historical data of a table or all the tables in a database with a simple enable archive command. It provides an extremely secure, efficient, easy to use and application transparent solution for Managing historical data as well as a centralized, secure query-able historical data of the tables. It is based on Oracle's Flashback feature and will allow users to query data "AS OF" an earlier time in the past. The main difference between flashback and Total Recall is that with Total Recall data will be permanently stored in an archive tablespace and ages out after a user defined retention time. Advantages Easy to implement Centralized, integrated, and query-enabled Highly storage- and performance-efficient Provides automatic, policy-based management Reduces compliance costs Useful for compliance, internal auditing, and human error correction FCUBS 11.4.2 Page 2 of 13

2. Requirement /Problem Statement The requirement is to setup Total recall for the most used tables of DE Upload module and assess its viability in terms of performance and storage overheads in enabling it. FCUBS 11.4.2 Page 3 of 13

3. Prerequisites Oracle Total recall feature is available from Oracle 11g Release 1 onwards. And this option is available only over Enterprise Editions. In addition, it is required to apply Oracle one-off patch 6502789 in above to Oracle 11g version 11.1.0.7.0. Oracle 11g Release 2 (11.2.0.1) was used to validate Total Recall feature for FCUBS 11.4.3 FCUBS 11.4.2 Page 4 of 13

4. Oracle Total Recall Flashback features prior to Oracle 11g work at the logical level where in which the past is constructed by using the undo segments which are retained only for the time period mentioned by UNDO_RETENTION parameter. Once the UNDO data has gone, the past cannot be constructed. Oracle Total Recall or Flashback Archive is a new feature which is available from Oracle 11g which is essentially an extended store of UNDO information by which the historical data gets stored in the tables. 4.1 Flashback data Archive Flashback data archive consists of one or more tablespaces, or parts of tablespace to store the historical data. Each flashback archive has a name, retention period (to store the data for the pre determined period) and a quota on each associated tablespaces. A database can have multiple flashback data archives but a single default archive. 4.2 FBDA Process FBDA is the Oracle database background process that gets initiated along with the database startup and it is responsible for populating the historical data from undo segment into historical segment. When a DML transaction commits an operation on a flashback archive enabled table, the Flashback Data Archiver (FBDA) process stores the pre-image of the rows into a flashback archive, along with metadata of the current rows. The FBDA process is also responsible for managing the data within the flashback archives, such as purging data beyond the retention period. 4.3 Flashback History tables The History tables that get created in the FBA tablespace for each Flashback enabled application tables are given below. These history tables get populated by the FBDA background process once a transaction on the tables is committed. Each history tables stores a part of the UNDO information /Preimage of the application which helps Oracle to construct the past data though the preimage is not in the undo segments. These history tables cannot be modified or deleted even by Sys administrators. Sl.No Table_Name Remarks 1 SYS_FBA_HIST The Preimage of the rows of application table when the operation type is U/D. 2 SYS_FBA_DDL_COLMAP Application table Column names and the corresponding historical column names 3 SYS_FBA_TCRV All DML Operation types (U, I, D) along with the FCUBS 11.4.2 Page 5 of 13

corresponding SCN s and the rowid. The history table (SYS_FBA_HIST) that gets created is range partitioned based on End scn. Index SYS_FBA_TCRV_IDX gets created automatically for the SYS_FBA_HIST table based on Row id which would increase the performance when it retrieves the past. Additional indexes can also be created on the table which would be an overhead to the Recall to maintain the same. The history table that gets created is not compressed by default but it can be compressed like other tables. There is always a considerable time lag in populating the history tables once the transaction is completed which cannot be pre-configured or controlled. 4.4 Total recall Benefits Below lists the advantages of Flashback archive. i. Easy to implement by the application users ii. iii. iv. The historical data cannot be modified even by the DBA user Centralized, integrated and query-enabled Highly storage and performance efficient 4.5 Total Recall Restrictions DDL restrictions for the flashback enabled tables are i. ALTER TABLE statements that drop rename or modify columns ii. iii. iv. ALTER TABLE statements that perform partition or sub partition operations ALTER TABLE statements that convert a LONG column to a LOB column ALTER TABLE statements that include an UPGRADE TABLE clause, with or without an INCLUDING DATA clause v. DROP TABLE statements vi. RENAME TABLE statements FCUBS 11.4.2 Page 6 of 13

vii. viii. TRUNCATE TABLE statements Table with Long data types are not supported with Flashback _archive FCUBS 11.4.2 Page 7 of 13

5. Implementing Flashback Archive on FCUBS DE Teller Upload This section gives the steps to enable the flashback archive for the Primary tables which are involved in FLEXCUBE DE Teller upload and the POC statistics in terms of performance and storage for the same Creating Flashback Data Archive and its Tablespaces CREATE TABLESPACE fda_ts datafile '/oracle/oradata/fcj10/fda_ts_01.dbf' SIZE 50m AUTOEXTEND ON MAXSIZE 1024m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64k; CREATE FLASHBACK ARCHIVE fba_poc TABLESPACE fda_ts RETENTION 1 year; GRANT FLASHBACK ARCHIVE ON fba_poc TO fcjdemo; ALTER USER fcjdemo QUOTA UNLIMITED ON fda_ts; A user should be granted FLASHBACK ARCHIVE privilege on the FBA to enable the tables with Total recall and also a user must have quota on the tablespaces corresponding to Flashback Archive which is been granted. To enable Flashback Archive for the FLEXCUBE tables FCUBS 11.4.2 Page 8 of 13

ALTER TABLE actb_daily_log FLASHBACK ARCHIVE fba_poc; ALTER TABLE sttm_cust_account FLASHBACK ARCHIVE fba_poc; ALTER TABLE detb_upload_detail FLASHBACK ARCHIVE fba_poc; ALTER TABLE detb_upload_master FLASHBACK ARCHIVE fba_poc; ALTER TABLE detb_batch_master FLASHBACK ARCHIVE fba_poc; Enabling Flashback Archive can be verified by querying the views created by Oracle. SELECT * FROM USER_FLASHBACK_ARCHIVE_TABLES would list the table name (Which is Flashback Archived) and the corresponding History table name for the same. We can also verify the History table creation by querying dba_segments SELECT * FROM DBA_SEGMENTS WHERE TABLESPACE_NAME= FDA_TS The functionality can be verified by querying the table using as of timestamp and as of SCN clause to get to know the previous records. 5.1 Environment Used Server Model Linux x86_64 GNU/Linux FCUBS 11.4.2 Page 9 of 13

CPU 8 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz Memory 16GB Storage 100GB Oracle Version 11.1.0.7.0 OS Version Red Hat Enterprise Linux 4.0 For FCUBS 11.4.3 Desktop Model Optiplex 745 CPU IBM XSERIES_3650 Intel Xeon CPU 3.00 GHz Memory 2GB Storage 80 GB Oracle Version 11.2.0.1 OS Version Oracle Enterprise Linux 5.5 5.2 Results Observed The Oracle Total Recall enabled for FLEXCUBE UBS without any major issues. And it also verified that the historical data population for the Archive enabled tables was successful. FCUBS 11.4.2 Page 10 of 13

An additional storage of 58MB consumed by the historical data of said FCUBS tables in the archive tablespace for the tested volume of 80,000 Data Entries. It also observed that the undo tablespace usage was doubled for the enablement of Oracle Total call for tested FCUBS Data Entry volume. There was about 10% of performance overhead observed during multiple iterations Data Entry upload test cases. FCUBS 11.4.2 Page 11 of 13

ORACLE 11g RDBMS Features: Oracle Total Recall [May] [2017] Version 12.4.0.0.0 Oracle Financial Services Software Limited Oracle Park Off Western Express Highway Goregaon (East) Mumbai, Maharashtra 400 063 India Worldwide Inquiries: Phone: +91 22 6718 3000 Fax:+91 22 6718 3001 www.oracle.com/financialservices/ Copyright [2007], [2017], Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. This software or hardware and documentation may provide access to or information on content, products and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.