PJR_AVAILABILITY_CACHE

This object contains the exploded date rows from the PJR_ASSIGNMENT. It is used as a mechanism for optimizing the availability calculations in the match engine.

Details

  • Schema: FUSION

  • Object owner: PJR

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

PJR_AVAILABILITY_CACHE_PK

AVAILABILTY_CACHE_ID

Columns

Name Datatype Length Precision Not-null Comments
ENTERPRISE_ID NUMBER 18 Yes Enterprise identifier that uniquely identifies a tenant in a multi-tenant environment.
AVAILABILTY_CACHE_ID NUMBER Yes The unique id for this entry in the cache. Generally speaking this is the definition of one day for specified duration for a resource.
RESOURCE_ID NUMBER The unique id of the resource associated with this entry.
ENTRY_DAY DATE This is the date for the entry.
ENTRY_DURATION NUMBER This is a duration number for the date of this entry. Values are 0-1. Where 1 is all day for the resource. For accuracy you should really use ENTRY_DURATION_HRS.
ENTRY_DURATION_HRS NUMBER Total number of hours a resource is assigned to billable and nonbillable assignments on the date of entry.
ENTRY_DURATION_HRS_BILLABLE NUMBER Total number of hours a resource is assigned to billable assignments on the date of entry.
DAY_OF_WEEK NUMBER Integer representing the day of the week. 1=Mon, 2=Tues, 3=Wed, 4=Thurs, 5=Fri.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.

Indexes

Index Uniqueness Tablespace Columns
PJR_AVAILABILITY_CACHE_N1 Non Unique Default ENTRY_DAY, RESOURCE_ID
PJR_AVAILABILITY_CACHE_N2 Non Unique Default RESOURCE_ID, ENTRY_DAY, DAY_OF_WEEK
PJR_AVAILABILITY_CACHE_U1 Unique FUSION_TS_TX_IDX AVAILABILTY_CACHE_ID