Oracle Business Activity Monitoring 12c Best Practices ORACLE WHITE PAPER DECEMBER 2015

Similar documents
Extreme Performance Platform for Real-Time Streaming Analytics

Creating Custom Project Administrator Role to Review Project Performance and Analyze KPI Categories

Generate Invoice and Revenue for Labor Transactions Based on Rates Defined for Project and Task

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

Oracle CIoud Infrastructure Load Balancing Connectivity with Ravello O R A C L E W H I T E P A P E R M A R C H

Oracle JD Edwards EnterpriseOne Object Usage Tracking Performance Characterization Using JD Edwards EnterpriseOne Object Usage Tracking

Oracle Secure Backup. Getting Started. with Cloud Storage Devices O R A C L E W H I T E P A P E R F E B R U A R Y

JD Edwards EnterpriseOne Licensing

Tutorial on How to Publish an OCI Image Listing

Oracle Event Processing Extreme Performance on Sparc T5

An Oracle White Paper December, 3 rd Oracle Metadata Management v New Features Overview

An Oracle White Paper November Primavera Unifier Integration Overview: A Web Services Integration Approach

Configuring Oracle Business Intelligence Enterprise Edition to Support Teradata Database Query Banding

August 6, Oracle APEX Statement of Direction

Automatic Receipts Reversal Processing

Oracle DIVArchive Storage Plan Manager

Oracle Data Provider for.net Microsoft.NET Core and Entity Framework Core O R A C L E S T A T E M E N T O F D I R E C T I O N F E B R U A R Y

Achieving High Availability with Oracle Cloud Infrastructure Ravello Service O R A C L E W H I T E P A P E R J U N E

Load Project Organizations Using HCM Data Loader O R A C L E P P M C L O U D S E R V I C E S S O L U T I O N O V E R V I E W A U G U S T 2018

Oracle JD Edwards EnterpriseOne Object Usage Tracking Performance Characterization Using JD Edwards EnterpriseOne Object Usage Tracking

RAC Database on Oracle Ravello Cloud Service O R A C L E W H I T E P A P E R A U G U S T 2017

Working with Time Zones in Oracle Business Intelligence Publisher ORACLE WHITE PAPER JULY 2014

Leverage the Oracle Data Integration Platform Inside Azure and Amazon Cloud

Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R

SOA Cloud Service Automatic Service Migration

New Oracle NoSQL Database APIs that Speed Insertion and Retrieval

Correction Documents for Poland

Installation Instructions: Oracle XML DB XFILES Demonstration. An Oracle White Paper: November 2011

Oracle Cloud Applications. Oracle Transactional Business Intelligence BI Catalog Folder Management. Release 11+

An Oracle White Paper October The New Oracle Enterprise Manager Database Control 11g Release 2 Now Managing Oracle Clusterware

Oracle Fusion Configurator

Siebel CRM Applications on Oracle Ravello Cloud Service ORACLE WHITE PAPER AUGUST 2017

Oracle NoSQL Database For Time Series Data O R A C L E W H I T E P A P E R D E C E M B E R

PATTERN MATCHING CAPABILITIES IN ORACLE BAM ORACLE WHITE PAPER SEPTEMBER 2014

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications

Migration Best Practices for Oracle Access Manager 10gR3 deployments O R A C L E W H I T E P A P E R M A R C H 2015

October Oracle Application Express Statement of Direction

StorageTek ACSLS Manager Software Overview and Frequently Asked Questions

Using the Oracle Business Intelligence Publisher Memory Guard Features. August 2013

Oracle WebLogic Portal O R A C L E S T A T EM EN T O F D I R E C T IO N F E B R U A R Y 2016

Oracle Flashback Data Archive (FDA) O R A C L E W H I T E P A P E R M A R C H

Cloud Operations for Oracle Cloud Machine ORACLE WHITE PAPER MARCH 2017

Loading User Update Requests Using HCM Data Loader

An Oracle White Paper September Oracle Utilities Meter Data Management Demonstrates Extreme Performance on Oracle Exadata/Exalogic

Oracle Java SE Advanced for ISVs

Migrating VMs from VMware vsphere to Oracle Private Cloud Appliance O R A C L E W H I T E P A P E R O C T O B E R

April Understanding Federated Single Sign-On (SSO) Process

Using Oracle In-Memory Advisor with JD Edwards EnterpriseOne

Oracle Communications Interactive Session Recorder and Broadsoft Broadworks Interoperability Testing. Technical Application Note

Benefits of an Exclusive Multimaster Deployment of Oracle Directory Server Enterprise Edition

Oracle Database 12c: JMS Sharded Queues

Deploy VPN IPSec Tunnels on Oracle Cloud Infrastructure. White Paper September 2017 Version 1.0

