OO 10 Database Overview and Maintenance

Similar documents
Operations Orchestration. Software Version: Windows and Linux Operating Systems. Database Guide

HP Operations Orchestration

HP Operations Orchestration

MySQL for Database Administrators Ed 3.1

Operations Orchestration 10.x Flow Authoring (OO220)

Running MySQL on AWS. Michael Coburn Wednesday, April 15th, 2015

MySQL for Database Administrators Ed 4

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

TRIM Integration with Data Protector

CO MySQL for Database Administrators

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

Virtualizing Oracle on VMware

Solution Pack. Managed Services Virtual Private Cloud Managed Database Service Selections and Prerequisites

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

HP Operations Orchestration

Designing Database Solutions for Microsoft SQL Server (465)

HP Operations Orchestration

Eliminating Downtime When Migrating or Upgrading to Oracle 10g

Database Configuration

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

Oracle 1Z0-417 Exam Questions and Answers (PDF) Oracle 1Z0-417 Exam Questions 1Z0-417 BrainDumps

Using Automated Network Management at Fiserv. June 2012

External Database Requirements

Manual Trigger Sql Server 2008 Examples Update

HP Helion Codar. Software Version: 1.00 Windows and Linux operating systems. Installation and Configuration Guide

External Database Requirements

NonStop SQL/MX DBS. Concepts and Architecture. Frans Jongma, NonStop Advanced Technology Center

Course 40045A: Microsoft SQL Server for Oracle DBAs

SAP HANA ADMINISTRATION

DR 3.3 Planning Guide

CIT 668: System Architecture. Amazon Web Services

Non-Production Databases. Oracle Recovery Manager. Presented By: Jeff Branan - Database Architect

Traverse Intelligent Tracking by PCS. Installation Guide for Traverse.

Enterprise Manager: Scalable Oracle Management

Operations Orchestration. Software Version: Windows and Linux Operating Systems. Central User Guide

Standardize Microsoft SQL Server Cluster Provisioning Using HP DMA

SQL Server Installation and Configuration Guide. Abstract

An Insider s Guide to Oracle Autonomous Transaction Processing

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

MS SQL Server 2012 DBA Course Contents

Sql 2008 Copy Table Structure And Database To

Sql 2008 Copy Tables Structure And Database To Another

Oracle 1Z0-053 Exam Questions & Answers

Oracle Database Auditing

PostgreSQL Introduction for Oracle DBAs

Rapid database cloning using SMU and ZFS Storage Appliance How Exalogic tooling can help

Benchmarking Database Cloud Services

HP Database and Middleware Automation

Manually Backup Sql Server Express Databases 2008 R2 Sample

HPE IMC Windows Migration Guide

Introduction Chapter 1. General Information Chapter 2. Servers Used... 9

Hewlett Packard Enterprise HPE GEN10 PERSISTENT MEMORY PERFORMANCE THROUGH PERSISTENCE

Agilent OpenLAB Data Store. Maintenance Guide

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g Security Essentials. Version: Demo

Big Data Greenplum DBA Online Training

OMi Management Pack for Microsoft SQL Server. Software Version: For the Operations Manager i for Linux and Windows operating systems.

PostgreSQL in Mission-Critical Financial Systems May 20th 2010

<Insert Picture Here> Introducing Oracle WebLogic Server on Oracle Database Appliance

NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory

Storage Monitoring Made Easy for DBAs: Diagnosing Performance Problems. Senior Product Manager Consulting Member of Technical Staff

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs

PPC s SMART Practice Aids Prepare for Installing database upgrade to SQL Express 2008 R2

Getting Started with Tableau Server

External Database Installation and Setup

Microsoft Developing SQL Databases. Download Full version :

Guidelines for using Internet Information Server with HP StorageWorks Storage Mirroring

Oracle Autonomous Database

Oracle Database 12c: Administration Workshop Ed 2

HP LoadRunner and Performance Center What is new?

Oracle Database 12c: Administration Workshop Ed 2

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

