Saturday 2 September 2017

SOA SUITE 12c Data Base Schema Dehydration Store States

Hi All,

As me, you might be stumbling to find out what, similar to List of all states from COMPOSITE_INSTANCE, CUBE_INSTANCE, DLV_MESSAGE  in 11g, the important tables would be for SOA Suite 12c and relevant states.

Basically this is described very well in the Oracle Support Document 2065869.1: 12c SOA composite <schema> States

For the benefit of every one, I have also copy pasted the content from the obove Oracle Note to here (copy right of the below details are with Oracle Support):

=======================================================================

Details

Based on 11g:
Tables COMPOSITE_INSTANCE and MEDIATOR_INSTANCE does not apply to 12c.
Tables CUBE_INSTANCE, DLV_MESSAGE and DLV_TYPE did not have any change.
The FLOW_INSTANCE is available only in 12c.

CUBE_INSTANCE States

StateDescription
0STATE_INITIATED
1STATE_OPEN_RUNNING
2STATE_OPEN_SUSPENDED
3STATE_OPEN_FAULTED
4STATE_CLOSED_PENDING_CANCEL
5STATE_CLOSED_COMPLETED
6STATE_CLOSED_FAULTED
7STATE_CLOSED_CANCELLED
8STATE_CLOSED_ABORTED
9STATE_CLOSED_STALE
10STATE_CLOSED_ROLLED_BACK


DLV_MESSAGE States

StateDescription
0STATE_UNRESOLVED
1STATE_RESOLVED
2STATE_HANDLED
3STATE_CANCELLED
4STATE_MAX_RECOVERED


DLV_TYPE States

StateDescription
1Invoke Message
2DLV Message
MEDIATOR States

Mediator state is now derived from SCA_ASYNC_CPNT_STATE table. The state column can take one of the following values:
StateDescription
1RUNNING
2COMPLETED
3FAULTED
4ABORTED
5STALE


FLOW_INSTANCE States
StateDescription
-1NOT_SET
1SUSPENDED
2TERMINATED
3STALE
  
The Flow State is derived from the Flow Instance table using the following columns:
  • Active_Component_Instances
  • Unhandled_Faults
  • Recoverable_Faults
  • Admin_State
Completed Flow
0 Active_Component_Instances

Completed Faulted Flow
0 Active_Component_Instances
1 or more Unhandled_Faults

Recoverable Flows
1 or more Active_Component_Instances
1 or more Recoverable_Faults

Completed Successfully
0 Active_Component_Instances
0 Unhandled_Faults
0 Recoverable_Faults
  
======================================================================

Further to the above Info, I also found a very useful blog that provides more knowledge / usage to the above table. 


Hope this was helpful to you.

No comments:

Post a Comment