Transitioning from Oracle Directory Server Enterprise Edition to Oracle Unified Directory

WebCenter Portal Task Flow Customization in 12c O R A C L E W H I T E P A P E R J U N E

Technical Upgrade Guidance SEA->SIA migration

Establishing secure connections between Oracle Ravello and Oracle Database Cloud O R A C L E W H I T E P A P E R N O V E M E B E R

An Oracle White Paper August Building Highly Scalable Web Applications with XStream

Hard Partitioning with Oracle VM Server for SPARC O R A C L E W H I T E P A P E R J U L Y

Oracle Data Masking and Subsetting

DATA INTEGRATION PLATFORM CLOUD. Experience Powerful Data Integration in the Cloud

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 2, Memory Barriers and Memory Fences

Oracle Database Vault

Oracle Spatial and Graph: Benchmarking a Trillion Edges RDF Graph ORACLE WHITE PAPER NOVEMBER 2016

Deploying Custom Operating System Images on Oracle Cloud Infrastructure O R A C L E W H I T E P A P E R M A Y

An Oracle Technical White Paper September Oracle VM Templates for PeopleSoft

An Oracle White Paper September, Oracle Real User Experience Insight Server Requirements

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

SecureFiles Migration O R A C L E W H I T E P A P E R F E B R U A R Y

Oracle Service Registry - Oracle Enterprise Gateway Integration Guide

Increasing Network Agility through Intelligent Orchestration

Oracle Database Vault

Establishing secure connectivity between Oracle Ravello and Oracle Cloud Infrastructure Database Cloud ORACLE WHITE PAPER DECEMBER 2017

PeopleSoft Fluid Navigation Standards

Oracle WebLogic Server Multitenant:

An Oracle White Paper October Release Notes - V Oracle Utilities Application Framework

See What's Coming in Oracle Taleo Business Edition Cloud Service

Subledger Accounting Reporting Journals Reports

An Oracle White Paper October Deploying and Developing Oracle Application Express with Oracle Database 12c

An Oracle White Paper Oct Hard Partitioning With Oracle Solaris Zones

Oracle Financial Consolidation and Close Cloud. What s New in the December Update (16.12)

Oracle Financial Services Regulatory Reporting for US Federal Reserve Lombard Risk Integration Pack

An Oracle White Paper June Exadata Hybrid Columnar Compression (EHCC)

E-BUSINESS SUITE APPLICATIONS R12 (R12.2.5) ORDER MANAGEMENT (OLTP) BENCHMARK - USING ORACLE11g

Oracle Exadata Statement of Direction NOVEMBER 2017

Oracle Clusterware 18c Technical Overview O R A C L E W H I T E P A P E R F E B R U A R Y

CONTAINER CLOUD SERVICE. Managing Containers Easily on Oracle Public Cloud

Autonomous Data Warehouse in the Cloud

An Oracle White Paper November Oracle RAC One Node 11g Release 2 User Guide

Oracle Grid Infrastructure 12c Release 2 Cluster Domains O R A C L E W H I T E P A P E R N O V E M B E R

How to Monitor Oracle Private Cloud Appliance with Oracle Enterprise Manager 13c O R A C L E W H I T E P A P E R J U L Y

Oracle Big Data Connectors

VISUAL APPLICATION CREATION AND PUBLISHING FOR ANYONE

Pricing Cloud: Upgrading to R13 - Manual Price Adjustments from the R11/R12 Price Override Solution O R A C L E W H I T E P A P E R A P R I L

TABLE OF CONTENTS DOCUMENT HISTORY 3

An Oracle White Paper September Security and the Oracle Database Cloud Service

ORACLE S PEOPLESOFT GENERAL LEDGER 9.2 (WITH COMBO EDITING) USING ORACLE DATABASE 11g FOR ORACLE SOLARIS (UNICODE) ON AN ORACLE S SPARC T7-2 Server

Sun Fire X4170 M2 Server Frequently Asked Questions

An Oracle White Paper October Minimizing Planned Downtime of SAP Systems with the Virtualization Technologies in Oracle Solaris 10

Oracle Financial Consolidation and Close Cloud. What s New in the November Update (16.11)

Partitioning in Oracle Database 10g Release 2. An Oracle White Paper May 2005

Transcription:

Oracle Business Activity Monitoring 12c Best Practices ORACLE WHITE PAPER DECEMBER 2015

