Introducing Oracle Queuing/Messaging Technology. Anthony D. Noriega MSCS, MBA, BSSE, OCP-DBA

Similar documents
Oracle Streams. An Oracle White Paper October 2002

Oracle Streams. Michal Hanzeli DBI013

MOM MESSAGE ORIENTED MIDDLEWARE OVERVIEW OF MESSAGE ORIENTED MIDDLEWARE TECHNOLOGIES AND CONCEPTS. MOM Message Oriented Middleware

Introduction in Eventing in SOA Suite 11g

MRG - AMQP trading system in a rack. Carl Trieloff Senior Consulting Software Engineer/ Director MRG Red Hat, Inc.

WebSphere 4.0 General Introduction

DS 2009: middleware. David Evans

Oracle Database 12c: JMS Sharded Queues

<Insert Picture Here> Enterprise Data Management using Grid Technology

9. Queued Transaction Processing

Oracle 10g and IPv6 IPv6 Summit 11 December 2003

Extending Your Mainframe for More Business Value

Oracle Streams: Step by Step

Distributed Systems. Messaging and JMS Distributed Systems 1. Master of Information System Management

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

Ibm Websphere Application Server V6 1 Security Handbook

Oracle: From Client Server to the Grid and beyond

Application Connectivity Strategies

Tackling Application Integration Nightmares with WSO2 ESB. Hiranya Jayathilaka

Oracle Streams Advanced Queuing User's Guide And Reference 10g Release 2

IBM Software Group. WebSphere Business Integration IBM, IBM EE/A. WebSphere Business Integration

Business Intelligence Forecasting and Modeling with Oracle10 g SQL. Anthony D. Noriega MSCS, MBA, BSSE, OCP-DBA

Examples Installation Guide

ORACLE TUXEDO. Distributed Transaction Processing Features and Benefits Distributed transaction management server ORACLE DATA SHEET

Sample Database Table Schemas 11g Release 2 Pdf

<Insert Picture Here> WebLogic JMS Messaging Infrastructure WebLogic Server 11gR1 Labs

Introduction to Messaging using JMS

Overview. Communication types and role of Middleware Remote Procedure Call (RPC) Message Oriented Communication Multicasting 2/36

BEAAquaLogic. Service Bus. Native MQ Transport User Guide

Connect Applications and Services Together with the Enterprise Service Bus

Configuring the module for advanced queue integration

Overview SENTINET 3.1

Which application/messaging protocol is right for me?

<Insert Picture Here> Value of TimesTen Oracle TimesTen Product Overview

MTAT Enterprise System Integration. Lecture 2: Middleware & Web Services

BEAAquaLogic. Service Bus. MQ Transport User Guide

TESTING ORACLE QA Strategies for Success. Anthony D. Noriega MSCS, MBA, BSSE, OCP-DBA

describe the functions of Windows Communication Foundation describe the features of the Windows Workflow Foundation solution

Building E-Business Suite Interfaces using BPEL. Asif Hussain Innowave Technology

TRN5515 Industrial-strength Microservice Architecture with Next-Generation Oracle Database

Integrating Legacy Assets Using J2EE Web Services

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Advanced Distributed Systems

Oracle Application Server 10g Integration Interconnect. An Oracle Technical White Paper January 2005

2-4 April 2019 Taets Art and Event Park, Amsterdam CLICK TO KNOW MORE

IBM Software Group. IBM WebSphere MQ V7.0. Introduction and Technical Overview. An IBM Proof of Technology IBM Corporation

Oracle 9i Streams. Inderpal S. Johal Principal Consultant Data Softech, Inc. July 24, 2003

: ESB Implementation Profile

Implementing a Ground Service- Oriented Architecture (SOA) March 28, 2006

Rakenduste integreerimine Enn Õunapuu.

High Performance Infrastructure Foundation for Electronic Commerce