HPE Project and Portfolio Management Center

Oracle Alter Table Add Primary Key Using Index

MySQL for Developers Ed 3

Installation manual SQL Server

Virtualization And High Availability. Howard Chow Microsoft MVP

Agilent OpenLAB ECM Intelligent Reporter

Oracle Database 12c: JMS Sharded Queues

Manual Trigger Sql Server 2008 Insert Update Delete Select

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

KillTest. 半年免费更新服务

SAP HANA Inspirience Day Workshop SAP HANA Infra. René Witteveen Master ASE Converged Infrastructure, HP

Steps To Create Database Manually In Oracle 10g In Windows

RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering

HP Intelligent Management Center SOM Administrator Guide

Create A Private Database Link In Another Schema In Oracle 11g Drop >>>CLICK HERE<<<

BEST PRACTICES GUIDE. Tips and guidelines to get the most out of RecoveryManager Plus.

Storage Area Network (SAN) Training Presentation. July 2007 IBM PC CLUB Jose Medeiros Storage Systems Engineer MCP+I, MCSE, NT4 MCT

IBM Tivoli Storage Manager for Windows Version Installation Guide IBM

Arhitektura Oracle in SQL Server podatkovnih zbirk iz vidika restavriranja podatkov

Introduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33

Data Integration and ETL with Oracle Warehouse Builder

Oracle Identity Manager 11gR2-PS2 Hands-on Workshop Tech Deep Dive DB Schema, Backup & Restore, Bulkload, Reports, Archival & Purge

Hardware & System Requirements

vcdm System Requirements Version 6.6 English

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

Manual Sql Server 2012 Express With Advanced Services Agent

ORACLE DBA TRAINING IN BANGALORE

Alter Change Default Schema Oracle Sql Developer

G a l e r a C l u s t e r Schema Upgrades

Transcription:

OO 10 Database Overview and Maintenance Harar Zafrir, OO DBA June 2015 Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Agenda

OO 10 database

OO 10 database main characteristics OO 10 has a database-centric design OO uses the database as the system queue, and as a reliable coordinator of distributed actions. OO s cluster nodes are all connected to the same database. Database design is derived from code OO uses Hibernate ORM. Table structure is derived from code objects. Simple, standard, cross-database design Database design is kept simple in order to maintain compatibility with multiple database types and across database releases.

RAS central #1 central #2 central N hibernate hibernate Database

Differences between OO 9 and 10 A completely new database design 115 tables in 10.x vs. 28 tables in 9.x Support for PostgreSQL was added Flow execution data is saved in the database without truncation Content packs are stored in the database

Supported Databases Oracle 11g and 12c ojdbc7 is used as database connector Oracle RAC is supported 12c is supported only in non-cdb/pdb form MS-SQL 2008R2 and 2012 JTDS is used as database connector Always On is supported as legacy client (multi-subnet failover is not supported) MySQL 5.5-5.6 MySQL connector is used (not provided in HP OO s installation) PostgreSQL 9.1 9.3

Key tables in OO 10 Table Name Purpose Comments OO_AUDIT OO_CONTENT_X OO_DEBUGGER_EVENTS OO_DEPLOYED_ENTITIES_X OO_EXECUTION_BOUND_INPUTS OO_EXECUTION_BOUND_OUTPUTS OO_EXECUTION_QUEUES_1 OO_EXECUTION_SUMMARY Keep audit trail Content pack information Studio remote debugging sessions data Deployed flows and actions information Flow level inputs Flow level inputs Queue Executed/executing flow timestamps and main result OO_STEP_LOG_BINDINGS Step-level inputs and outputs Biggest table size and # of rows OO_STEP_LOG_ENDED OO_STEP_LOG_STARTED OO_SYSINFO Ended steps information Started steps information OO release information OO_USERS Internally-configured users Configuration table example