Disclaimer The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Table of Contents Introduction 2 Schema Design 2 Dashboard Design and Deployment 3 Query Design 3 Data Archiving and Purging 4 Scalability and Performance 4 Real Time Data Sources for Oracle BAM 5 Production Roll Out Check List 5 Configuration 5 Load Test 11 1 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Introduction This whitepaper details some recommended best practices for Oracle Business Activity Monitoring s 12c release. This will ensure Oracle BAM s optimal usage while curbing common errors. Schema Design 1. Oracle BAM 12c supports a star schema. It supports joins through Logical Data Objects (LDOs). An LDO allows you to join one FACT table with multiple DIM tables, which allows you to run queries on top of the LDO. If Active Data is used on top of an LDO with Archived Relation, the following considerations need to be taken into account to achieve the best performance: 2. Mark your DIM table as Slow Changing Dim if the changes to the DIM table are very infrequent (once in a day or so). When you mark it with slow-changing dim, a join-memory enhancement comes into play that reduces the amount of heap required and also increases the query start up time. 3. Keep DIM table size reasonable (e.g. less than 10k only used for lookup) and batch updates to DIM tables to avoid frequent updates so you can mark the DIM table as Slow Changing Dim. In the case where the dim table is growing at the same pace as the fact table, it is better to keep the dimension columns in the FACT table. 4. Only join the FACT table with required DIMs as multiple DIMS requires complex n joins. Consolidate DIM tables to reduce number of joins. 5. Design LDO with filters to reduce the amount of data returned. This reduces the TEMP tablespace required to run the archiver query. 6. Use Calculated Fields in your query to reduce the number of columns required in the FACT DO. Keep only what s absolutely required as columns in the FACT table. This will help Active and CQL template queries to be more efficient as they do not need to bring additional columns into memory. 7. If you are using 11g Oracle DB, use Secure Files to improve performance a. Using Secure Files http://www.oracle.com/technetwork/database/availability/oraclefmw-soa- 11gr1-securefiles-1842740.pdf 8. Create indexes for key fields. You can use BAM DO tool to create index. See some references here a. Oracle Database Performance Tuning Guide http://www.oracle.com/technetwork/database/availability/oraclefmw-soa- 11gr1-securefiles-1842740.pdf 2 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

b. Oracle 9i Application Developer s Guide Fundamentals, Chapter 5 Releasing an Index Strategy https://docs.oracle.com/cd/b10500_01/appdev.920/a96590/adg06idx.htm c. Expert Indexing in Oracle Database 11g: Maximum Performance for your Database http://www.amazon.com/gp/product/143023735x/ref=s9_simh_se _p14_d0_i1?pf_rd_m=atvpdkikx0der&pf_rd_s=search-desktop- advertising-no-results-center- 1&pf_rd_r=0DY561RCQWH9ETC18ECB&pf_rd_t=301&pf_rd_p=1912 906182&pf_rd_i=oraclec 12c performance index Dashboard Design and Deployment 1. Ensure that a dashboard is designed for a specific user group. Do not try to create an all-purpose dashboard. 2. Create report which is management by exception. 3. Allow the user to understand the health of the operations at a glance; then provide drill-down. 4. Use the LDO filter and dashboard parameters to filter data before dashboard is loaded. 5. Limit a dashboard to 4-6 views or one view with multiple tabs. 6. Make effective use of Action Buttons to take actions. 7. Use summary/aggregation as much as possible and provide drill down to detail records from there to avoid a large number of detail records. 8. List views can have a performance. Listing hundred/thousands of records in a list view will impact performance. 9. Use OTN demos for design and best practices. 10. Choose active data interval and throttle carefully as it has memory implications. Query Design 1. For tactical (non-active), queries, examine the query string generated by the business query and run the DB AWR report to tune the index or change your query to improve performance. 2. For an active query, always specify a window size (range) because these will reduce amount of memory required. Also, use output window (sliding) judiciously to collapse results and so as to not overwhelm the dashboards. 3 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

3. Use the aggregation query and bind it to a chart. Then perform drill down to detail records. This organizes the data into smaller chunks and improves performance. 4. Test your query with your production data set to ensure that the performance is reasonable. 5. Familiarize yourself between the differences between scheduled query and realtime active query and use them as appropriate. Data Archiving and Purging 1. Keep only the necessary data in your Data Object. Any data that is relevant for operational monitoring and taking actions is a candidate for data object storage. 2. Do not keep older data for historical purposes in the same data object. 3. If you need the historical data to be available, transfer the data to another data object that is used for specific reporting. 4. Schedule the Data Retention at non-peak hours using alerts. You need to shut down all BAM Viewsets and Continuous Queries (using Admin Mode) during this task as they hold state in memory. 5. If it is a requirement to archive the data prior to purging, then use ODI with BAM 12c. 6. Use Alert to control filter based purging. Custom actions can also be provided to the Alert to perform more customized purging. 7. Use Database Partition capability to improve performance if purging and data injections are happening concurrently. Scalability and Performance 1. Oracle BAM 12c is designed for High Availability and Scalability. It is ACTIVE- ACTIVE. Scalability can be achieved via adding additional servers. Under the covers, BAM 12c uses ASM for fail over (for Unit of Order JMS with Automatic Migratable Target). More information can be found on the EDG Guide. 2. For input scalability, multiple EMS can be started on different servers to improve throughput. 3. Note: Customers should consider using batch to improve performance. 4. CQL queries are load balanced using project as a base. All queries for a given project would reside on the same server. When a server crashes, CQL queries will be moved onto a different server. 5. Number of CQL queries will be a factor for amount of heap required on the machine. 4 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