Presented By Chad Dimatulac Principal Database Architect United Airlines October 24, 2011

IBM Lotus Expeditor 6.2 Server MQ Everyplace Overview

Oracle8i Advanced Queuing. An Oracle Technical White Paper February 1999

Chapter 2 Distributed Computing Infrastructure

Oracle CDC 调研报告 林子雨 北京大学计算机系数据库实验室 2006 年 11 月 10 日

Oracle Database 12c: Administration Workshop Duration: 5 Days Method: Instructor-Led

IBM Tivoli Netcool Service Quality Manager V4.1.1

Survey of Oracle Database

The LCG 3D Project. Maria Girone, CERN. The 23rd Open Grid Forum - OGF23 4th June 2008, Barcelona. CERN IT Department CH-1211 Genève 23 Switzerland

Nirvana A Technical Introduction

Oracle GoldenGate 11g Release 2(11gR2) Overview

Introduction and Technical Overview

Oracle FLEXCUBE Universal Banking 12.0 Interface Getting started. Release 1.0

Kepware Whitepaper. IIoT Protocols to Watch. Aron Semle, R&D Lead. Introduction

OPC Unified Architecture

Oracle Architectural Components

Smarter Business Agility with WebSphere DataPower Appliances Introduction

HP Instant Support Enterprise Edition (ISEE) Security overview

Solace JMS Broker Delivers Highest Throughput for Persistent and Non-Persistent Delivery

Availability Digest. Attunity Integration Suite December 2010

Bindings Performance Analysis across Programming Languages in a Messaging Platform

Connecting ESRI to Anything: EAI Solutions

ebusiness Suite goes SOA

GemStone Systems. GemStone. GemStone/J 4.0

CHAPTER 2. Introduction to Middleware Technologies

Oracle Database E

ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE WEBLOGIC SUITE

Finding Support Information for Platforms and Cisco IOS Software Images

Indirect Communication

(9A05803) WEB SERVICES (ELECTIVE - III)

Web Design and Applications

Today CSCI Remote Method Invocation (RMI) Distributed Objects

Database Server. 2. Allow client request to the database server (using SQL requests) over the network.

Chapter 4 Communication

DISTRIBUTED COMPUTER SYSTEMS

ORACLE MESSAGEQ ORACLE DATA SHEET KEY FEATURES AND BENEFITS

Agenda. What is Managed File Transfer? The shortcomings of traditional file transfer solutions. Introducing WebSphere MQ File Transfer Edition

DRAFT. University of Colorado Advanced Technology Series. Bob Marcus

Creating an Oracle Database Using DBCA. Copyright 2009, Oracle. All rights reserved.

WebSphere MQ Update. Paul Dennis WMQ Development 2007 IBM Corporation

Overview. Distributed Systems. Distributed Software Architecture Using Middleware. Components of a system are not always held on the same host

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Tuxedo in a SOA World An Oracle White Paper March Tuxedo

WebLogic JMS System Best Practices Daniel Joray Trivadis AG Bern

Distributed Middleware. Distributed Objects

Red Hat Summit 2009 Jonathan Robie

Introduction to Protocols for Realtime Data Sharing. Deepti Nagarkar

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

Vortex Whitepaper. Simplifying Real-time Information Integration in Industrial Internet of Things (IIoT) Control Systems

Transcription:

Introducing Oracle Queuing/Messaging Technology Anthony D. Noriega MSCS, MBA, BSSE, OCP-DBA

Objectives Emphasize technical concepts and Oracle queuing infrastructure technology. Highlight programming techniques, methodologies, and relevant architectures. Discuss the relevant of queuing business models in various industries, with emphasis on industry and business requirements. 2

Objectives Emphasize the reliability of inter process communication imposed by AQ technology. Position Oracle as the de facto leader in the integrated database/advanced message queuing market. 3

Technical Concepts Queue (FIFO data structure) Message Queuing Header Payload Channel Port Propagation 4