Database Structure Comparison Table Name Purpose Somewhat similar in 10.x run Queue, running flows OO_EXECUTION_STATES_N, OO_EXECUTION_QUEUES_1 run_history Flow timestamps and main result OO_EXECUTION_SUMMARY runstep_history Step level main result OO_STEP_LOG_X property_history Step level inputs OO_EXECUTION_BOUND_INPUTS, OO_EXECUTION_BOUND_OUTPUTS log_record Step level outputs OO_STEP_LOG_X flow_metrics Flow result counters

Data retention HP OO 10 keeps more data compared to 9, including large flow and step outputs. The data tail (oldest) is not automatically trimmed. Purging old data is important in order to keep database size under control.

Key Installation Guidelines

Installing OO 10 Database Guide Use it! This document contains vital information: Supported platforms/releases Database sizing and Database server resources Detailed installation instructions Maintenance and data purging guidelines

Installing OO 10 (cont.) Provide database admin privileges The resulting database and user / login role are fully compatible with OO s requirements. Admin credentials are not used beyond the installation phase. Pay attention to mandatory requirements There are several mandatory settings per database, on the database level and on the server level.

Per-database key installation guidelines MSSQL database level settings Transaction isolation level is crucial. The following must be set ( ON ): ALLOW_SNAPSHOT_ISOLATION READ_COMMITTED_SNAPSHOT Use one of the supported collations: SQL_Latin1_General_CP1_CS_AS Japanese_Unicode_CS_AS Chinese_Simplified_Stroke_Order_100_CS_AS French_100_CS_AS

Per-database key installation guidelines (cont.) MySQL server level settings Use InnoDB engine READ-COMMITTED isolation level max_allowed_packet >= 250M PostgreSQL server level settings 'read committed' isolation level autovacuum daemon must be activated

Database Maintenance

HP OO Database Maintenance Best practices for proper maintenance of HP OO s database: Create a backup plan Regularly perform index and statistics maintenance Index & Statistics Maintenance procedures are available for MSSQL and Oracle Purge unused / irrelevant data Monitor database size and performance

Database Size and Purging

HP OO Database Size As all flow-level and step-level inputs and outputs are kept in the database, OO s database size increases in accordance with the system throughput, flow complexity, and the amount of data provided to / resulting from the flows and steps. We recommend to have at least 50GB of space allocated for small systems. Enterprise-grade systems are recommended to allocate up to 2TB of database space. Data purging must be used in order to keep the database size below the environment s limit.

Purging old data There are two main tools for regularly purging data from the database: Purge Flows: Flow execution data Audit events Studio debugging session data Purge Stored Procedures: Flow execution data

General guidelines for Purge Operations Purge data regularly preferably on a daily basis It is better in all respects to purge the data tail in small chunks If possible, schedule purge operations to periods of time in which OO and the database are least active. Use nightly purge for example. Monitor the first purge flow runs and tune for best performance Two most important parameters in any purge operation: Retention period Batch size

Batch #4 Batch #3 Batch #2 Amount of Data Purged data Old lastxdays Retention Period New Now

Purge Flows ( HP Solutions content pack) Purge Execution Summary Has the biggest impact on database size. Purges flow and step execution data. Purge Debugger events Should be used only in case Studio debugging sessions are commonly used. Purge Audit Records Should have long-enough retention period. Often defined by business restrictions.

Purge Stored Procedures Purge stored procedures are provided in HPLN per-database. Installing and scheduling these procedures usually requires DBA s approval and assistance. Purge stored procedures have one main advantage compared to the purge flows, the ability to delete bigger chunks of data at once. Use stored procedures in case you have a high-performance database, and a lot of data to purge every day.

Data DB Purge Purge High Water Mark Disk Free Used 28 Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Database size behavior Database Filesystem Footprint Following Purge Free space Reclaim MSSQL High Water Mark Free space increases Not recommended Oracle Tablespace Free space increases MySQL Delayed Size on disk decreases (delayed) PostgreSQL Delayed (vacuum) Size on disk decreases (vacuum, delayed) vacuum full

Purge Demo

Q&A

Thank you!