business intelligence data warehouse guide · business intelligence data warehouse guide iii table...
TRANSCRIPT
Business Intelligence Data Warehouse Guide
Product version: 11.2
Release date: 10-22-15
Document identifier: AciDataWarehouseGuide1603081515
Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy,
reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any
means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please
report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government,
the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the
hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable
Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and
adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or
documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended
for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or
hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures
to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in
dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are
trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or
registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties.
Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party
content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and
its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or
services, except as set forth in an applicable agreement between you and Oracle.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/
topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support: Oracle customers that have purchased support have access to electronic support through My Oracle Support. For
information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
Business Intelligence Data Warehouse Guide iii
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Data Model for Oracle Business Intelligence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Key to Column Data Type Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Common Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Time Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
ARF_CAL_MOY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
ARF_CAL_DOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
ARF_CAL_QOY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ARF_TIME_YEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ARF_TIME_QTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ARF_TIME_MONTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ARF_TIME_WEEK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ARF_TIME_DAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ARF_TIME_HOUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ARF_TIME_TOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
ARF_TIME_INTERVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Time Loaders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Time Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Time Dimension Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Internal User Directory Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
ARF_IU_USER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
ARF_IU_ORG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
ARF_IU_DIR_LVL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Internal User Loaders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Internal User Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Internal User Dimension Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
External User Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
ARF_USER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
ARF_ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
ARF_USER_AGENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Demographic Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
ARF_GENDER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
ARF_AGE_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ARF_LANGUAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ARF_MARITAL_STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
ARF_GEO_COUNTRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
ARF_GEO_REGION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
ARF_DEMOGRAPHIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Segment Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
ARF_SEGMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
ARF_SEGCLSTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
ARF_SEGCLTR_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Stimulus Group Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
ARF_STIMULUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
ARF_STIMGRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
ARF_STIMGRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Site Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
ARF_SITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Unregistered Sites in Oracle Commerce Business Intelligence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Site Visit Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Site Visit Durations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
iv Business Intelligence Data Warehouse Guide
DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
TOTAL_ELAPSED_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
SITE_VISIT_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
RESOURCE_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Currency Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Referrer Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Registration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Platform ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3. Core Commerce Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
ARF_CURRENCY_CONV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
ARF_CATEGORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ARF_COUPON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
ARF_PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
ARF_SKU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
ARF_PROMOTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
ARF_PROMOTION_USAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
ARF_PROMOGRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
ARF_PROMOGRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
ARF_SALES_CHANNEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
ARF_LINE_ITEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
ARF_RET_REASON_DISPOSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
ARF_RETURN_ITEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Commerce ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4. Commerce Service Center Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
ARF_CALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Commerce Service Center ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
5. Aggregated Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Aggregated Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
ARF_SITE_VISIT_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
ARF_SITE_VISIT_MV_HOUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
ARF_SITE_VISIT_MV_VISITOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
ARF_REGISTRATION_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
ARF_LINE_ITEM_MV_PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
ARF_LINE_ITEM_MV_SUPPL_ORDERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
ARF_LINE_ITEM_MV_UNIQUE_ORDERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
ARF_PROMOTION_USAGE_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
ARF_CALL_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Refreshing Aggregated Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Refreshing Individual Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
1 Introduction 1
1 Introduction
This book provides information about the data warehouse component of Oracle Commerce Business
Intelligence and the information that it contains. Use it to understand the data when developing reports and
maintaining the data warehouse database.
The data warehouse is a relational data base optimized for reporting and analysis. It contains information
about the activity on your Oracle Commerce Platform products and Web sites. A data loader server extracts
information about product activity and stores it in the data warehouse.
Oracle ATG Web Commerce Business Intelligence includes a data model, analyses, and dashboards that run
in the Oracle Business Intelligence reporting tool. These analyses are based on the data gathered in the data
warehouse.
• See information about configuring the data model and report definitions in Oracle Business Intelligence in the
Business Intelligence Installation and Configuration Guide.
• See information about the Oracle Business Intelligence analyses and dashboards provided with Oracle ATG
Web Commerce in the Reports Guide.
• See complete information about installing and using Oracle Business Intelligence in the documentation for
that product (http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/documentation/bi-
ee-087853.html).
The chapters of this book contain references to file paths in the installation directory of your Oracle ATG Web
Commerce software. This installation directory is identified as <ATG11dir>.
Data Model for Oracle Business Intelligence
Oracle Commerce Business Intelligence includes a data model for use with Oracle Business Intelligence. The data
model is an intermediate layer that connects the Oracle Commerce Platform data warehouse to the analyses in
Oracle Business Intelligence. The data model presents the data that is stored in the data warehouse to report
authors and it also defines calculations that are useful in reports. For example, the data warehouse contains
records of each visit to your Web sites and the data model includes a calculation that counts the number of site
visits and presents the total to report authors.
Each field in the data model includes a description field that explains the source of the data and how
calculations are performed. You can read those descriptions while browsing through the data model in the
Oracle Business Intelligence interfaces. See complete information about installing and using Oracle Business
Intelligence in the documentation for that product (http://www.oracle.com/technetwork/middleware/bi-
enterprise-edition/documentation/bi-ee-087853.html).
2 1 Introduction
Key to Column Data Type Names
Database vendors sometimes use different names for similar data types. The table that follows shows the names
used in this document and the equivalents used by various database vendors.
This Guide Oracle MS-SQL DB2 MySQL
char char char char char
varchar varchar2 varchar varchar varchar
one-digit number(1,0) tinyint numeric(1,0) tinyint
tinyint number(3,0) tinyint numeric(3,0) tinyint
smallint number(5,0) smallint smallint smallint
integer number(10,0) integer integer integer
bigint number(19,0) bigint bigint bigint
numeric number numeric numeric numeric
datetime date datetime timestamp datetime
timestamp timestamp datetime timestamp datetime
2 Common Database Tables 3
2 Common Database Tables
This chapter describes the data warehouse database tables created by the arf_ddl.sql script. These tables are
used for many Oracle Commerce Platform application reports. This chapter includes the following sections:
Time Tables (page 3)
Internal User Directory Tables (page 10)
External User Tables (page 12)
Demographic Tables (page 15)
Segment Tables (page 20)
Stimulus Group Tables (page 22)
Site Table (page 23)
Site Visit Table (page 26)
Currency Table (page 31)
Referrer Table (page 32)
Registration Table (page 33)
Platform ERD (page 35)
Each section includes a description of the tables and, if applicable, how the information is updated in the data
warehouse. Some tables contain information that should be regularly reloaded, while others contain static data.
Time Tables
The data warehouse tables used to store information about time are described in the following sections. It is
made up of ten tables, seven of which are used to store an instant in time and three which are used to store
auxiliary data.
The tables beginning with ARF_TIME store data about an instant in time. In essence they provide individual
access every piece of data that might be represented in a timestamp. This allows the same report query to
be used with multiple databases, which may have different date and time storage. It also improves report
4 2 Common Database Tables
performance; for example, there is no need to perform extraction functions on timestamp data to retrieve just
the month.
ARF_CAL_MOY
The ARF_CAL_MOY table stores names and other information for the twelve months of the year.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
SHORT_NAME_EN varchar 4 No Name of the month in short format; for
example:
NOV
LONG_NAME_EN varchar 9 No Name of the month in long format; for
example:
NOVEMBER
MONTH_OF_YEAR tinyint No The number of the month within a year
(range 1-12), for example:
11
ARF_CAL_DOW
The ARF_CAL_DOW table stores names and order information for the seven days of the week. To change the day
on which your week begins, change the numeric data in the DAY_OF_WEEK column. By default the week begins
on Monday (1) and ends with Sunday (7).
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
SHORT_NAME_EN varchar 3 No Name of the day in short format; for
example:
WED
LONG_NAME_EN varchar 9 No Name of the day in long format; for
example:
WEDNESDAY
DAY_OF_WEEK tinyint No The number of the day within a week
(range 1-7), for example:
4
2 Common Database Tables 5
ARF_CAL_QOY
This table stores names and other information for the year’s four quarters.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
QTR_OF_YEAR tinyint No The number of the quarter within a year
(range 1-4), for example:
2
SHORT_NAME_EN varchar 4 No Name of the quarter in short form, for
example:
Q1
LONG_NAME_EN varchar 9 No Name of the quarter in long form, for
example:
Quarter 1
ARF_TIME_YEAR
The ARF_TIME_YEAR table stores the year part of an instant. There is one row for each year on which you want to
report.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
YEAR_OF_ERA smallint No The year part of the instant. For
example:
2006
YEAR_TIMESTAMP timestamp No A timestamp representing the
beginning of the year. By default this
is midnight (Coordinated Universal
Time) on 1 January.
ARF_TIME_QTR
This table stores quarter information for an instant. There is one row for each quarter of each year of interest for
reporting.
6 2 Common Database Tables
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
YEAR_ID varchar 40 No Foreign key to ARF_TIME_YEAR.ID
column.
QOY_ID varchar 40 No Foreign key to ARF_CAL_QOY.ID
column.
QTR_TIMESTAMP timestamp No A timestamp representing the
beginning of the quarter. By default
this is midnight (Coordinated
Universal Time) on 1 January, 1 April,
1 July, and 1 October of each year.
QTR_OF_YEAR tinyint No The number of the quarter within a
year (range 1-4), for example:
2
ARF_TIME_MONTH
The ARF_TIME_MONTH table stores the month part of an instant. There is one row for each month in each year
of interest for reporting.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
YEAR_ID varchar 40 No Foreign key to
ARF_TIME_YEAR.ID column.
QTR_ID varchar 40 No Foreign key to
ARF_TIME_QTR.ID column.
MOY_ID varchar 40 No Foreign key to ARF_CAL_MOY.ID
column.
MONTH_OF_YEAR tinyint No Integer between 1 and 12, the
number of the month within a
year.
MONTH_TIMESTAMP timestamp No A timestamp representing the
beginning of the month.
ARF_TIME_WEEK
The ARF_TIME_WEEK table stores the week part of an instant. There is one row for each week of each year of
interest for reporting.
2 Common Database Tables 7
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
YEAR_ID varchar 40 No Foreign key to ARF_TIME_YEAR.ID
column.
WEEK_OF_YEAR tinyint No Integer between 1 and 53, the
number of the week within the year.
WEEK_TIMESTAMP timestamp No A timestamp representing the
beginning of the week.
ARF_TIME_DAY
The ARF_TIME_DAY table is used to store the day part of an instant. There is one row for each day in one year.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
WEEK_ID varchar 40 No Foreign key to ARF_TIME_WEEK.ID
column.
MONTH_ID varchar 40 No Foreign key to ARF_TIME_MONTH.ID
column.
DOW_ID varchar 40 No Foreign key to ARF_CAL_DOW.ID
column.
DAY_TIMESTAMP timestamp No Timestamp representing the
beginning of the day.
DAY_OF_WEEK tinyint No Integer between 1 and 7, the number
of the day within the week.
DAY_OF_MONTH tinyint No Integer between 1 and 31, the
number of the day within the month.
DAY_OF_YEAR smallint No Integer between 1 and 366, the
number of the day within the year.
ARF_TIME_HOUR
The ARF_TIME_HOUR table stores the hour part of an instant. There is one row for each hour of one day.
8 2 Common Database Tables
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
DAY_ID varchar 40 No Foreign key to ARF_TIME_DAY.ID
column.
HOUR_TIMESTAMP timestamp No Timestamp representing the
beginning of the hour.
HOUR_OF_DAY tinyint No Integer between 0 and 23, the
number of the hour within the day.
ARF_TIME_TOD
This table has information about the time of day. There is one row for each minute of one day, representing clock
time.
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
HOUR_OF_DAY tinyint No Integer between 0 and 23, indicating
the hour within the day.
MIN_OF_HOUR tinyint No Integer between 0 and 59, the
number of the minute within the
hour.
MIN_OF_DAY smallint No Integer between 0 and 1439, the
number of the minute within the
day.
HALFDAY_OF_DAY tinyint No Either 0 (indicating AM) or 1
(indicating PM).
HOUR_OF_HALFDAY tinyint No Integer between 0 and 11, indicating
the hour within a twelve-hour half
day.
ARF_TIME_INTERVAL
This table provides the time interval options that appear in the report prompts. By default, the table includes the
following calculated intervals:
• Today
• Yesterday
• Week to Date
2 Common Database Tables 9
• Last 14 Days
• Month to Date
• Quarter to Date
• Year to Date
• Prior Week to Date
• Prior 14 Days
• Prior Month to Date
• Prior Quarter to Date
• Prior Year to Date
• Prior Year End
• All
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
NAME varchar 254 No Name of the interval in the default
language.
NAME_EN varchar 254 Yes Name of the interval in English.
ABBREVIATION varchar 8 Yes Abbreviation for the interval in the
default language.
ABBREVIATION_EN varchar 8 Yes Abbreviation for the interval in
English.
START_TIMESTAMP timestamp No Starting point for the interval.
END_TIMESTAMP timestamp No End point for the interval.
Time Loaders
The global Nucleus component /atg/reporting/datawarehouse/loaders/TimeRepositoryLoader loads
time data into the data warehouse. The loadTime method can be used to load time data between two dates.
The component also contains operations used to load and lookup year, month, week, day and hour parts of the
instant.
Time Jobs
The global component /atg/reporting/datawarehouse/process/jobs/TimeRepositoryLoaderJob
periodically loads time data into the data warehouse. By default the job is scheduled to run every two weeks and
load two weeks of data into the data warehouse.
10 2 Common Database Tables
The TimeRepositoryLoaderJob can be configured to load time from a date in the past by changing the
startDate property. The frequency and the interval of time loaded by this job can be configured by changing
the duration property and the schedule property.
Time Dimension Handlers
A report summary service dimension handler to be used in conjunction with the time series
data in the data warehouse is available. The name of the class implementing this feature is
atg.reporting.summary.TimeRepositoryDimensionHandler and is packaged with the ARF.DW.base
module. This dimension handler can be used to summarize data on the hour (default), day, month, week, or year
level.
Internal User Directory Tables
This section describes the database tables that comprise the internal user directory.
ARF_IU_USER
The ARF_IU_USER table stores data about internal users. Internal users are users based within your company. For
example, customer service agents using Oracle Commerce Service Center are internal users, while customers at
an Oracle Commerce Core Commerce site are external users.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
USER_ID varchar 40 No User ID.
LOGIN varchar 40 No User’s login
FIRST_NAME varchar 40 Yes User’s first name
LAST_NAME varchar 40 Yes User’s last name
PARENT_ORG_ID varchar 40 No ID of the organization to which
the user belongs. Foreign key to
ARF_IU_ORG.ID.
DIR_LVL_ID varchar 40 No Identifies the level to which this
user belongs. Foreign key to
ARF_IU_DIR_LVL table’s ID column.
LAST_UPDATED timestamp No Date and time this record was last
updated.
DELETED numeric 1 No Indicates whether the record has
been deleted.
2 Common Database Tables 11
ARF_IU_ORG
The ARF_IU_ORG table stores data about internal organizations.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
ORG_ID varchar 40 No Organization’s natural key.
NAME_EN varchar 40 No Name of the organization in English.
DESCRIPTION_EN varchar 254 Yes Description of the organization in
English.
PARENT_ORG_ID varchar 40 Yes Identifier of the parent organization,
if applicable. Foreign key to the ID
column of this table.
DIR_LVL_ID varchar 40 No Identifies the level of this
organization. Foreign key to the ID
column of the ARF_IU_DIR_LVL
column.
LAST_UPDATED timestamp No Date this record was last updated
DELETED numeric 1 No Whether this record indicates deleted
organization.
ARF_IU_DIR_LVL
The ARF_IU_DIR_LVL table stores the levels of the hierarchy. By default, there are ten levels to which
organizations can be assigned.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NAME_EN varchar 40 No Level name in English.
DPTH smallint No Identifies the level’s depth.
PARENT_ID varchar 40 Yes Parent level of this level, if applicable.
Foreign key to the ID column of this table.
12 2 Common Database Tables
Internal User Loaders
The global Nucleus service /atg/reporting/datawarehouse/loaders/InternalUserDirectoryLoader
loads user directory data into the data warehouse. The service’s loadUser method loads a user and its ancestors
into the data warehouse. The service’s loadOrganization method loads an organization and its ancestors into
the data warehouse.
Internal User Jobs
The global service /atg/reporting/datawarehouse/process/jobs/InternalUserDirectoryLoaderJob
periodically loads internal user directory data into the data warehouse. By default the service is scheduled to run
every night. This service is started as part of the ARF.DW.InternalUsers module.
Internal User Dimension Handlers
A report summary service dimension handler to be used in conjunction with the internal
user directory data in the data warehouse is available. The name of the class implementing
this feature is atg.reporting.summary.InternalUserDimensionHandler. A different
dimension handler as exists for handling internal organizations. The name of this class is
atg.reporting.summary.InternalOrganizationDimensionHandler. These two dimension handlers are
packaged with the ARF.DW.InternalUsers module.
External User Tables
This section describes the tables that hold information about the external users of your sites.
ARF_USER
The ARF_USER table contains information from the user’s profile.
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
NUSER_ID varchar 40 No Natural key of user.
LOGIN varchar 40 No User’s login.
FIRST_NAME varchar 40 Yes User’s first name.
MIDDLE_NAME varchar 40 Yes User’s middle name.
LAST_NAME varchar 40 Yes User’s last name.
2 Common Database Tables 13
Column Name Type Length Null Allowed Description
EMAIL varchar 255 Yes User’s email address.
DATE_OF_BIRTH date Yes User’s date of birth.
LANG_ID smallint No Identifier of language from the
ARF_LANGUAGE table.
GENDER_ID tinyint No Identifier of gender from the
ARF_GENDER table.
MARITAL_STATUS_ID tinyint No Identifier of marital
status from the
ARF_MARITAL_STATUS table.
HOME_REGION_ID smallint No Identifier of the region of the
user’s home address, from the
ARF_GEO_REGION table.
ORGANIZATION_ID integer No Identifier of the user’s
organization. Foreign key to
the ARF_ORGANIZATION table.
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_ORGANIZATION
The ARF_ORGANIZATION table stores information about user organizations. These organizations are used in
personalizing your sites. See Using Organizations and Roles in the Personalization Guide for Business Users.
14 2 Common Database Tables
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NORGANIZATION_ID varchar 40 No The natural key for the
organization.
PARENT_ORG_ID integer Yes The parent of the organization
in the hierarchy of organizations
configured for your sites. Foreign
key to ARF_ORGANIZATION.ID.
NAME varchar 254 No The name assigned to the
organization.
DESCRIPTION varchar 254 Yes A description of the organization.
RECORD_LAST_UPDATE timestamp Yes The date and time that the
organization record was last
changed.
RECORD_START_DATE timestamp Yes The date and time that the
organization record was created.
RECORD_END_DATE timestamp Yes The date and time that the
organization record was marked
as deleted. This value is null unless
the record is marked as deleted.
MOST_RECENT one-digit No Indicates that this record is
the most recent record for the
organization.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has been
deleted.
0= No
1 = Yes
ARF_USER_AGENT
The ARF_USER_AGENT table is reserved for future use.
Column Name Type Length Null
Allowed
Description
ID smallint No Reserved for future use.
2 Common Database Tables 15
Column Name Type Length Null
Allowed
Description
USER_AGENT varchar 254 No Reserved for future use.
AGENT_NAME varchar 40 No Reserved for future use.
AGENT_DESCRIPTION varchar 254 Yes Reserved for future use.
BROWSER_NAME varchar 40 No Reserved for future use.
BROWSER_VERSION varchar 20 No Reserved for future use.
OPERATINGSYSTEM_NAME varchar 40 No Reserved for future use.
OPERATINGSYSTEM_VERSION varchar 20 No Reserved for future use.
OPERATINGSYSTEM_ARCHITECTURE varchar 20 No Reserved for future use.
PLATFORM_NAME varchar 40 No Reserved for future use.
SECURITY varchar 20 No Reserved for future use.
COMPATIBLE_FLAG one-digit No Reserved for future use.
GECKO_FLAG one-digit No Reserved for future use.
IS_ROBOT one-digit No Reserved for future use.
IS_BROWSER one-digit No Reserved for future use.
RECORD_LAST_UPDATE timestamp Yes Reserved for future use.
RECORD_START_DATE timestamp Yes Reserved for future use.
RECORD_END_DATE timestamp Yes Reserved for future use.
Demographic Tables
This section describes the group of tables that provide demographic data for reports.
ARF_GENDER
The ARF_GENDER table is preloaded with three genders: male, female, and unspecified.
Column Name Type Length Null Allowed Description
ID tinyint No Identifier; primary key.
16 2 Common Database Tables
Column Name Type Length Null Allowed Description
GENDER_NAME varchar 40 No Name of gender in the default
language.
GENDER_NAME_EN varchar 40 Yes Name of gender in English.
ARF_AGE_GROUP
The ARF_AGE_GROUP table defines ranges for age groups into which users can be categorized, and provides
names for the ranges.
To change the ranges of an age group, you can modify the AGE_MIN, AGE_MAX, AGE_GROUP_NAME and
AGE_GROUP_NAME_EN values. The default groups are:
• Unspecified
• 0-17
• 18-24
• 25-34
• 35-44
• 45-54
• 55+
Column Name Type Length Null Allowed Description
ID tinyint No Identifier; primary key.
AGE_GROUP_NAME varchar 40 No Name of age group in the
default language.
AGE_GROUP_NAME_EN varchar 40 Yes Name of age group in English.
AGE_MIN tinyint No Determines the lower boundary
for membership in the age
group.
AGE_MAX tinyint No Determines the upper boundary
for membership in the age
group.
ARF_LANGUAGE
This table holds a list of languages that can be referenced by other tables. It uses the ISO 639-1 and 639-2 codes.
2 Common Database Tables 17
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
LANG_NAME varchar 254 No Name of language in default
language.
LANG_NAME_EN varchar 254 Yes Name of language in English.
ISO_639_1_ALPHA2 char 2 Yes ISO 639-1 two-letter alphabetic
code for the language.
ISO_639_2_ALPHA3 char 3 No ISO 639-1 three-letter
alphabetic code for the
language.
RECORD_START_DATE timestamp Yes Date when the information in
this warehouse record became
effective.
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
ARF_MARITAL_STATUS
This table provides marital statuses that can be referenced by other tables. The default statuses provided are:
• Unspecified
• Married
• Single
Column Name Type Length Null Allowed Description
ID tinyint No Identifier; primary key.
MARITAL_STATUS_NAME varchar 40 No Name of the status in the
default language.
MARITAL_STATUS_NAME_EN varchar 40 Yes Name of the status in
English.
ARF_GEO_COUNTRY
The ARF_GEO_COUNTRY table stores a list of countries for reference. It uses the ISO 3166 and FIPS codes. The
provided countries are:
• Australia
18 2 Common Database Tables
• Canada
• China
• France
• Germany
• Italy
• Japan
• Mexico
• Russian Federation
• South Africa
• Spain
• Switzerland
• United Kingdom
• United States
• Unspecified
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
COUNTRY_NAME varchar 254 No Name of country in the default
language.
COUNTRY_NAME_EN varchar 254 Yes Name of country in English.
ISO3166_1_ALPHA2 char 2 Yes ISO 3166 two-character
alphabetic code for the
country.
ISO3166_1_ALPHA3 char 3 Yes ISO 3166 three-character
alphabetic code for the
country.
ISO3166_1_NUM3 smallint Yes ISO 3166 three-character
numeric code for the country.
FIPS10_4_CODE char 2 Yes FIPS four-digit code for the
country.
RECORD_START_DATE timestamp Yes Date when the information in
this warehouse record became
effective
2 Common Database Tables 19
Column Name Type Length Null Allowed Description
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
ARF_GEO_REGION
The ARF_GEO_REGION table stores a list of regions for reference. It uses the ISO 3166 and FIPS codes. The
provided regions include all US states and Canadian provinces.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
COUNTRY_ID smallint No Identifier of the country of which
the region is a part (see the
ARF_GEO_COUNTRY (page
17) table).
REGION_NAME varchar 254 No Name of region in the default
language.
REGION_NAME_EN varchar 254 Yes Name of region in English.
ISO_3166_2_CODE char 6 Yes ISO 3166 two-character code for
the region.
FIPS10_4_CODE char 4 Yes FIPS code for the region.
RECORD_START_DATE timestamp Yes Date when the information in
this warehouse record became
effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
ARF_DEMOGRAPHIC
This table contains one row for each possible combination of gender, age group, marital status, and region.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
GENDER_ID tinyint No Foreign key to ARF_GENDER.ID
column.
20 2 Common Database Tables
Column Name Type Length Null Allowed Description
AGE_GROUP_ID tinyint No Foreign key to ARF_AGE_GROUP.ID
column.
MARITAL_STATUS_ID tinyint No Foreign key to
ARF_MARITAL_STATUS.ID column.
REGION_ID smallint No Foreign key to
ARF_GEO_REGION.ID column.
Segment Tables
The segment tables contain information about segments and segment clusters to which customers can belong.
ARF_SEGMENT
Customers are assigned to segments based on rules created in the Oracle Commerce Business Control Center.
Customers can be members of multiple segments. Segments are also known as profile groups.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSEGMENT_ID varchar 254 No Natural key of segment.
SEGMENT_NAME varchar 254 No Name of segment.
SEGMENT_DESC varchar 254 Yes Description of segment.
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
2 Common Database Tables 21
Column Name Type Length Null Allowed Description
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_SEGCLSTR
A segment cluster represents the group of segments of which a particular person is a member. For example,
Segment A
Segment B
Segment C
Segment D
Segment E
Segments B and D are a bold cluster, while C and E are an Italic cluster. There are 2^5 possible combinations of
two segments in this example; each potential cluster must have a unique name.
Since a person can belong to multiple segments, reporting sales by segment alone can give deceptive results.
Segment clusters show how users group themselves.
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
NAME varchar 254 Yes Segment cluster name.
HASH_VALUE varchar 256 No Used during data loading.
LENGTH tinyint No Size of the cluster segment. In the example
used above, the length of the Bold segment
is 2.
ARF_SEGCLTR_MBRS
This table relates the individual segments to their cluster. It contains a row for each segment in a segment
cluster.
Column Name Type Length Null Allowed Description
SEGCLSTR_ID integer No Foreign key to ARF_SEGCLSTR.ID column.
Primary key component.
22 2 Common Database Tables
Column Name Type Length Null Allowed Description
SEGMENT_ID smallint No Foreign key to ARF_SEGMENT.ID column.
Primary key component.
MEMBER tinyint Indicates that the segment is a member of
the cluster. Primary key component.
Stimulus Group Tables
The stimulus group tables hold information about what motivated the customer to place an order, such as which
promotion might have prompted it.
ARF_STIMULUS
This table contains the list of stimuli that can be used in the system.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSTIMULUS_ID varchar 254 No Natural key for stimulus.
STIMULUS_DESC varchar 254 Yes Name given to stimulus.
STIMULUS_TYPE varchar 254 Yes Type of stimulus.
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
2 Common Database Tables 23
Column Name Type Length Null Allowed Description
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_STIMGRP
Orders have more than one stimulus, so as with segments, the list of all possible stimulus groups is determined
and stored in this table.
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
NAME varchar 254 Yes Stimulus group name.
HASH_VALUE varchar 256 No Used during data loading.
LENGTH tinyint No Size of the stimulus group.
ARF_STIMGRP_MBRS
This table relates individual stimuli to stimulus groups.
Column Name Type Length Null Allowed Description
STIMGRP_ID integer No Foreign key to ARF_STIMGRP.ID column.
Primary key component.
STIMULUS_ID smallint No Foreign key to ARF_STIMULUS.ID column.
Primary key component.
Site Table
ARF_SITE
The ARF_SITE table stores information about the Oracle Core Commerce sites you have configured. See
information about the site configurations that are recorded in the table in the Multisite Administration Guide.
24 2 Common Database Tables
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSITE_ID varchar 40 No The natural identifier of the site.
NAME varchar 254 No The name assigned to the site.
This value is used when no locale
is specified for a report.
NAME_EN varchar 254 Yes The name assigned to the
site. This value is used when
an English language locale is
specified for a report.
DESCRIPTION varchar 254 Yes A description of the site. This
description is used when no
locale is specified for a report.
DESCRIPTION_EN varchar 254 Yes A description of the site. This
description is used when an
English language locale is
specified for a report.
HOME_PAGE varchar 254 Yes The application context path of
the site. For example, /store.
LAUNCH_DATE timestamp Yes The date and time that the site
was launched.
CLOSE_DATE timestamp Yes The date and time that the site
was closed.
ENABLED one-digit No Indicates whether the site is
enabled.
0= No
1 = Yes
CURRENCY_NAME varchar 254 Yes The name of the default currency
used by the site. For example,
United States Dollars.
CURRENCY_ALPHA3 char 3 Yes The ISO currency code of the
default currency used by the site.
For example, USD.
LANGUAGE_NAME varchar 254 Yes The default language used by the
site. For example, English.
LANGUAGE_ALPHA2 char 2 Yes The two-character ISO language
code of the default language
used by the site. For example, en.
2 Common Database Tables 25
Column Name Type Length Null Allowed Description
LANGUAGE_ALPHA3 char 3 Yes The three-character ISO language
code of the default language
used by the site. For example,
eng.
DEFAULT_CATALOG_NAME varchar 254 Yes The name of the default catalog
that is configured for the site.
RECORD_LAST_UPDATE timestamp Yes The date and time that the site
record was last changed.
RECORD_START_DATE timestamp Yes The date and time that the site
record was created.
RECORD_END_DATE timestamp Yes The date and time that the site
record was marked as deleted.
This value is null unless the
record is marked as deleted.
MOST_RECENT one-digit No Indicates that this record is the
most recent record for the site.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
Unregistered Sites in Oracle Commerce Business Intelligence
Oracle Commerce Platform Web sites may be registered or unregistered. Registered sites are configured
using the Site Administration utility in the Business Control Center. The Site Administration utility supports
multiple sites and it logs distinguishing information about each site that is loaded into the data warehouse.
See the Multisite Administration Guide. Unregistered sites are configured without using the Site Administration
utility. Only one unregistered site may be configured and Core Commerce does not log the distinguishing site
information that would be included in the data warehouse ARF_SITE (page 23) table.
If your site is unregistered, Oracle Commerce Business Intelligence will represent it with the default record in
the ARF_SITE table. The values in the default record will appear in reports that include site information. Default
values for the ARF_SITE table are shown below.
ID NSITE_ID NAME NAME_EN DESCRIPTION DESCRIPTION_EN
0 Unregistered Unregistered Unregistered The unregistered site The unregistered site
26 2 Common Database Tables
Site Visit Table
The ARF_SITE_VISIT table stores information about visits to the commerce sites you have configured. The
table includes one row per visit to a site.
Column Name Type Length Null Description
SITE_VISIT_ID bigint No Identifier; primary key.
START_TIMESTAMP timestamp Yes The date and time that the HTTP
session started.
START_DAY_ID varchar 40 No Day the session began. Foreign key to
ARF_TIME_DAY.ID column.
START_TIME_ID integer No Time the session began. Foreign key
to ARF_TOD.ID column.
END_DAY_ID integer No Day on which the session ended.
Foreign key to ARF_TIME_DAY.ID
column.
END_TIME_ID integer No Time at which the session ended.
Foreign key to ARF_TIME_TOD.ID
column.
START_VISIT_TIMESTAMP timestamp Yes The date and time that the site visit
started.
SITE_VISIT_START_DAY_ID varchar 40 No Day the site visit began. Foreign key
to ARF_TIME_DAY.ID column.
SITE_VISIT_START_TIME_ID integer No Time the site visit began. Foreign key
to ARF_TOD.ID column.
SITE_VISIT_END_DAY_ID varchar 40 No Day on which the site visit ended.
Foreign key to ARF_TIME_DAY.ID
column.
SITE_VISIT_END_TIME_ID integer 40 No Time at which the site visit ended.
Foreign key to ARF_TIME_TOD.ID
column.
VISIT_END_TIME_ID integer No Time at which the user made the
last HTTP request in the session.
This is different from END_TIME_ID
when the session ends by timing out.
Foreign key to ARF_TIME_TOD.ID
column.
2 Common Database Tables 27
Column Name Type Length Null Description
VISITOR_ID integer No User ID of visitor. Foreign key to
ARF_USER.ID column.
If visitor is anonymous, this is set to
Unspecified User.
STIMGRP_ID smallint No Stimulus group associated with the
visit. Foreign key to ARF_STIMGRP.ID
column.
DEMOGRAPHIC_ID smallint No Demographic which represents
the demographic profile of
this site visit. Foreign key to
ARF_DEMOGRAPHIC.ID.
SITE_ID smallint No The site at which the visit took place.
Foreign key to ARF_SITE.ID.
ENTRY_SITE_ID smallint No The first site visited during the
HTTP session in which this site
visit occurred. Foreign key to
ARF_SITE.ID.
EXIT_SITE_ID smallint No The last site visited during the
HTTP session in which this site
visit occurred. Foreign key to
ARF_SITE.ID.
REFERRING_SITE_ID smallint No The previous site visited during
the HTTP session in which this
site visit occurred. Foreign key to
ARF_SITE.ID.
SEQUENCE_NUM tinyint No The rank order in which this site visit
took place during an HTTP session.
USER_AGENT_ID smallint No The record in ARF_USER_AGENT that
is associated with the site visit.
REFERRER_ID smallint No The record in ARF_REFERRER that is
associated with the site visit.
SESSION_ID varchar 128 No The identifier of the HTTP session
in which the visit occurred. The
session identifier is assigned by the
application server.
NUM_PAGE_VIEWS smallint No Number of pages the visitor viewed
during the visit.
28 2 Common Database Tables
Column Name Type Length Null Description
DURATION_SECONDS smallint No Duration of the HTTP
session in seconds. See
DURATION_SECONDS (page 28).
TOTAL_ELAPSED_DURATION_SECONDSinteger No The number of seconds that pass
between the first and last HTTP
requests in the HTTP session. See
TOTAL_ELAPSED_DURATION_SECONDS (page
29).
SITE_VISIT_DURATION_SECONDS integer No The number of seconds that pass
between the first and last HTTP
requests in the site visit. See
SITE_VISIT_DURATION_SECONDS (page
29).
RESOURCE_DURATION_SECONDS integer No The total number of seconds
that a user spends visiting one
site during an HTTP session. See
RESOURCE_DURATION_SECONDS (page
30).
Site Visit Durations
Oracle Commerce Business Intelligence records the duration of site visits in several ways. These duration
measurements are stored in columns of the ARF_SITE_VISIT table. The measurements in each column are
explained in the following sections.
DURATION_SECONDS
The DURATION_SECONDS column stores the entire length of the HTTP session in which a site visit occurs. If the
session ends by timing out, DURATION_SECONDS includes the time that passes after the last HTTP request.
The following diagram shows the period of time measured in the DURATION_SECONDS column.
2 Common Database Tables 29
TOTAL_ELAPSED_DURATION_SECONDS
The TOTAL_ELAPSED_DURATION_SECONDS column stores the number of seconds that pass between the first
and last HTTP requests of the HTTP session in which a site visit occurs. It does not matter which sites the first and
last HTTP response occur in.
The following diagram shows the period of time measured in the TOTAL_ELAPSED_DURATION_SECONDS
column.
SITE_VISIT_DURATION_SECONDS
The SITE_VISIT_DURATION_SECONDS column stores the number of seconds between the first and last HTTP
requests at a site during an HTTP session. A user may visit other sites and then return to the original site during
30 2 Common Database Tables
this period. If the HTTP session ends by timing out, SITE_VISIT_DURATION_SECONDS does not include the time
that passes after the last HTTP request.
The following diagram shows the period of time measured in the SITE_VISIT_DURATION_SECONDS column.
RESOURCE_DURATION_SECONDS
The RESOURCE_DURATION_SECONDS column stores the total number of seconds that a user spends at a site
during an HTTP session. Each site visit in the session is measured between the first HTTP request of a site visit
and one of the following events.
• The user visits another site.
• The user logs out of the site and the HTTP session ends.
• The last HTTP request occurs before the session times out.
The following diagram shows the individual site visits that total the duration in RESOURCE_DURATION_SECONDS.
2 Common Database Tables 31
Currency Table
The ARF_CURRENCY table stores a list of currencies for reference. It uses the ISO 4217 codes. The provided
currencies are:
• Australian Dollar
• Canadian Dollar
• Yuan Renminbi
• Japanese yen
• Mexican Peso
• Russian Ruble
• Rand
• Swiss Franc
• Pound Sterling
• US Dollar
• Euro
• No Currency
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
32 2 Common Database Tables
Column Name Type Length Null Allowed Description
CURRENCY_NAME varchar 254 No Name of currency in the
default language.
CURRENCY_NAME_EN varchar 254 Yes Name of currency in English.
ISO4217_ALPHA3 char 3 No ISO 4217 three-letter
alphabetic code for the
currency.
ISO4217_NUM3 smallint Yes ISO 4217 three-number
numeric code for the currency.
RECORD_START_DATE timestamp Yes Date when the information in
this warehouse record became
effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
Referrer Table
The ARF_REFERRER table is reserved for future use.
Column Name Type Length Null Allowed Description
ID smallint No Reserved for future use.
REFERRER_URL varchar 254 No Reserved for future use.
REFERRER_SITE_NAME varchar 254 No Reserved for future use.
REFERRER_SITE_DESCRIPTION varchar 254 Yes Reserved for future use.
REFERRER_URL_SCHEME varchar 20 No Reserved for future use.
REFERRER_URL_HOST varchar 40 No Reserved for future use.
REFERRER_URL_DOMAIN varchar 40 No Reserved for future use.
REFERRER_URL_DOMAIN_TYPE varchar 20 No Reserved for future use.
REFERRER_URL_PATH varchar 254 No Reserved for future use.
IS_SEARCH_ENGINE one-digit No Reserved for future use.
RECORD_LAST_UPDATE timestamp Yes Reserved for future use.
2 Common Database Tables 33
Column Name Type Length Null Allowed Description
RECORD_START_DATE timestamp Yes Reserved for future use.
RECORD_END_DATE timestamp Yes Reserved for future use.
Registration Table
The ARF_REGISTRATION table stores information about events in which users create accounts for the Core
Commerce sites you have configured.
Column Name Type Length Null
Allowed
Description
REGISTRATION_ID smallint No Identifier, primary key
REGISTRATION_TIMESTAMP timestamp Yes The date and time that the
registration occurred.
REGISTRATION_DAY_ID varchar 40 No The day on which the registration
occurred. Foreign key to
ARF_TIME_DAY.ID.
REGISTRATION_TIME_ID integer No The time at which the registration
occurred. Foreign key to
ARF_TIME_TOD.ID.
REGISTRANT_ID integer No The user who registered with your
sites. Foreign key to ARF_USER.ID.
STIMGRP_ID integer No A motivating factor associated with
the registration. Foreign key to
ARF_STIMGRP.ID.
SEGCLSTR_ID integer No The group of segments that the
registered user is a part of. Foreign
key to ARF_SEGCLSTR.ID.
DEMOGRAPHIC_ID smallint No Information about the registered user
such as gender, age group, marital
status, and region. Foreign key to
ARF_DEMOGRAPHIC.ID.
SITE_ID smallint No The site at which the registration took
place. Foreign key to ARF_SITE.ID.
34 2 Common Database Tables
Column Name Type Length Null
Allowed
Description
SITE_VISIT_ID bigint No The site visit during which the
registration took place. Foreign key to
ARF_SITE_VISIT.SITE_VISIT_ID.
SESSION_ID varchar No The identifier of the HTTP session
during which the registration
occurred. The session identifier is
assigned by the application server.
3 Core Commerce Database Tables 37
3 Core Commerce Database Tables
This chapter describes the tables in the data warehouse that are used by Oracle Commerce Core Commerce.
Some of these tables are also used by Oracle Commerce Service Center. Tables are created by the
arf_dcs_ddl.sql script.
This chapter includes the following sections:
ARF_CURRENCY_CONV (page 37)
ARF_CATEGORY (page 38)
ARF_PRODUCT (page 41)
ARF_SKU (page 42)
ARF_PROMOTION (page 44)
ARF_PROMOTION_USAGE (page 45)
ARF_PROMOGRP (page 48)
ARF_PROMOGRP_MBRS (page 49)
ARF_SALES_CHANNEL (page 49)
ARF_LINE_ITEM (page 50)
ARF_RET_REASON_DISPOSITION (page 59)
ARF_RETURN_ITEM (page 59)
Commerce ERD (page 63)
ARF_CURRENCY_CONV
This table holds information used to convert currencies in customer orders.
38 3 Core Commerce Database Tables
Column Name Type Length Null Allowed Description
DAY_ID varchar 40 No Primary key component.
Foreign key to
ARF_TIME_DAY.ID
column.
SRC_CURRENCY_ID smallint No Currency to be converted
from. Primary key
component. Foreign key
to ARF_CURRENCY.ID
column.
DST_CURRENCY_ID smallint No Currency to be converted
to. Primary key
component. Foreign key
to ARF_CURRENCY.ID
column.
SRC_DST_CONV_RATE double No Conversion rate from the
source to the destination
currency.
The field length is 19 digits,
with 7 digits to the left of
the decimal and 12 to the
right.
DST_SRC_CONV_RATE double No Conversion rate from the
destination to the source
currency.
The field length is 19 digits,
with 7 digits to the left of
the decimal and 12 to the
right.
ARF_CATEGORY
This table stores category information from your product repository. There is one row per category.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NCATEGORY_ID varchar 40 No Natural ID for the category.
3 Core Commerce Database Tables 39
Column Name Type Length Null Allowed Description
NAME varchar 254 No Category name in the default
language.
NAME_EN varchar 254 Yes Category name in English.
DESCRIPTION varchar 254 Yes Category description in the
default language.
DESCRIPTION_EN varchar 254 Yes Category description in
English.
PARENT_CAT_ID int Yes ID of the parent category, if
applicable. Foreign key to
ARF_CATEGORY.ID column.
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_COUPON
This table stores information about the coupons configured in Core Commerce.
40 3 Core Commerce Database Tables
Column Name Type Length Null Allowed Description
ID int No The identifier of the
coupon
NCOUPON_ID varchar 40 No The natural identifier of
the coupon
NAME varchar 254 No The name assigned to the
coupon
NAME_EN varchar 254 Yes The name assigned to the
coupon in English
START_DATE timestamp Yes The time and date at
which the coupon
became usable
EXPIRATION_DATE timestamp Yes The time and date at
which the coupon was no
longer usable
IS_BATCH one-digit No A boolean value that
indicates whether the
coupon is serialized
0 = false
1 = true
NUMBER_OF_COUPONS int No If the coupon is serialized,
the number of instances
that are in the batch
RECORD_LAST_UPDATE timestamp Yes The time and date
at which this data
warehouse record was last
updated
RECORD_START_DATE timestamp Yes The time and date
at which this data
warehouse record was
created
RECORD_END_DATE timestamp Yes The time and date
at which this data
warehouse record was
marked for deletion
3 Core Commerce Database Tables 41
Column Name Type Length Null Allowed Description
MOST_RECENT one-digit No A boolean value that
indicates whether this
record holds the most
recent information about
the coupon.
0 = false
1 = true
DELETED one-digit No A boolean value that
indicates whether the
coupon has been deleted
0 = false
1 = true
ARF_PRODUCT
This table stores product information from your product repository. There is one row per product.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NPRODUCT_ID varchar 40 No Natural key of product.
NAME varchar 254 No Product name in the default
language.
NAME_EN varchar 254 Yes Product name in English.
DESCRIPTION varchar 254 Yes Product description in the
default language.
DESCRIPTION_EN varchar 254 Yes Product description in English.
PARENT_CAT_ID int Yes ID of the product’s parent
category, if applicable. Foreign
key to ARF_CATEGORY.ID
column.
BRAND varchar 254 Yes The name of the brand
associated with the product.
This name is used when no
locale is specified for a report.
42 3 Core Commerce Database Tables
Column Name Type Length Null Allowed Description
BRAND_EN varchar 254 Yes The name of the brand
associated with the product.
This description is used when
an English language locale is
specified for a report.
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_SKU
This table stores SKU information from your product repository. There is one row per SKU.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NSKU_ID varchar 40 No Natural key of SKU.
NAME varchar 254 No SKU name in the default
language.
NAME_EN varchar 254 Yes SKU name in English.
3 Core Commerce Database Tables 43
Column Name Type Length Null Allowed Description
DESCRIPTION varchar 254 Yes SKU description in the
default language.
DESCRIPTION_EN varchar 254 Yes SKU description in English.
PARENT_PROD_ID int Yes ID of the SKU’s parent
product. Foreign key
to ARF_PRODUCT.ID
column.
WHOLESALE_PRICE double Yes Wholesale price of the
item represented by the
SKU.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LIST_PRICE double Yes List price of the item
represented by the SKU.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
SALE_PRICE double Yes Sale price of the item
represented by the SKU.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
ON_SALE numeric or
tinyint
1 (for
numeric)
Yes Indicates whether or not
the item is currently on
sale.
0 = No
1 = Yes
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the
information in this
warehouse record became
effective
44 3 Core Commerce Database Tables
Column Name Type Length Null Allowed Description
RECORD_END_DATE timestamp Yes Date when the
information in this
warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record
is the most recent.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record
has been deleted.
0= No
1 = Yes
ARF_PROMOTION
This table holds information about product promotions.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NPROMO_ID varchar 40 No Natural key of promotion.
PROMO_NAME varchar 254 No Promotion name in the
default language.
PROMO_NAME_EN varchar 254 Yes Promotion name in English.
PROMO_DESC varchar 254 Yes Promotion description in the
default language.
PROMO_DESC_EN varchar 254 Yes Promotion description in
English.
PROMO_TYPE varchar 254 Yes Promotion type that appears
in the promotion’s item
descriptor, such as “Item
Discount – Amount Off.”
3 Core Commerce Database Tables 45
Column Name Type Length Null Allowed Description
PROMO_ENABLED numeric or
tinyint
1 Yes Indicates that this promotion
is enabled.
0 = No
1 = Yes
PROMO_BEGIN_USABLE timestamp Yes Date on which the promotion
can be used.
PROMO_END_USABLE timestamp Yes Date on which the promotion
is no longer usable.
PROMO_GLOBAL numeric or
tinyint
1 Yes Indicates that this promotion
is global.
0 = No
1 = Yes
RECORD_LAST_UPDATE timestamp Yes Date the record was last
updated.
RECORD_START_DATE timestamp Yes Date when the information
in this warehouse record
became effective.
RECORD_END_DATE timestamp Yes Date when the information in
this warehouse record is no
longer effective.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_PROMOTION_USAGE
This table holds information about transactions involving promotions.
46 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
PROMOTION_USAGE_ID bigint No Identifier; primary key.
PROMOTION_ID smallint No Identifier of the promotion
involved. Foreign key to
ARF_PROMOTION.ID.
USAGE_TIMESTAMP timestamp Yes The date and time a promotion
transaction occurred.
DAY_ID varchar 40 No Day on which the transaction
occurred; foreign key to
ARF_TIME_DAY.ID.
TIME_ID integer No Time at which the transaction
occurred; foreign key to
ARF_TIME_TOD.ID.
SKU_ID integer No SKU to which the promotion
was applied; foreign key to
ARF_SKU.ID.
PRODUCT_ID integer No Product to which the
promotion was applied; foreign
key to ARF_PRODUCT.ID.
CATEGORY_ID integer No Category of the item to
which the promotion was
applied; foreign key to
ARF_CATEGORY.ID.
CUSTOMER_ID integer No Customer for whom the
promotion was used; foreign
key to ARF_USER.ID.
SEGCLSTR_ID integer No Segment cluster to which the
customer belongs; foreign key
to ARF_SEGCLSTR.ID.
BILLING_REGION_ID smallint No Billing region for the
transaction; foreign key to
ARF_GEO_REGION.ID.
LOCAL_CURRENCY_ID smallint No Local currency in which the
transaction occurred; foreign
key to ARF_CURRENCY.ID.
DEMOGRAPHIC_ID smallint No Demographic to which the
customer belongs; foreign key
to ARF_DEMOGRAPHIC.ID.
3 Core Commerce Database Tables 47
Column Name Type Length Null
Allowed
Description
SITE_VISIT_ID bigint No ID of site visit in which the
promotion use occurred.
ORDER_ID integer No ID of the order to which the
promotion was applied.
NORDER_ID varchar 40 No Natural identifier for the order
to which the promotion was
applied.
SESSION_ID varchar 128 Yes ID of the session in which the
promotion was used.
AGENT_ID varchar 40 Yes Agent involved in the
transaction, if any; foreign key
to ARF_IU_USER.ID.
ORIGIN_SALES_CHANNEL_ID numeric 3 Yes Identifier for sales channel
that originated the
order. Foreign key to
ARF_SALES_CHANNEL.ID
column.
SUBMIT_SALES_CHANNEL_ID numeric 3 Yes Identifier for sales channel
that completed the
order. Foreign key to
ARF_SALES_CHANNEL.ID
column.
QUANTITY double-
precision
No Quantity of items to which the
promotion applies.
LOCAL_NET_REVENUE numeric 19 No Net revenue for the item to
which the promotion was
applied, in the local currency.
If the promotion is one that
applies to an entire order,
this value is the same as the
LOCAL_ORDER_NET_REVENUE
value.
LOCAL_ORDER_NET_REVENUE numeric 19 No Net revenue for the entire
order after applying the
promotion, in the local
currency.
LOCAL_DISCOUNT_AMOUNT numeric 19 No Effective amount of the
discount applied as a result
of the promotion, in the local
currency.
48 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
STANDARD_NET_REVENUE numeric 19 No Net revenue for the item to
which the promotion was
applied, in the standard
currency. If the promotion
is one that applies to
an entire order, this
value is the same as the
LOCAL_ORDER_NET_REVENUE
value.
STANDARD_ORDER_NET_REVENUE numeric 19 No Net revenue for the entire
order after applying the
promotion, in the standard
currency.
STANDARD_DISCOUNT_AMOUNT numeric 19 No Effective amount of the
discount applied as a result of
the promotion, in the standard
currency.
SITE_ID smallint No The site at which the
transaction occurred. Foreign
key to ARF_SITE.ID.
COUPON_USAGE_ID bigint No A unique identifier for this
use of a coupon. Set to 0 if no
coupon is associated with the
promotion usage.
COUPON_ID int No The identifier of the coupon
record. This is a foreign key to
the ARF_COUPON table.
COUPON_CODE varchar 254 Yes The name assigned to the
coupon used.
ORGANIZATION_ID int Yes The organization associated
with the promotion.
ARF_PROMOGRP
This table holds information about promotion groups.
3 Core Commerce Database Tables 49
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Name of the promotion group.
HASH_VALUE varchar 256 No Used during data loading.
LENGTH smallint No Size of the promotion group.
ARF_PROMOGRP_MBRS
This table relates the individual promotions to their promotion groups. It contains a row for each promotion in a
promotion group.
Column Name Type Length Null Allowed Description
PROMO_GRP_ID smallint No Primary key component. Foreign key to
ARF_PROMOGRP.ID column.
PROMOTION_ID smallint No Primary key component. Foreign key to
ARF_PROMOTION.ID column.
ARF_SALES_CHANNEL
This table contains one row for each channel through which an order can be placed. The channel is then
recorded as part of an individual line item. The default channels are:
• Web
• Call center
Column Name Type Length Null Allowed Description
ID numeric
or tinyint
1 No Identifier; primary key.
NCODE integer No Natural key of sales channel.
NAME varchar 254 No Sales channel name in the default
language.
NAME_EN varchar 254 Yes Sales channel name in English.
50 3 Core Commerce Database Tables
Column Name Type Length Null Allowed Description
DESCRIPTION varchar 254 Yes Sales channel description in the default
language.
DESCRIPTION_EN varchar 25 Yes Sales channel description in English.
ARF_LINE_ITEM
This table contains one row for every line item in every order placed by customers. Note the following:
• Discount refers to any amount subtracted from the price of the item or the order, such as coupons.
• Tax and shipping costs are applied to an order. The pipeline processors that populate the data warehouse
allocate these costs across line items. See the Core Commerce Programming Guide for information on these
processors.
• Local currency refers to the currency in which the customer pays; standard currency is the currency used for
reporting.
Column Name Type Length Null
Allowed
Description
SUBMIT_TIMESTAMP timestamp Yes The date and time an
order was submitted.
SUBMIT_DAY_ID varchar 40 No Day order was
submitted. Foreign key
to ARF_TIME_DAY.ID
column.
SUBMIT_TIME_ID int No Time the order was
submitted. Foreign key
to ARF_TIME_TOD.ID
column.
SKU_ID int No Identifier of SKU
ordered. Foreign key to
ARF_SKU.ID column.
PRODUCT_ID int No Identifier for item’s
product. Foreign key
to ARF_PRODUCT.ID
column.
CATEGORY_ID int No Identifier for item’s
category. Foreign key
to ARF_CATEGORY.ID
column.
3 Core Commerce Database Tables 51
Column Name Type Length Null
Allowed
Description
CUSTOMER_ID int No Identifier for the
customer who made the
purchase. Foreign key to
ARF_USER.ID column.
NCUSTOMER_ID varchar 40 Yes The natural identifier of
the customer.
AGENT_ID varchar 40 Yes Identifier for the agent,
if any, who participated
in the order. Foreign key
to ARF_IU_USER.ID
column.
ORIGIN_SALES_CHANNEL_ID numeric or
tinyint
1 Yes Identifier for sales channel
that originated the
order. Foreign key to
ARF_SALES_CHANNEL.ID
column.
SUBMIT_SALES_CHANNEL_ID numeric or
tinyint
1 Yes Identifier for sales channel
that completed the
order. Foreign key to
ARF_SALES_CHANNEL.ID
column.
STIM_GRP_ID smallint No Reference to the group
of stimuli that may
have stimulated the
order. Foreign key to
ARF_STIMGRP.ID
column.
SEGCLSTR_ID int No Identifier of segment
cluster of which
the customer is a
member. Foreign key
to ARF_SEGCLSTR.ID
column.
PROMOGRP_ID int No Identifier of promotion
group that applies to the
line item. Foreign key
to ARF_PROMOGRP.ID
column.
BILLING_REGION_ID smallint No Identifier for the region
of the customer’s billing
address. Foreign key to
ARF_GEO_REGION.ID
column.
52 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
SHIPPING_REGION_ID smallint No Identifier for the region of
the customer’s shipping
address. Foreign key to
ARF_GEO_REGION.ID
column.
LOCAL_CURRENCY_ID smallint No Currency in which
the line item was
purchased. Foreign key
to ARF_CURRENCY.ID
column.
DEMOGRAPHIC_ID smallint No Foreign key to
ARF_DEMOGRAPHIC_ID
column, which provides
references to age, marital
status, etc.
SITE_VISIT_ID bigint No ID of site visit.
ORDER_ID int No ID of order. Surrogate key.
LINE_ITEM_ID bigint No Identifier; primary key.
Surrogate key.
NORDER_ID varchar 40 No Natural key of order from
the Order repository.
NLINE_ITEM_ID varchar 40 No Natural key of line item
from the Order repository.
SESSION_ID varchar 128 Yes ID of the session in which
the order was placed.
QUANTITY double-
precision
No Quantity of this line item
ordered.
IS_MARKDOWN one-digit No Identifies whether the
item is subject to a
markdown. A marked
down item is sold at a
discount that is not part of
a promotion.
1 = Yes
0 = No
Defaults to 0.
3 Core Commerce Database Tables 53
Column Name Type Length Null
Allowed
Description
LOCAL_UNIT_PRICE double No Unit price in the local
currency. The field length
is 19 digits, with 7 digits to
the left of the decimal and
12 to the right.
LOCAL_GROSS_REVENUE double No Revenue before
adjustments due to
discounts, taxes, and
shipping, in the local
currency. Equal to unit
price * quantity.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_DISCOUNT_AMOUNT double No Any discount applied to
this specific line item, in
the local currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_MARKDOWN_DISC_AMOUNT double No The amount of markdown
discount applied to this
line item in the local
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_ORDER_TAX_ALLOC double No Amount of tax on the
order that is allocated to
this line item, in the local
currency. The allocation
is determined by the
processing pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
54 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
LOCAL_ORDER_SHIPPING_ALLOC double No Amount of shipping
on the order that is
allocated to this line
item. The allocation
is determined by the
processing pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_ORDER_DISCOUNT_ALLOC double No Amount of any order-
level discounts that
are allocated to this
line item, in the local
currency. The allocation
is determined by the
processing pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_NET_REVENUE double No Revenue after
adjustments due to
discounts, taxes, and
shipping, in the local
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_ORDER_NET_REVENUE double No Revenue for the entire
order of which this
line item is a part, after
adjustments due to
discounts, taxes, and
shipping, in the local
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
3 Core Commerce Database Tables 55
Column Name Type Length Null
Allowed
Description
LOCAL_APPSMT_DBT_ALLOC_AMT double Yes The amount allocated to
this line item from a debit
to the order made by a
Commerce Service Center
agent. The amount is in
the local currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_APPSMT_CDT_ALLOC_AMT double Yes The amount allocated to
this line item from a credit
to the order made by a
Commerce Service Center
agent. The amount is in
the local currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
LOCAL_PRICE_OVERRIDE_AMT double Yes Price override performed
by a Commerce Service
Center agent on a
commerce item in
the order, in the local
currency.
STANDARD_UNIT_PRICE double No Unit price in the reporting
currency. The field length
is 19 digits, with 7 digits to
the left of the decimal and
12 to the right.
STANDARD_GROSS_REVENUE double No Revenue before
adjustments due to
discounts, taxes, and
shipping, in the reporting
currency. Equal to unit
price * quantity.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
56 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
STANDARD_DISCOUNT_AMOUNT double No Any discount applied to
this specific line item, in
the reporting currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_MARKDOWN_DISC_AMOUNT double No The amount of markdown
discount applied to this
line item in the standard
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_ORDER_TAX_ALLOC double No Amount of tax on the
order that is allocated
to this line item, in the
reporting currency. The
allocation is determined
by the processing
pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_ORDER_SHIPPING_ALLOC double No Amount of shipping
on the order that is
allocated to this line
item, in the reporting
currency. The allocation
is determined by the
processing pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
3 Core Commerce Database Tables 57
Column Name Type Length Null
Allowed
Description
STANDARD_ORDER_DISCOUNT_ALLOC double No Amount of any order-
level discount that is
allocated to this line
item, in the reporting
currency. The allocation
is determined by the
processing pipeline.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_NET_REVENUE double No Revenue after
adjustments due to
discounts, taxes, and
shipping, in the reporting
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_ORDER_NET_REVENUE double No Revenue for the entire
order of which this
line item is a part, after
adjustments due to
discounts, taxes, and
shipping, in the reporting
currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_APPSMT_DBT_ALLOC_AMT double Yes The amount allocated to
this line item from a debit
to the order made by a
Commerce Service Center
user. The amount is in the
reporting currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
58 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
STANDARD_APPSMT_CDT_ALLOC_AMT double Yes The amount allocated to
this line item from a credit
to the order made by a
Commerce Service Center
user. The amount is in the
reporting currency.
The field length is 19
digits, with 7 digits to the
left of the decimal and 12
to the right.
STANDARD_PRICE_OVERRIDE_AMT double Yes Price override performed
by a Commerce Service
Center agent on a
commerce item in the
order, in the reporting
currency
SUBMITTED_SITE_ID smallint No The site on which the
order was submitted.
Foreign key to
ARF_SITE.ID.
ORIGIN_SITE_ID smallint No The site on which the
order was originally
created. Foreign key to
ARF_SITE.ID.
ITEM_SITE_ID smallint No The site on which the
item was added to the
order. Foreign key to
ARF_SITE.ID.
IS_COUPON_APPLIED one-digit No A boolean value that
indicates whether a
coupon was applied to
the purchase transaction
0 = false
1 = true
ORGANIZATION_ID int Yes Indicates an individual
organization used during
the creation of orders.
3 Core Commerce Database Tables 59
ARF_RET_REASON_DISPOSITION
This table stores the potential reasons for which customer returns are accepted. Reasons and dispositions are
configured using Commerce Service Center.
Column Name Type Length Null Allowed Description
ID int No Identifier; primary key.
NREASON_ID varchar 40 No Natural key for the return reason.
DESCRIPTION varchar 254 Yes Return reason description in the
default language.
DESCRIPTION_EN varchar 254 Yes Return reason description in English.
DISPOSITION one-digit Yes Defaults to 0.
ARF_RETURN_ITEM
This table contains data about returned items.
Column Name Type Length Null
Allowed
Description
SUBMIT_TIMESTAMP timestamp Yes The date and time a return was
submitted.
SUBMIT_DAY_ID varchar 40 No Identifier of the day on which the
return was submitted. Foreign key
to ARF_TIME_DAY.ID column.
SUBMIT_TIME_ID int No Identifier of the time at which the
return was submitted. Foreign key
to the ARF_TIME_TOD.ID column.
SKU_ID int No SKU of the item being returned.
Foreign key to the ARF_SKU.ID
column.
PRODUCT_ID int No Product being returned. Foreign key
to the ARF_PRODUCT.ID column.
CUSTOMER_ID int No Customer returning the product.
Foreign key to the ARF_USER.ID
column.
60 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
LOCAL_CURRENCY_ID smallint No Currency in which the return
was made. Foreign key to the
ARF_CURRENCY.ID column.
NRETURN_ID varchar 40 No Natural key of the return.
NORIGINAL_ORDER_ID varchar 40 No Natural key of the order in which
the returned item was purchased.
NEXCHANGE_ORDER_ID varchar 40 Yes When a user returns an item and
exchanges it for another item, the
exchange is considered a new order,
which is referenced by this column.
RETURN_ITEM_ID bigint No Identifier. Primary key for this table.
NRETURN_ITEM_ID varchar 40 No Natural key for the return.
QUANTITY double-
precision
No Quantity of the item returned.
EXCHANGE one-digit No Indicates that the return was made
as part of an exchange.
1 = Yes
0 = No
Defaults to 0.
RETURN_SALES_CHANNEL numeric
or tinyint
1 No Channel through which the return
was performed. Foreign key to
ARF_SALES_CHANNEL.ID column.
AGENT_ID varchar 40 No Agent involved in the return, if any.
Foreign key to ARF_IU_USER.ID
column.
RETURN_REASON_ID int No Reason for which the item was
returned. Foreign key to the
ARF_RET_REASON_DISPOSITION.ID
column.
ITEM_SITE_ID smallint No The site on which the returned item
was added to the order. Foreign key
to ARF_SITE.ID.
SUBMITTED_SITE_ID smallint No The site on which the order for
the returned item was submitted.
Foreign key to ARF_SITE.ID.
3 Core Commerce Database Tables 61
Column Name Type Length Null
Allowed
Description
LOCAL_ITEM_REFUND double No Refund amount for the item in the
local currency.
LOCAL_TOTAL_REFUND double No Total refund for this line item
including all adjustments, in the
local currency.
LOCAL_TOTAL_ADJ_ALLOC double No Total adjustments allocated for this
return, including shipping, fees,
taxes, etc., in the local currency.
LOCAL_SHIPPING_REFUND_ALLOC double No Amount of shipping on the return
that is allocated to this line item, in
the local currency. The allocation
is determined by the processing
pipeline
LOCAL_TAX_REFUND_ALLOC double No Amount of tax on the return that
is allocated to this line item, in
the local currency. The allocation
is determined by the processing
pipeline
LOCAL_OTHER_REFUND_ALLOC double No Amount of any additional refund
not accounted for elsewhere that
is allocated to this line item, in the
local currency.
LOCAL_RETURN_FEE_ALLOC double No Amount of any return fee applied to
this line item, in the local currency.
The allocation is determined by the
processing pipeline
STD_ITEM_REFUND double No Refund amount for the item in the
reporting currency.
STD_TOTAL_REFUND double No Total refund for this line item,
including all adjustments, in the
standard currency.
STD_TOTAL_ADJ_ALLOC double No Total adjustments allocated for this
return, including shipping, fees,
taxes, etc., in the standard currency.
STD_SHIPPING_REFUND_ALLOC double No Amount of shipping on the return
that is allocated to this line item,
in the standard currency. The
allocation is determined by the
processing pipeline
62 3 Core Commerce Database Tables
Column Name Type Length Null
Allowed
Description
STD_TAX_REFUND_ALLOC double No Amount of tax on the return that
is allocated to this line item, in the
standard currency. The allocation
is determined by the processing
pipeline
STD_OTHER_REFUND_ALLOC double No Amount of any additional refund
not accounted for elsewhere that
is allocated to this line item, in the
reporting currency.
STD_RETURN_FEE_ALLOC double No Amount of any return fee applied
to this line item, in the standard
currency. The allocation is
determined by the processing
pipeline
4 Commerce Service Center Database Tables 65
4 Commerce Service Center Database
Tables
This chapter describes the tables in the data warehouse that are used by Oracle Commerce Service Center. This
application also uses tables described in the Core Commerce Database Tables (page 37) and Common Database
Tables (page 3) chapters.
This chapter includes the following section:
ARF_CALL (page 65)
Commerce Service Center ERD (page 66)
ARF_CALL
This table includes information about calls received by the Commerce Service Center.
Column Name Type Length Null Allowed Description
ID number No Identifier; primary key.
NCALL_ID varchar 40 No Natural ID for the call.
RECEIVED_DAY_ID varchar 40 No Day the call was
received; foreign key to
ARF_TIME_DAY.ID.
RECEIVED_TIME_ID number No Time the call was
received; foreign key to
ARF_TIME_TOD.ID.
CUSTOMER_ID number No Customer involved in the call;
foreign key to ARF_USER.ID.
AGENT_ID varchar 40 No Agent involved in the
call; foreign key to
ARF_IU_USER.ID.
66 4 Commerce Service Center Database Tables
Column Name Type Length Null Allowed Description
END_DAY_ID varchar 40 No Day the call ended; foreign key
to ARF_TIME_DAY.ID.
END_TIME_ID number No Time the call ended; foreign key
to ARF_TIME_TOD.ID.
TOTAL_CALL_TIME_SECONDS number No Duration of the call in seconds.
Commerce Service Center ERD
5 Aggregated Data 67
5 Aggregated Data
The data warehouse includes aggregated data that is calculated based on the data stored in the transaction fact
tables. Components running on the data warehouse loader server refresh the calculated data at regular intervals
so that it is available for reports. Performing intensive calculations before they are needed improves the speed of
the queries that use the calculated data.
The aggregated data calculations are presented as virtual tables by materialized views in Oracle Database
schemas. Other supported database products provide views or other comparable functions to make aggregated
data available. See Aggregated Data Tables (page 67).
The views that contain aggregated data include columns that group the data according to related dimensional
information. For example, the ARF_SITE_VISIT_MV view includes a DAY_ID column. Each value in this
grouping column represents one calendar day. The calculations in each row are restricted to data associated
with the calendar day in the DAY_ID column. Multiple grouping columns in a view restrict the calculations to the
data that is associated with the dimensional information in each grouping column.
See information about the data warehouse loader server components that refresh the aggregated data in
Refreshing Aggregated Data (page 82).
Aggregated Data Tables
This section provides information about the view virtual tables that hold aggregated data in the data
warehouse.
ARF_SITE_VISIT_MV
The ARF_SITE_VISIT_MV view provides aggregated data about site visits. The calculated values are based on
information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular day and site.
Column Name Type Length Null
Allowed
Description
NUM_VISITS numeric Yes The number of site visits that
correspond to the day and site.
This value counts rows in the
ARF_SITE_VISIT table.
68 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site
page views for the day
and site. This value sums
ARF_SITE_VISIT.NUM_PAGE_VIEWS
column values that correspond to
the grouping column values.
TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP
sessions, in seconds, for the
day and site. This value sums
ARF_SITE_VISIT.DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in Web site visits for
the day and site. This value sums
ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in HTTP sessions for
the day and site. This value sums
ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site
visitors spend visiting a site
for the day. This value sums
ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS
column values that correspond to
the grouping column values.
5 Aggregated Data 69
ARF_SITE_VISIT_MV_HOUR
The ARF_SITE_VISIT_MV_HOUR table provides aggregated data about site visits. The calculated values are
based on information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular hour,
day, and site.
Column Name Type Length Null
Allowed
Description
NUM_VISITS numeric Yes The number of site visits that
correspond to the hour, day, and
site. This value counts rows in the
ARF_SITE_VISIT table.
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
HOUR_OF_DAY tinyint No A reference to a value in the
ARF_TIME_TOD.HOUR_OF_DAY
column.
SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site
page views for the hour, day,
and site. This value sums
ARF_SITE_VISIT.NUM_PAGE_VIEWS
column values that correspond to
the grouping column values.
TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP sessions,
in seconds, for the hour, day,
and site. This value sums
ARF_SITE_VISIT.DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in Web site visits for the
hour, day, and site. This value sums
ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS
column values that correspond to
the grouping column values.
70 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in HTTP sessions for the
hour, day, and site. This value sums
ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site
visitors spend visiting a site for
the hour and day. This value sums
ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS
column values that correspond to
the grouping column values.
ARF_SITE_VISIT_MV_VISITOR
The ARF_SITE_VISIT_MV_VISITOR view provides aggregated data about site visits. The calculated values
are based on information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular
external user, day, and site.
Column Name Type Length Null
Allowed
Description
NUM_VISITS numeric Yes The number of site visits that
correspond to the day, site and
user. This value counts rows in the
ARF_SITE_VISIT table.
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
VISITOR_ID integer No A reference to a value in the
ARF_USER.ID column.
5 Aggregated Data 71
Column Name Type Length Null
Allowed
Description
TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site
page views for the user, day,
and site. This value sums
ARF_SITE_VISIT.NUM_PAGE_VIEWS
column values that that
correspond to the grouping
column values.
TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP
sessions for the user, day,
and site. This value sums
ARF_SITE_VISIT.DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in Web site visits for the
user, day, and site. This value sums
ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods
between the first and last HTTP
requests in HTTP sessions for the
user, day, and site. This value sums
ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS
column values that correspond to
the grouping column values.
TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site
visitors spend visiting a site for
the user and day. This value sums
ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS
column values that correspond to
the grouping column values.
ARF_REGISTRATION_MV
The ARF_REGISTRATION_MV view provides aggregated data about external user registration events. The
calculated values are based on information in the ARF_REGISTRATION table. The values in each row are
constrained to a particular day and site.
72 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
NUM_REGISTRATIONS numeric Yes The number of external
registrations that correspond to
the day and site. This value counts
rows in the ARF_REGISTRATION
table.
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
ARF_LINE_ITEM_MV_PRODUCT
The ARF_LINE_ITEM_MV_PRODUCT view provides aggregated data about line items associated with customer
purchases. The calculated values are based on information in the ARF_LINE_ITEM table. The values in each row
are constrained to a particular day, site, sales channel, segment cluster, internal agent, and product.
Column Name Type Length Null
Allowed
Description
NUM_LINE_ITEMS numeric Yes The number of line items
in customer purchases that
correspond to the day, site,
sales channel, segment cluster,
internal agent, and product.
This value counts rows in the
ARF_LINE_ITEM table.
SUBMIT_DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SUBMIT_SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
SUBMIT_SALES_CHANNEL_ID tinyint Yes A reference to a value in the
ARF_SALES_CHANNEL.ID column.
5 Aggregated Data 73
Column Name Type Length Null
Allowed
Description
SEGMENTCLUSTER_ID integer No A reference to a value in the
ARF_SEGCLSTR.ID column.
AGENT_ID varchar 40 Yes A reference to a value in the
ARF_IU_USER.ID column.
PRODUCT_ID integer No A reference to a value in the
ARF_PRODUCT.ID column.
TOTAL_QUANTITY numeric Yes The number of product items
for the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.QUANTITY
column values that correspond to
the grouping column values.
TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product items
for the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_UNIT_PRICE
column values that correspond to
the grouping column values.
TOTAL_STD_NET_REVENUE numeric Yes The total revenue after
adjustments due to discounts,
taxes, and shipping for the day,
site, sales channel, segment
cluster, internal agent, and
product. This value sums
ARF_LINE_ITEM.STANDARD_NET_REVENUE
column values that correspond to
the grouping column values.
TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before
adjustments due to discounts,
taxes, and shipping for the day,
site, sales channel, segment
cluster, internal agent, and
product. This value sums
ARF_LINE_ITEM.STANDARD_GROSS_REVENUE
column values that correspond to
the grouping column values.
74 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
TOTAL_STD_DISCOUNT numeric Yes The total discounts applied
for the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown discounts
applied for the day, site,
sales channel, segment
cluster, internal agent, and
product. This value sums
ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping costs
for the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax amounts
for the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level
discounts applied for the day,
site, sales channel, segment
cluster, internal agent, and
product. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits
applied by internal agents for
the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT
column values that correspond to
the grouping column values.
5 Aggregated Data 75
Column Name Type Length Null
Allowed
Description
TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits
applied by internal agents for
the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT
column values that correspond to
the grouping column values.
TOTAL_STD_PRICE_OVERRIDE numeric Yes The total value of price overrides
applied by internal agents for
the day, site, sales channel,
segment cluster, internal agent,
and product. This value sums
ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT
column values that correspond to
the grouping column values.
ARF_LINE_ITEM_MV_SUPPL_ORDERS
The ARF_LINE_ITEM_MV_SUPPL_ORDERS view provides aggregated data about customer purchase
transactions, or orders. The calculated values are based on information in the ARF_LINE_ITEM table. The values
in each row are constrained to a particular day, site, and customer order.
Column Name Type Length Null
Allowed
Description
NUM_LINE_ITEMS numeric Yes The number of line items
in customer purchases that
correspond to the day, site, and
order. This value counts rows in the
ARF_LINE_ITEM table.
SUBMIT_DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SUBMIT_SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
ORDER_ID integer No The identifier of a particular
customer purchase transaction.
76 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
TOTAL_QUANTITY numeric Yes The number of product items for
the day, site, and order. This value
sums ARF_LINE_ITEM.QUANTITY
column values that correspond to
the grouping column values.
TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product
items for the day, site, and
order. This value sums
ARF_LINE_ITEM.STANDARD_UNIT_PRICE
column values that correspond to
the grouping column values.
TOTAL_STD_NET_REVENUE numeric Yes The total revenue after
adjustments due to discounts,
taxes, and shipping for the day,
site, and order. This value sums
ARF_LINE_ITEM.STANDARD_NET_REVENUE
column values that correspond to
the grouping column values.
TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before
adjustments due to discounts,
taxes, and shipping for the day,
site, and order. This value sums
ARF_LINE_ITEM.STANDARD_GROSS_REVENUE
column values that correspond to
the grouping column values.
TOTAL_STD_DISCOUNT numeric Yes The total discounts applied for the
day, site, and order. This value sums
ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown discounts
applied for the day, site,
and order. This value sums
ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping
costs for the day, site, and
order. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC
column values that correspond to
the grouping column values.
5 Aggregated Data 77
Column Name Type Length Null
Allowed
Description
TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax
amounts for the day, site,
and order. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level discounts
applied for the day, site,
and order. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits
applied by internal agents for the
day, site, and order. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT
column values that correspond to
the grouping column values.
TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits
applied by internal agents for the
day, site, and order. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT
column values that correspond to
the grouping column values.
TOTAL_STD_PRICE_OVERRIDE numeric Yes The total value of price overrides
applied by internal agents for the
day, site, and order. This value sums
ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT
column values that correspond to
the grouping column values.
ARF_LINE_ITEM_MV_UNIQUE_ORDERS
The ARF_LINE_ITEM_MV_UNIQUE_ORDERS view provides aggregated data about line items and
orders associated with customer purchases. The calculated values are based on information in the
ARF_LINE_ITEM_MV_SUPPL_ORDERS table. The values in each row are constrained to a particular day, site, sales
channel, segment cluster, internal agent, and product.
78 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
NUM_LINE_ITEMS numeric Yes The number of line items
in customer purchases that
correspond to the day and site.
This value counts rows in the
ARF_LINE_ITEM_MV_SUPPL_ORDERS
table.
NUM_ORDERS numeric Yes The number of line items
in customer purchases that
correspond to the day and site. This
value counts unique, or distinct,
ORDER_ID column values in the
ARF_LINE_ITEM_MV_SUPPL_ORDERS
table.
SUBMIT_DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SUBMIT_SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
TOTAL_QUANTITY numeric Yes The number of product items
for the day and site. This value
sums ARF_LINE_ITEM.QUANTITY
column values that correspond to
the grouping column values.
TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product items
for the day and site. This value sums
ARF_LINE_ITEM.STANDARD_UNIT_PRICE
column values that correspond to
the grouping column values.
TOTAL_STD_NET_REVENUE numeric Yes The total revenue after
adjustments due to discounts,
taxes, and shipping for the
day and site. This value sums
ARF_LINE_ITEM.STANDARD_NET_REVENUE
column values that correspond to
the grouping column values.
5 Aggregated Data 79
Column Name Type Length Null
Allowed
Description
TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before
adjustments due to discounts,
taxes, and shipping for the
day and site. This value sums
ARF_LINE_ITEM.STANDARD_GROSS_REVENUE
column values that correspond to
the grouping column values.
TOTAL_STD_DISCOUNT numeric Yes The total discounts applied for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown
discounts applied for the
day and site. This value sums
ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping costs for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax amounts for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level
discounts applied for the
day and site. This value sums
ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC
column values that correspond to
the grouping column values.
TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits
applied by internal agents for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT
column values that correspond to
the grouping column values.
80 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits
applied by internal agents for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT
column values that correspond to
the grouping column values.
TOTAL_STD_PRICE_OVERRIDEnumeric Yes The total value of price overrides
applied by internal agents for
the day and site. This value sums
ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT
column values that correspond to
the grouping column values.
ARF_PROMOTION_USAGE_MV
The ARF_PROMOTION_USAGE_MV view provides aggregated data about purchases that involve promotions. The
calculated values are based on information in the ARF_PROMOTION_USAGE table. The values in each row are
constrained to a particular day, site, and promotion.
Column Name Type Length Null
Allowed
Description
NUM_PROMOS_USED numeric Yes The number of purchases that
involve the promotion and that
correspond to the day and site.
This value counts rows in the
ARF_PROMOTION_USAGE table.
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
SITE_ID smallint No A reference to a value in the
ARF_SITE.ID column.
PROMOTION_ID smallint No A reference to a value in the
ARF_PROMOTION.ID column.
5 Aggregated Data 81
Column Name Type Length Null
Allowed
Description
TOTAL_QUANTITY numeric Yes The number of purchased
items for the day, site, and
promotion. This value sums
ARF_PROMOTION_USAGE.QUANTITY
column values that correspond to
the grouping column values.
TOTAL_STD_DISCOUNT numeric Yes The total amount of discounts
applied as a result of the
promotion for the day
and site. This value sums
ARF_PROMOTION_USAGE.STANDARD_DISCOUNT_AMOUNT
column values that correspond to
the grouping column values.
TOTAL_STD_ORD_NET_REVENUEnumeric Yes The total value of purchases
that involve the promotion,
minus the discounts applied as
a result of the promotion for the
day and site. This value sums
ARF_PROMOTION_USAGE.STANDARD_ORDER_NET_REVENUE
column values that correspond to
the grouping column values.
TOTAL_STD_NET_REVENUE numeric Yes The total value of the items
that involve the promotion,
minus the discounts applied as
a result of the promotion for the
day and site. This value sums
ARF_PROMOTION_USAGE.STANDARD_NET_REVENUE
column values that correspond to
the grouping column values.
ARF_CALL_MV
The ARF_CALL_MV view provides aggregated data about calls received by the Commerce Service Center. The
calculated values are based on information in the ARF_CALL table. The values in each row are constrained to a
particular day and customer service agent.
Column Name Type Length Null
Allowed
Description
NUM_CALLS numeric Yes The number of customer service
calls that correspond to the day and
customer service agent. This value
counts rows in the ARF_QUERY
table.
82 5 Aggregated Data
Column Name Type Length Null
Allowed
Description
DAY_ID varchar 40 No A reference to a value in the
ARF_TIME_DAY.ID column.
DAY_TIMESTAMP timestamp No A reference to a value in the
ARF_TIME_DAY.DAY_TIMESTAMP
column.
AGENT_ID varchar 40 No A reference to a value in the
ARF_IU_USER.ID column.
TOTAL_CALL_TIME_SECONDS numeric Yes The total length, in seconds,
of the customer service calls
for the day and customer
service agent. This value sums
ARF_QUERY.RESPONSE_TIME
column values that correspond to
the grouping column values.
Refreshing Aggregated Data
Update the aggregated data in the views after the data warehouse loader server completes loading new
reporting information. The /atg/reporting/datawarehouse/refresh/RefreshService component on
the data warehouse server is configured to update the aggregated data according to a schedule. By default, it
updates the aggregated data every day at 06:00 server time.
Set the schedule property of the /atg/reporting/datawarehouse/refresh/RefreshService if you need
to alter the time that this component updates your aggregated data. The RefreshService component uses
the Oracle Commerce Core Platform scheduling services. See information about the scheduling services and
configuring a schedule in the Platform Programming Guide.
Refreshing Individual Views
The /atg/reporting/datawarehouse/refresh/RefreshService component invokes a list of other
components that refresh individual views. If you need finer control of the refreshing schedule for individual
views, set the schedule property of one of the individual refresh launchers. The individual view refresh launcher
components are:
• /atg/reporting/datawarehouse/refresh/sitevisit/SiteVisitRefreshLauncher
• /atg/reporting/datawarehouse/refresh/registration/RegistrationRefreshLauncher
• /atg/reporting/datawarehouse/refresh/call/CallRefreshLauncher
• /atg/reporting/datawarehouse/refresh/lineitem/LineItemRefreshLauncher
• /atg/reporting/datawarehouse/refresh/promotionusage/PromotionUsageRefreshLauncher
5 Aggregated Data 83
Remove an individual view refresh launcher component from the list that atg/reporting/datawarehouse/
refresh/RefreshService invokes if you schedule it individually. The list of individual view refresh launcher
components is stored in the refreshables property of atg/reporting/dataware.
Index 85
Index
Aaggregated data, 67
CCommerce Service Center
tables, 65
Core Commerce
tables, 37
currency table, 31
Ddata model, 1
data warehouse, 1
demographic tables, 15
Eexternal user tables, 12
Iinternal user tables, 10
Mmaterialized views, 67
Pplatform tables, 3
Rreferrer table, 32
registration table, 33
Ssegment tables, 20
site table, 23
site visit table, 26
site visits
duration, 28
sites
unregistered, 25
stimulus tables, 22
Ttime tables, 3
Uunregistered sites, 25
users
external, tables for, 12
internal, tables for, 10