Technical Concepts Producer (enqueuing) Consumer (dequeuing) Recipient Enqueue Dequeue 5

Technical Concepts Peer-to to-peer Mode Publish/Subscribe Mode Broadcasting Multicasting Streams AQ Model View Controller (Message-Driven Beans) 6

Business Models Concepts Message Queuing Data Replication (Logical( Change Record) Data Protection Data Warehouse Loading Event Management and Notification Workflow Serializable Distributed Processing 7

Business Concepts Information Integration Automation and Business Event Management Message Queuing in SCM, ERP, CRM Data Protection and Information Hiding 8

Queuing Infrastructure 9

Types of Oracle Queues Based on Producer/Consumer Cardinality Peer-to to-peer (P2P) Mode Publish/Subscribe Mode Based on Persistency Persistent Non-Persistent 10

Types of Oracle Queues Based on Enqueue/Dequeue Capabilities Normal Exception 11

Types of Oracle Queues Based on Payload Data Type ANYDATA RAW LOB XML On Based Transaction Type Transactional Non-Transactional 12

Oracle Streams AQ An application can enqueue messages that represent events into a queue explicitly, or a Streams capture process can capture database events and encapsulate them into messages called LCRs. These captured messages can be the results of DML or DDL changes. Propagations can propagate messages in a stream through multiple queues. Finally, a user application can dequeue messages explicitly, or a Streams apply process can dequeue messages implicitly. An apply process can reenqueue these messages explicitly into the same queue or a different queue if necessary. 13 Oracle Streams Concepts and Administration 10g Release 2 (10.2), Part Number B14229-02

AQ Downstream Model Capture Propagation Staging and Propagation Enqueue Consumption Dequeue 14

Streams AQ Capabilities 15

Architectural Considerations Oracle integration server Agent Queue table Queuing processes Listener configuration Database links Message-Oriented Middleware (MOM) 16

Architectural Considerations Server Process 1 PGA Server Process 2 PGA Background Processes PGA Java Pool Default 2k 4k 16k recycle keep Redo Buffer Shared Pool Streams Pool Large Pool Server Process 3 PGA Oracle Process PGA 17

Security Framework Rule-based Security Object Level Schema Global Virtual Private Support 18

Security Framework Enhancements: Database Volt LDAP Support XA Support Encryption Support via asymmetric authentication (PKI) 19

Planning the AQ Environment Oracle-based only or third-party, e.g., gateway-based or heterogeneous system involvement Transactional or non-transactional queue Peer-to to-peer or Publish-Subscribe Mode (Broadcasting or Multicasting, i.e., custom recipient) 20

Planning the AQ Environment Propagation-type type (queue-to to-queue or queue-to to-database link) Payload format Sending Mechanism (Producer Application) Receiving Mechanism (Consumer Application) 21

Planning the AQ Environment Model View Controller Data Source, domain, data model Presentation Controller/Mediator Payload content management for intelligent rule-based filtering or routing 22

Planning the AQ Environment Queue browsing without consumption Queue consumption and removal Queue consumption without payload removal for auditing, non-repudiation, or logging. 23

System Requirements Configuring: PATH, LD_LIBRARY_PATH or equivalent platform parameters, as needed Streams pool instance and/or aq_tm_processes (9i only) > 0. 24

System Requirements Configuring: Extproc listener Messaging Gateway, if applicable, involves gateway software installation and packages, including messaging home. 25

System Requirements Configuring: Create AQ user and administrator with appropriate privileges, namely, AQ_USER_ROLE and AQ_ADMINISTRATOR_ROLE Database links accordingly Heterogeneous Services, if applicable (involved package and instance configuration) 26

Software Requirements Certified OS Platform Oracle Streams AQ Oracle Streams AQ Gateway Procedural Gateway (Websphere MQ/Tibco) Transparent Gateway (SQL Server) Heterogeneous Services Gateway Configure Gateway homes with API provided 27

Initialization Parameters Oracle9i Aq_tm_processes=n, 1<= n <=10 Qmnc, master process Qxxx, spawned slave processes =0, then no queue monitoring 28

Initialization Parameters Oracle10g Streams_pool_size, configured with dynamic memory management. Recommended default setting about 10% of shared_pool_size parameter. 29

Installation and Configuration Information Integration Components 30

Data Dictionary Views 31

Heterogeneous Productivity 32

PL/SQL Supplied Packages 33

Java Supplied Packages 34

Enqueuing Concepts e 35

Monitoring Staging s Message delay Message expiration Retry delay Garbage collection for the queue table Retention and Message History Cleaning Up Message Queues Tracking and Event Journals Non-repudiation Queue Forwarding 36

Programming AQ 1 37

Programming AQ 2 38

Programming AQ 3 39

Programming AQ 4 40

Using AQ 41

Using AQ with MQ 42

Using AQ with MQ 43

Using AQ with MQ 44

Using AQ with MQ 45

Using AQ with MQ 46

Using AQ with MQ 47

Using Database and Grid Control 48

Using Database and Grid Control 49

Using Database and Grid Control 50

Using Database and Grid Control 51

Advanced Strategies OCI- and Precompiler-based Custom Implementation RAC-Support (best strategy for the large enterprise) Message Priority 52

Advanced Strategies 53 Message-Driven Beans and XA Support Synchronous distributed transactions Two-phase commit (2PC) implementation JMS-based custom implementation with Connection and Context Factory Protocol support (LDAP,( and SMTP, SNMP APIs)

Advanced Strategies Buffered messaging,, a new feature in Oracle Streams AQ 10g Release 2 (10.2), combines the rich functionality that this product has always offered with a much faster queuing implementation. Buffered messaging is ideal for applications that do not require the reliability and transaction support of Oracle Streams AQ persistent messaging. 54

Advanced Strategies Buffered messaging is faster than persistent messaging, because its messages reside in shared memory. They are usually written to disk only when the total memory consumption of buffered messages approaches the available shared memory limit. 55

Advanced Strategies 56

Managing Encryption Asymmetric authentication via PKI The producer application encrypts the message payload prior to enqueuing. The consumer application knows the key and decrypts the message. 57

Managing Encryption The approach is also valid for intermediate or repeating queues under the SOA infrastructure, in conjunction with service requestor and receiver, accordingly. Encryption can be congruent with payload transformation. 58

Industries of Application Financial Sector Banking Trading E-Business (SCM, e.g., B2B transactions) E-Business (CRM, e.g., Order Entry) Direct Marketing 59

Related Technologies SOA Web Services Security and Transaction Oracle Streams Oracle Advanced Replication RPC 60

Related Technologies 61 AMQP (competitor). In the news: LONDON LONDON - June 20, 2006 - JPMorgan Chase & Co., Cisco Systems, Envoy Technologies, Inc., imatix Corporation, IONA Technologies, Red Hat, Inc., TWIST Process Innovations, and 29West, today announced the formation of the AMQP (Advanced Message Queuing Protocol) Working Group and an effort by its members to create a new specification for defining and developing messaging infrastructure that is technology agnostic, standards- based, open and interoperable. The AMQP is a binary level protocol that is divided into two layers and designed with a flexible, plug-in architecture. Both the functional layer and the transport layer can be easily evolved to enable AMQP to respond to changing technology requirements.

Strategic Group Partners Products working with Oracle Procedural Gateways IBM Websphere MQ (formerly MQ Series) Microsoft MSMQ Tibco Rendez-Vous 62

Available Literature 63

Envisioning AQ Future Who Where When Extent How How much 64

Concluding Remarks Future of information integration Importance of protocol standards Information Privacy Vendor interoperability Business Operational effectivenes. 65

Demonstration 66

Discussion AQ Q/A 67