6. It is recommended that dedicated machines be used for Oracle BAM (separate BAM from DB machines, and others based on install size). If the solution includes BPEL/BPM, use separate machines for BPEL and its storage to avoid contention. 7. For HA solutions, make sure your servers are on the same subnet. 8. Ensure that the application context is the same for Oracle BAM Web Services if the WS interface is used for pushing data into BAM. 9. Tune DB accordingly including adding indexes, partition table by day, parallel execution and use DBIM (Database In-Memory). DBIM will accelerate access to the data because only the required columns (columnar storage) will be visited. In addition, for cases where filtering occurs but the filter is not very selective, DBIM is a little like having an index per column. For the queries that perform simple aggregations, DBIM can also accelerate aggregation. Real-Time Data Sources for Oracle BAM 1. Oracle BAM Adapter 2. Web Services 3. JMS 4. ODI 5. EJB Production Roll-Out Check List Configuration 1. Lock down production topology a. Configuration Check b. Check JMS and ASM configuration by following EDG 5 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Figure 1 Figure 2 6 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Figure 3 7 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Figure 4 2. Load balancer configuration 8 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Figure 5 3. EMS / Persistence configuration (# of threads). Too many threads my cause contention. Too few may reduce throughput. We recommend start with 20 and tune it based on the throughput. a. Security check - Enterprise Group / Application Roles are defined correctly. 9 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Figure 6 b. Server JVM parameters. This is required to monitor number of GC (see second doc). Here are two different settings. Use them as a reference. -Xms:12g -Xmx:12g -Xns:6g -Xss:512k -Xverbose:gc - XverboseTimeStamp -XverboseLog:/cielo/testcase/bam/logs/gc.log - Xgc:throughput -XX:+UseLargePagesForHeap The testing was conducted on a VM running on an ExaLogic compute node. The key specs are as follows: CPU and memories CPU : Brand: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, Vendor: GenuineIntel Number of Cores: 8 Physical Memory: 24G Small payload with high injection rate (1000+ events per second) -Xms4g -Xmx4g -XX:+UseParallelGC -XX:+UseParallelOldGC - X:+ParallelRefProcEnabled -XX:PermSize=1g -XX:MaxPermSize=1g - XX:NewSize=1g -XX:+UseLargePages -XX:+UnlockCommercialFeatures - XX:+FlightRecorder 10 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

The testing was conducted on a VM running on a compute node. The key specs are as follows: CPU and memories CPU: Brand: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, Number of Cores: 4 Physical Memory: 16G 4. Lock down dashboards a. Ensure it can display properly with production load (long numbers). b. Ensure it can display properly on different devices. Load Test 1. Use LM to simulate users coming on board. For example: a. Start 20 virtual users: 2 every 30 seconds b. Duration: 20 minutes c. Stop all vusers: 2 every 5 seconds d. Monitor via BAM Admin view set monitoring 2. Use EMS clients to pump data into system. a. Start multiple EMS Servers. Ensure EMS Server is deployed to different managed servers. 3. Monitor throughput. Use BAM Business Query by creating a time series on the x- axis based on Data Object creation date column 4. Monitoring Heap, Memory and CPU Usage. Use VisualVM. 5. Analyzing AWR Reports. SQL execution time (with DB contain production data) to see if additional index are required. Check for any locking, dead lock or etc. 6. Longevity Testing. Run System for 5 days with EMS: Continuous load, purging every day, users come and go. 7. HA Fail Over: Bring down one server, monitor performance, bring back server back up. Manually, migrate services back to server upon restart. 11 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES

Oracle Corporation, World Headquarters Worldwide Inquiries 500 Oracle Parkway Phone: +1.650.506.7000 Redwood Shores, CA 94065, USA Fax: +1.650.506.7200 CONNECT WITH US blogs.oracle.com/oracle facebook.com/oracle twitter.com/oracle oracle.com Copyright 2014, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 1215 1 ORACLE BUSINESS ACTIVITY MONITORING 12C BEST PRACTICES