PaaS Community Blog

by Jürgen Kress

  • Home
  • BPM Blogs
  • BPM Books
  • C4P
  • SOA Blogs
  • SOA Books
  • Wiki’s
  • Imprint
Posts Comments
  • SOA
  • Cloud
  • Community
  • BPM
  • Partner Network
  • Oracle
  • Architecture
  • Uncategorized

Of ECIDs and Histograms; Oracle SOA Suite Metadata Repository Performance Management by Paul Wever

November 9, 2015 Leave a comment

 

clip_image002In my job as system administrator/DBA, projects related to Oracle’s SOA Suite I put a lot of emphasis on configuration of the environment, like the OS, the Oracle database, WebLogic, OSB, and other products. Part of the Oracle SOA Suite is the Oracle Metadata Repository, where all metadata and run-time data of applications is stored. This repository is often forgotten in performance management , but deserves special attention when dealing with performance improvements.
This blog is part of a series of blogs around Oracle SOA Suite Metadata Repository Performance Management. In this blog we will show how a performance gain of factor 15 was achieved while querying the Metadata Repository.
Terminology
Oracle Metadata Repository
Oracle Metadata Repository is an Oracle database that contains additional schemas to support Oracle Fusion Middleware and its components, for design and run-time management of the applications. Oracle SOA Suite mainly uses two components:

  • The Metadata Store (MDS) to store all SCA artifacts
  • The Dehydration Store (SOAINFRA) to persist composite instances and to audit composite instances

ECIDs
ECID, or Execution Context ID, is a unique identifier to correlate events or requests associated with the same transaction across several components. As a message is passed from composite to composite, the ECID is passed within each message. In other words, ECIDs are used to track a message flow that crosses instances of different composite applications.
Histograms & buckets
Histograms are a special type of column statistics that provide more detailed information about the data distribution in a table column. Histograms help the Oracle Optimizer in deciding whether to use an index or a fulltable scan. These are most useful for a column that is included in a WHERE clause and the data distribution is skewed. A histogram sorts values into buckets to help estimate the cardinality. Oracle uses a maximum of 254 buckets.
Case
Investigating performance issues around purging the Oracle Metadata Repository, I stumbled over the following simple query that was executed by the SOA Suite while running an application:
SELECT ID, CONVERSATION_ID, …
  FROM COMPOSITE_INSTANCE
WHERE (ECID = :1)
ORDER BY CREATED_TIME DESC;

This is a simple query with a simple WHERE clause returning 22 records. Nothing special. And as an index on column ECID with lots of distinct values exists, I expected the Oracle Optimizer to execute the query using an Index Range Scan.
To my surprise the Oracle Optimizer chose to use a Full Table Scan (see Explain Plan 1 below). The query took 2.79 seconds. Read the whole article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: Paul Wever,SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress,SOA Suite Metadata Repoisitory

Filed under SOA Tagged with Jürgen Kress, OPN, Oracle BPM, Oracle SOA, Paul Wever, soa community, SOA Suite Metadata Repoisitory

Subscribe to our newsletters

Receive regular updates from the Oracle Product Management Team:

Partner Community newsletter

Customer Updates newsletter

SOA Community @ Twitter

Tweets by soacommunity

Blogs from the Community


Wiki's SOA Community
Oracle Integration Team
Antony Reynolds
Niall Commiskey

linkedin_160x25.gif

ACM adaptive case management Amis Antonis Antoniou API AppAdvantage architecture b2b books bpm BPM Community BPM Suite BPM Suite 12c cloud cloud integration community community webcast Danilo Schmiedel Demo education enablement free training ICS Industrial SOA Integration Cloud Service Internet of Things IoT Jürgen Kress Link Consulting Lucas Jellema Luis Weir Maarten Smeets marketing Middleware Update mobile newsletter Niall Commiskey OFM Forum OFM Summer camps OOW OPN oracle Oracle BPM Oracle Service Bus Oracle SOA OSB otn PaaS PaaS for SaaS Partner Update PCS Process Cloud Service SaaS sales sales kit Service bus soa soa community soa community newsletter SOA Community twitter SOA Governance SOA Suite SOA Suite 12.2.1 SOA Suite 12c Specialization stream explorer Thomas Erl training Twitter UX Waslley Souza webcast WebLogic WebLogic Community YouTube

Facebook PaaS Community

Facebook PaaS Community

Top Posts & Pages

  • Resiliency: Circuit Breaker
  • Product Update Webcast Oracle Integration - December 18th 2025
  • Oracle SOA Suite 12.2.1.4.0 QuickStart Download

Blog RSS feed

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 10.8K other subscribers

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Impressum

SOA Community RSS feed

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 10.8K other subscribers

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • PaaS Community Blog
    • Join 514 other subscribers
    • Already have a WordPress.com account? Log in now.
    • PaaS Community Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar