atg data warehouse guide - product version: 10.1 - oracle help
TRANSCRIPT
ATG Data Warehouse Guide
Product version: 10.1
Release date: 03-14-12
Document identifier: AciDataWarehouseGuide1405051316
Copyright © 1997, 2012 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 software or related documentation 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 RIGHTS
Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial
computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific
supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and
license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the
additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle
Parkway, Redwood City, CA 94065.
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.
The software is based in part on the work of the Independent JPEG Group.
This software or hardware and documentation may provide access to or information on 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. 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.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/us/
corporate/accessibility/index.html.
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/support/
contact.html or visit http://www.oracle.com/accessibility/support.html if you are hearing impaired.
ATG 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
Question Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
ARF_QUESTION_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
ARF_QUESTION_TYPE_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
ARF_QUESTION_TYPE_GROUP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
ARF_QUESTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
iv ATG Data Warehouse Guide
ARF_SEARCH_NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ARF_SEARCH_NUMBER_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ARF_SEARCH_NUMBER_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Site Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ARF_SITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Unregistered Sites in Oracle ATG Web Commerce Business Intelligence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Site Visit Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Site Visit Durations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
TOTAL_ELAPSED_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
SITE_VISIT_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
RESOURCE_DURATION_SECONDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Currency Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Referrer Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Registration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Platform ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3. Commerce Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
ARF_CURRENCY_CONV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
ARF_CATEGORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
ARF_COUPON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
ARF_PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
ARF_SKU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
ARF_PROMOTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
ARF_PROMOTION_USAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
ARF_PROMOGRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
ARF_PROMOGRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
ARF_SALES_CHANNEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
ARF_LINE_ITEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
ARF_RET_REASON_DISPOSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
ARF_RETURN_ITEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Commerce ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4. Commerce Service Center Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
ARF_CALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Commerce Service Center ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5. Knowledge Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
KDW_CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
KDW_SOLNCLASS_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
KDW_SOLNSTATUS_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
KDW_AUD_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
KDW_ACT_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
KDW_OWNGROUP_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
KDW_SOLN_DIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
KDW_SOLN_AUD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
KDW_SOLN_TOPIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
KDW_SESSACTPK_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
KDW_PSESSACTPK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
KDW_SACTTOTPK_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
KDW_PSACTTOTPK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
KDW_AGENTACT_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
KDW_SOLNACT_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Knowledge ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6. Self Service Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
SSVC_CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
ATG Data Warehouse Guide v
SSVC_SESSINIT_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
SSVC_ESCATM_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
SSVC_DEESCATM_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
SSVC_ESCCMP_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
SSVC_DEESCSUC_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
SSVC_DEESCUNS_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
SSVC_SESSPROC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Self Service ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
7. Outreach Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
ARF_CAMPAIGN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
ARF_CAMPAIGN_STAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
ARF_CAMPAIGN_ACTION_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
ARF_CAMPAIGN_ACTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
ARF_CAMPAIGN_EVENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
ARF_LANDING_PAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
ARF_EMAIL_DOMAIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
ARF_CAMPAIGN_ENTERED_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
ARF_CAMPAIGN_ACTION_FACT_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
ARF_CAMPAIGN_ACTION_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
ARF_CAMPAIGN_AUDIT_TRAIL_FACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Outreach ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
8. Search Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
ARF_SEARCH_PROJECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
ARF_SEARCH_ENVIRONMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
ARF_QUERY_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
ARF_CONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
ARF_SEARCH_TOPIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
ARF_TOPIC_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
ARF_TOPIC_GROUP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
ARF_WORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
ARF_WORD_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
ARF_WORD_GROUP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
ARF_DICTIONARY_ADAPTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
ARF_CUSTOM_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
ARF_CUSTTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ARF_CUSTTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ARF_FINDER_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ARF_FINDTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ARF_FINDTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ARF_NULL_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
ARF_NULLTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
ARF_NULLTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
ARF_NULX_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
ARF_NULXTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
ARF_NULXTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
ARF_PROFILE_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
ARF_SEARCH_CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
ARF_SEARCH_RULE_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
ARF_SEARCH_RULE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
ARF_SEARCH_RULE_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
ARF_SEARCH_RULE_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
ARF_SRCH_SITE_CONSTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
ARF_SRCH_SITE_CONSTR_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
vi ATG Data Warehouse Guide
ARF_QUERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
ARF_VIEW_CONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
ARF_SEARCH_SITE_VISIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Search ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
1 Introduction 1
1 Introduction
This book provides information about the data warehouse component of Oracle ATG Web 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 ATG Web Commerce 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
ATG Business Intelligence Installation and Configuration Guide.
• See information about the Oracle Business Intelligence analyses and dashboards provided with Oracle ATG
Web Commerce in the ATG 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 <ATG10dir>.
Data Model for Oracle Business Intelligence
Oracle ATG Web Commerce Business Intelligence includes a data model for use with Oracle Business Intelligence.
The data model is an intermediate layer that connects the Oracle ATG Web Commerce 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 ATG data warehouse database tables created by the arf_ddl.sql script. These
tables are used for many ATG 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)
Question Tables (page 23)
Site Table (page 26)
Site Visit Table (page 28)
Currency Table (page 34)
Referrer Table (page 35)
Registration Table (page 36)
Platform ERD (page 38)
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 ATG Knowledge are internal users, while customers at an ATG
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 ATG 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 ATG 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
ATG Outreach campaign 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.
Question Tables
The question tables hold information about searches performed using ATG Search.
24 2 Common Database Tables
ARF_QUESTION_TYPE
Reference table containing the different types of questions end users can issue. Types vary by language and are
determined by the Search engine. They can include values such as OneWordQuery and YesNoQuestion.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 40 No Question type name in the
default language.
NAME_EN varchar 40 Yes Question type name in
English.
ARF_QUESTION_TYPE_GROUP
This table identifies which question type or types a query belongs to.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Question type group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Length of the group.
ARF_QUESTION_TYPE_GROUP_MBRS
Relates question type groups to question types.
Column Name Type Length Null
Allowed
Description
QUESTION_TYPE_GROUP_ID smallint No Foreign key to
ARF_QUESTION_TYPE_GROUP.ID;
primary key component.
QUESTION_TYPE_ID smallint No Foreign key to
ARF_QUESTION_TYPE.ID; primary
key component.
2 Common Database Tables 25
ARF_QUESTION
This table stores queries submitted by Search end users.
Column Name Type Length Null
Allowed
Description
ID smallint No Identifier; primary key.
NORMAL_QUESTION varchar 2000 No Normalized version of the end
user’s question, used for grouping.
Truncated if it exceeds the
maximum length.
QUESTION varchar 2000 No Exact question entered by end user.
QUESTION_TYPE_GROUP_ID integer No Foreign key to
QUESTION_TYPE_GROUP.ID.
QUESTION_NUMBER_GROUP_ID integer No Foreign key to
ARF_SEARCH_NUMBER_GROUP.ID.
WORD_COUNT integer No Number of words in the input
question.
ARF_SEARCH_NUMBER
This table stores numbers used in end user searches.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
QUANTITY Varchar 40 No Stores the actual number
that appears in the search.
ARF_SEARCH_NUMBER_GROUP
This table contains information about numbers used in end user searches. Numbers that appear together in a
query are considered a group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Name of the group.
26 2 Common Database Tables
Column Name Type Length Null Allowed Description
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the number group.
ARF_SEARCH_NUMBER_GRP_MBRS
This table maps items in the ARF_SEARCH_NUMBER table to items in ARF_SEARCH_NUMBER_GROUPS.
Column Name Type Length Null
Allowed
Description
SEARCH_NUMBER_GROUP_ID smallint No Primary key component; foreign key
to ARF_SEARCH_NUMBER_GROUP.ID.
SEARCH_NUMBER_ID integer No Primary key component; foreign key
to ARF_SEARCH_NUMBER.ID.
Site Table
ARF_SITE
The ARF_SITE table stores information about the ATG Commerce sites you have configured. See information
about the site configurations that are recorded in the table in the ATG Multisite Administration Guide.
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.
2 Common Database Tables 27
Column Name Type Length Null Allowed Description
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.
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.
28 2 Common Database Tables
Column Name Type Length Null Allowed Description
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 ATG Web Commerce Business Intelligence
ATG Commerce Web sites may be registered or unregistered. Registered sites are configured using the Site
Administration utility in the BCC. The Site Administration utility supports multiple sites and it logs distinguishing
information about each site that is loaded into the data warehouse. See the ATG Multisite Administration Guide.
Unregistered sites are configured without using the Site Administration utility. Only one unregistered site may
be configured and ATG Commerce does not log the distinguishing site information that would be included in
the data warehouse ARF_SITE (page 26) table.
If your ATG Commerce site is unregistered, Oracle ATG Web 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
Site Visit Table
The ARF_SITE_VISIT table stores information about visits to the ATG Commerce sites you have configured. The
table includes one row per visit to a site.
2 Common Database Tables 29
Column Name Type Length Null
Allowed
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.
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.
30 2 Common Database Tables
Column Name Type Length Null
Allowed
Description
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.
DURATION_SECONDS smallint No Duration of the HTTP
session in seconds. See
DURATION_SECONDS (page 31).
2 Common Database Tables 31
Column Name Type Length Null
Allowed
Description
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
32).
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
32).
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
33).
Site Visit Durations
Oracle ATG Web 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.
32 2 Common Database Tables
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
2 Common Database Tables 33
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.
34 2 Common Database Tables
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.
2 Common Database Tables 35
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.
36 2 Common Database Tables
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 ATG
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.
2 Common Database Tables 37
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 Commerce Database Tables 39
3 Commerce Database Tables
This chapter describes the tables in the ATG data warehouse that are used by ATG Commerce. Some of these
tables are also used by Oracle ATG Web Commerce Service Center. Tables are created by the arf_dcs_ddl.sql
script.
This chapter includes the following sections:
ARF_CURRENCY_CONV (page 39)
ARF_CATEGORY (page 40)
ARF_PRODUCT (page 43)
ARF_SKU (page 44)
ARF_PROMOTION (page 46)
ARF_PROMOTION_USAGE (page 47)
ARF_PROMOGRP (page 50)
ARF_PROMOGRP_MBRS (page 51)
ARF_SALES_CHANNEL (page 51)
ARF_LINE_ITEM (page 52)
ARF_RET_REASON_DISPOSITION (page 61)
ARF_RETURN_ITEM (page 61)
Commerce ERD (page 65)
ARF_CURRENCY_CONV
This table holds information used to convert currencies in customer orders.
40 3 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 Commerce Database Tables 41
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 Oracle ATG Web Commerce.
42 3 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 Commerce Database Tables 43
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.
44 3 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 Commerce Database Tables 45
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
46 3 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 Commerce Database Tables 47
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.
48 3 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 Commerce Database Tables 49
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 integer 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.
50 3 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
ARF_PROMOGRP
This table holds information about promotion groups.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Name of the promotion group.
3 Commerce Database Tables 51
Column Name Type Length Null Allowed Description
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.
DESCRIPTION varchar 254 Yes Sales channel description in the default
language.
52 3 Commerce Database Tables
Column Name Type Length Null Allowed Description
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 ATG 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 Commerce Database Tables 53
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.
54 3 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.
QUESTION_ID int No If the order in which the
line item occurs was
placed as the result of a
search performed on the
site, this column records
the question searched
on. There is a row to
represent an unspecified
question. Foreign key
to ARF_QUESTION.ID
column.
QUANTITY int No Quantity of this line item
ordered.
3 Commerce Database Tables 55
Column Name Type Length Null
Allowed
Description
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.
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.
56 3 Commerce Database Tables
Column Name Type Length Null
Allowed
Description
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.
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.
3 Commerce Database Tables 57
Column Name Type Length Null
Allowed
Description
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.
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.
58 3 Commerce Database Tables
Column Name Type Length Null
Allowed
Description
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.
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.
3 Commerce Database Tables 59
Column Name Type Length Null
Allowed
Description
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.
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.
60 3 Commerce Database Tables
Column Name Type Length Null
Allowed
Description
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.
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.
3 Commerce Database Tables 61
Column Name Type Length Null
Allowed
Description
IS_COUPON_APPLIED one-digit No A boolean value that
indicates whether a
coupon was applied to
the purchase transaction
0 = false
1 = true
ARF_RET_REASON_DISPOSITION
This table stores the potential reasons for which customer returns are accepted. Reasons and dispositions are
configured using ATG 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.
62 3 Commerce Database Tables
Column Name Type Length Null
Allowed
Description
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.
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 numeric 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.
3 Commerce Database Tables 63
Column Name Type Length Null
Allowed
Description
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.
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
64 3 Commerce Database Tables
Column Name Type Length Null
Allowed
Description
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
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 67
4 Commerce Service Center Database
Tables
This chapter describes the tables in the ATG data warehouse that are used Oracle ATG Web Commerce Service
Center. This application also uses tables described in the Commerce Database Tables (page 39) and Common
Database Tables (page 3) chapters.
This chapter includes the following section:
ARF_CALL (page 67)
Commerce Service Center ERD (page 68)
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.
68 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 Knowledge Database Tables 69
5 Knowledge Database Tables
This chapter describes the tables in the ATG data warehouse that are used exclusively by Oracle ATG Web
Knowledge Manager. Tables are created with the service_datawarehouse.sql script. Knowledge reports
also make use of the tables described in the Common Database Tables (page 3) chapter.
This chapter includes the following sections:
KDW_CONTROL (page 69)
KDW_SOLNCLASS_DIM (page 70)
KDW_SOLNSTATUS_DIM (page 70)
KDW_AUD_DIM (page 70)
KDW_ACT_DIM (page 71)
KDW_OWNGROUP_DIM (page 71)
KDW_SOLN_DIM (page 71)
KDW_SOLN_AUD (page 73)
KDW_SOLN_TOPIC (page 73)
KDW_SESSACTPK_FACT (page 73)
KDW_PSESSACTPK (page 74)
KDW_SACTTOTPK_FACT (page 74)
KDW_PSACTTOTPK (page 75)
KDW_AGENTACT_FACT (page 75)
KDW_SOLNACT_FACT (page 76)
Knowledge ERD (page 77)
KDW_CONTROL
The control record is used by the atg.reporting.summary.ReportSummaryService. It stores the time that
the last audit event was read by the summarization process. It contains the following columns:
70 5 Knowledge Database Tables
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
LAST_REPORT_TIME timestamp Yes Time the most recent report was
run.
KDW_SOLNCLASS_DIM
This table contains the list of solution classes. It includes the following columns:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NAME_EN varchar 255 No Solution class name in English.
DESC_EN varchar 255 Yes Solution class description in English.
KDW_SOLNSTATUS_DIM
This table contains the list of solution status options. It contains the following columns:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NAME_EN varchar 255 No Name of the status in English.
KDW_AUD_DIM
This table contains the list of audiences. It contains the following:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
5 Knowledge Database Tables 71
Column Name Type Length Null Allowed Description
NAME_EN varchar 255 No Name of the audience in English.
KDW_ACT_DIM
This table stores activities, which are shown in the Agent/Solution Activity reports. It contains the following:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NAME_EN varchar 255 No Activity name in English.
KDW_OWNGROUP_DIM
This table contains the list of owning groups. It includes the following:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
NAME_EN varchar 255 No Owning group name in English.
ORGANIZATION_ID varchar 40 Yes Organization to which the group
belongs. Foreign key to the
ARF_UI_ORG.ORGANIZATION_ID
column.
KDW_SOLN_DIM
This table contains the list of solutions. It includes the following:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
72 5 Knowledge Database Tables
Column Name Type Length Null Allowed Description
TITLE_EN varchar 2048 Yes Solution title.
CLASS_ID varchar 40 No Foreign key to the
KDW_SOLNCLASS_DIM.ID
column.
CHECKED_IN one-digit 1 No Flag indicating whether or not the
solution has been checked in.
DATE_CREATED timestamp No Date and time the solution was
created.
DATE_MODIFIED timestamp Yes Date and time the solution was
last modified.
DATE_DELETED timestamp Yes Date and time the solution was
deleted.
MODIFIED_BY_ID varchar 40 Yes User ID of the person who last
modified the solution. Foreign
key to the ARF_IU_USER.ID
column.
LAST_USE_DATE timestamp Yes Date and time the solution was
last used.
DELETED one-digit 1 Yes Indicates whether or not the
solution has been deleted.
1 = Yes
0 = No
STATUS_ID varchar 40 No Foreign key to the
KDW_SOLNSTATUS_DIM.ID
column.
OWNING_GROUP_ID varchar 40 Yes Foreign key to the
KDW_OWNGROUP_DIM.ID column.
PROFILE_ID varchar 40 No Foreign key to the
ARF_IU_USER.ID column.
BEST_BET one-digit 1 No Indicates whether or not the
solution is a Best Bet.
1 = Yes
0 = No
LANGUAGE_ID smallint No Foreign key to the
ARF_LANGUAGE.ID column.
5 Knowledge Database Tables 73
Column Name Type Length Null Allowed Description
USE_COUNT integer Yes The number of times that the
solution has been identified as a
recommended answer. This can
occur when an agent links a ticket
to the solution. It can also happen
when a self service user provides
positive feedback (four or five
stars) for the solution.
KDW_SOLN_AUD
This tables stores relationships between solutions and audiences. It includes the following:
Column Name Type Length Null Allowed Description
SOLN_ID varchar 40 No Primary key component. Foreign key to the
KDW_SOLN_DIM.ID column.
AUD_ID varchar 40 No Primary key component. Foreign key to the
KDW_AUD_DIM.ID column.
KDW_SOLN_TOPIC
This table stores references between solutions and topics. It includes the following:
Column Name Type Length Null Allowed Description
SOLN_ID varchar 40 No Primary key component. Foreign key to the
KDW_SOLN_DIM.ID column.
TOPIC_ID int No Primary key component. Refers to the
ARF_SEARCH_TOPIC.ID column.
KDW_SESSACTPK_FACT
This table stores facts about session activity peaks. It includes the following:
74 5 Knowledge Database Tables
Column Name Type Length Null Allowed Description
HOUR_ID varchar 40 No Hour in which events occurred.
Primary key component. Foreign key to
ARF_TIME_HOUR.ID column.
ORGANIZATION_ID varchar 40 No Primary key component. Foreign key to
ARF_IU_ORG.ID column.
NUM_EVENTS integer Yes Number of events occurring in this
hour. Session activity peak count.
KDW_PSESSACTPK
This is an intermediate table which is used for filling the KDW_SESSACTPK_FACT table. This table includes the
following:
Column Name Type Length Null Allowed Description
HOUR_ID varchar 40 No Primary key component. Foreign
key to ARF_TIME_HOUR.ID
column.
TIME_AS_IS timestamp No Primary key component.
ORGANIZATION_ID varchar 40 No Primary key component. Foreign
key to ARF_IU_ORG.ID column.
NUM_EVENTS integer Yes Number of events that occurred.
Session activity peak count.
KDW_SACTTOTPK_FACT
This table records information about total session activity, without reference to organizations such as in
KDW_SESSACTPK_FACT. It includes the following:
Column Name Type Length Null Allowed Description
HOUR_ID varchar 40 No Hour in which the activity took
place. Primary key. Foreign key to
ARF_TIME_HOUR.ID column.
5 Knowledge Database Tables 75
Column Name Type Length Null Allowed Description
NUM_EVENTS integer Yes Number of events. Session activity peak
count.
KDW_PSACTTOTPK
This is an intermediate table, which is used for filling the KDW_SACTTOTPK_FACT table. This table includes the
following:
Column Name Type Length Null Allowed Description
HOUR_ID varchar 40 No Hour in which the activity took place.
Primary key component. Foreign key to
ARF_TIME_HOUR.ID column.
TIME_AS_IS timestamp No Primary key component.
NUM_EVENTS integer Yes Session activity peak count.
KDW_AGENTACT_FACT
This table stores facts about agent activities. It includes the following:
Column Name Type Length Null Allowed Description
PROFILE_ID varchar 40 No Foreign key to ARF_IU_USER.ID column.
Primary key component.
ACTIVITY_ID varchar 40 No Identifies the activity the agent performed.
Primary key component. Foreign key to
KDW_ACT_DIM.ID column.
HOUR_ID varchar 40 No The hour in which the activity took place.
Primary key component. Foreign key to
ARF_TIME_HOUR.ID column.
NUM_EVENTS integer Yes Number of events.
76 5 Knowledge Database Tables
KDW_SOLNACT_FACT
This table records facts about solution activities. It includes the following:
Column Name Type Length Null Allowed Description
ACTIVITY_ID varchar 40 No Activity identifier. Primary key component.
Foreign key to KDW_ACT_DIM.ID column.
PROFILE_ID varchar 40 No Profile identifier. Primary key component.
Foreign key to ARF_IU_USER.ID column.
HOUR_ID varchar 40 No Hour identifier. Primary key component.
Foreign key to ARF_TIME_HOUR.ID
column.
SOLUTION_ID varchar 40 No Solution identifier. Primary key component.
Foreign key to KDW_SOLN_DIM.ID column.
NUM_EVENTS integer Yes Number of events
6 Self Service Database Tables 79
6 Self Service Database Tables
This chapter describes the tables in the ATG data warehouse that are used exclusively by Oracle ATG Web
Knowledge Manager Self Service. Tables are created with the service_datawarehouse.sql script. Oracle
ATG Web Knowledge Manager Self Service reports can also make use of the tables described in the Common
Database Tables (page 3) chapter.
This chapter includes the following sections:
SSVC_CONTROL (page 79)
SSVC_SESSINIT_FACT (page 80)
SSVC_ESCATM_FACT (page 80)
SSVC_DEESCATM_FACT (page 80)
SSVC_ESCCMP_FACT (page 81)
SSVC_DEESCSUC_FACT (page 81)
SSVC_DEESCUNS_FACT (page 82)
SSVC_SESSPROC (page 82)
Self Service ERD (page 83)
SSVC_CONTROL
This table is used by the atg.reporting.summary.ReportSummaryService. It stores the time that the last
audit event was read by the summarization process. It contains the following columns:
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
LAST_REPORT timestamp Yes Time the most recent report was run.
80 6 Self Service Database Tables
SSVC_SESSINIT_FACT
This table stores session initiation data.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Foreign key to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of sessions initiated within the
specified hour.
SSVC_ESCATM_FACT
This table stores information about attempted escalations.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Reference to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of escalations attempted within
the specified hour.
SSVC_DEESCATM_FACT
This table stores information about de-escalation attempts.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
6 Self Service Database Tables 81
Column Name Type Length Null Allowed Description
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Reference to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of de-escalations attempted within
the specified hour.
SSVC_ESCCMP_FACT
This table stores information about escalations completed.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Reference to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of escalations completed within
the specified hour.
SSVC_DEESCSUC_FACT
This table stores information about successful de-escalation events.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Reference to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of successful de-escalations within
the specified hour.
82 6 Self Service Database Tables
SSVC_DEESCUNS_FACT
This table stores information about unsuccessful de-escalation events.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Identifier; primary key.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
HOUR_ID varchar 40 No Reference to ARF_TIME_HOUR.HOUR_ID.
NUM_EVENTS int No Number of unsuccessful de-escalations
within the specified hour.
SSVC_SESSPROC
This internal helper table is not used for reporting. It records information used to track events in a session.
Column Name Type Length Null Allowed Description
SESSION_ID varchar 100 No Session in which the process occurred.
SITE_ID smallint No The site from which the session was
initiated. Foreign key to ARF_SITE.ID.
PROCESS_ID varchar 40 No Name of a process, such as
DeescalationAttempted.
START_TIME timestamp Yes Start of processing.
END_TIME timestamp Yes End of processing.
7 Outreach Database Tables 85
7 Outreach Database Tables
This chapter describes the tables in the ATG data warehouse that are used exclusively by Oracle ATG Web
Commerce Outreach. These tables are created by the <ATG10dir>/ACO10.1/ACO/sql/install/db_name/
data_warehouse_ddl.sql script. Outreach reports also make use of the tables described in the Common Database
Tables (page 3) chapter.
This chapter includes the following sections:
ARF_CAMPAIGN (page 85)
ARF_CAMPAIGN_STAGE (page 87)
ARF_CAMPAIGN_ACTION_TYPE (page 88)
ARF_CAMPAIGN_ACTION (page 88)
ARF_CAMPAIGN_EVENT (page 89)
ARF_LANDING_PAGE (page 90)
ARF_EMAIL_DOMAIN (page 91)
ARF_CAMPAIGN_ENTERED_FACT (page 91)
ARF_CAMPAIGN_ACTION_FACT_TYPE (page 92)
ARF_CAMPAIGN_ACTION_FACT (page 92)
ARF_CAMPAIGN_AUDIT_TRAIL_FACT (page 93)
Outreach ERD (page 94)
ARF_CAMPAIGN
This table contains information about Outreach campaigns.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NCAMPAIGN_ID varchar 40 No Natural key of
campaign.
86 7 Outreach Database Tables
Column Name Type Length Null Allowed Description
SITE_ID smallint No The site that the
campaign is associated
with.
START_DATE datetime Yes Campaign start date.
END_DATE datetime Yes Campaign end date.
DISPLAY_NAME varchar 255 Yes Campaign display name.
DESCRIPTION varchar 1024 Yes Campaign description.
TARGET_AUDIENCE varchar 1024 Yes Campaign target
audience.
ESTIMATED_COST varchar 1024 Yes Campaign estimated
cost.
ESTIMATED_RESPONSE_RATE varchar 1024 Yes Campaign estimated
response rate.
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
7 Outreach Database Tables 87
ARF_CAMPAIGN_STAGE
This table contains information about individual stages within Outreach campaigns. A stage is a step or a phase
in a campaign. Every campaign has an initial stage (also called the root stage) that defines the actions that begin
the campaign, for example sending an e-mail to customers or displaying content on a Web site. A campaign can
also have one or more child stages, which are triggered by customer responses to earlier campaign actions.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NSTAGE_ID varchar 40 No Natural key of the campaign
stage.
CAMPAIGN_ID integer No Campaign in which this stage
is included.
PARENT_EVENT_ID integer Yes A non-root stage can have a
parent event.
DISPLAY_NAME varchar 254 Yes Stage display name.
DESCRIPTION varchar 4000 Yes Stage description.
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
88 7 Outreach Database Tables
ARF_CAMPAIGN_ACTION_TYPE
This is a reference table containing action types that can be used in Outreach campaigns.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NTYPE_ID integer No Natural ID of the action type.
DISPLAY_NAME_EN varchar 255 Yes Action type display name.
ARF_CAMPAIGN_ACTION
Actions represent ATG Outreach activity, for example sending an e-mail to a group of customers or publishing
content to a Web site.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NACTION_ID varchar 40 No Natural key of the action.
PARENT_STAGE_ID integer Yes Foreign key to
ARF_CAMPAIGN_STAGE.ID.
TYPE_ID smallint No Foreign key to
ARF_CAMPAIGN_ACTION_TYPE_ID.
POS_INDEX integer No Position index; indicates the
sequence of actions within a stage.
DISPLAY_NAME varchar 254 Display name of the action.
DESCRIPTION varchar 4000 Description of the action.
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.
7 Outreach Database Tables 89
Column Name Type Length Null Allowed Description
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_CAMPAIGN_EVENT
Events represent the customer behavior that you want to identify and use as a trigger for the next activity in a
campaign. Logging into a Web site, changing a profile, and clicking a specified link are examples of events.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NEVENT_ID varchar 40 No Natural key of event
PARENT_ACTION_ID integer Yes Foreign key to
ARF_CAMPAIGN_ACTION.ID.
TYPE varchar 254 Yes Campaign event types include
DISPLAY_NAME varchar 254 yes Event display name.
DESCRIPTION varchar 4000 Yes Event description.
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.
90 7 Outreach Database Tables
Column Name Type Length Null Allowed Description
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_LANDING_PAGE
E-mails that you send to the targets of your campaigns can include links to pages on your Web sites. A landing
page is the page that appears when a user follows one of these links.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NLANDING_PAGE_ID varchar 40 No Natural key of landing page.
DISPLAY_NAME varchar 254 yes Landing page display name.
DESCRIPTION varchar 4000 Yes Landing page description.
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
7 Outreach Database Tables 91
Column Name Type Length Null Allowed Description
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
ARF_EMAIL_DOMAIN
Stores domain information based on users’ email addresses.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
DOMAIN_SUFFIX varchar 255 No The portion of the user’s
email address following the
@ symbol.
DISPLAY_NAME varchar 255 By default, same as
DOMAIN_SUFFIX, but this
can be configured in the
application.
ARF_CAMPAIGN_ENTERED_FACT
This table contains information about campaigns that have been entered by users.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
CAMPAIGN_ID integer No Foreign key to ARF_CAMPAIGN.ID.
PARTICIPANT_ID integer No Foreign key to ARF_USER.ID.
SEGMENT_CLUSTER_ID integer No Foreign key to ARF_SEGCLSTR.ID.
DAY_ID varchar No Foreign key to ARF_TIME_DAY.ID.
TIME_ID integer No Foreign key to ARF_TIME_TOD.ID.
92 7 Outreach Database Tables
ARF_CAMPAIGN_ACTION_FACT_TYPE
Records whether the action was email clicked, email opened, soft bounce, hard bounce, etc.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NTYPE_ID smallint No Natural key of type.
DISPLAY_NAME_EN varchar 255 Yes Type name in English.
ARF_CAMPAIGN_ACTION_FACT
This table stored the individual actions performed by users, such as clicking on an email.
Column Name Type Length Null
Allowed
Description
ID varchar 40 No Identifier; primary key.
CAMPAIGN_ID integer No Foreign key to ARF_CAMPAIGN.ID.
STAGE_ID integer No Foreign key to ARF_CAMPAIGN_STAGE.ID.
ACTION_ID integer No Foreign key to
ARF_CAMPAIGN_ACTION.ID.
PARTICIPANT_ID integer No Foreign key to ARF_USER.ID.
SEGMENT_CLUSTER_ID integer No Foreign key to ARF_SEGCLSTR.ID.
DOMAIN_ID integer Yes Foreign key to ARF_EMAIL_DOMAIN.ID.
TYPE_ID smallint No Foreign key to
ARF_CAMPAIGN_ACTION_FACT_TYPE.ID.
LANDING_PAGE_ID integer Yes Foreign key to ARF_LANDING_PAGE.ID.
DAY_ID varchar 40 No Foreign key to ARF_TIME_DAY.ID.
TIME_ID integer No Foreign key to ARF_TIME_TOD.ID.
7 Outreach Database Tables 93
ARF_CAMPAIGN_AUDIT_TRAIL_FACT
This table traces a user’s path through an Outreach campaign.
Column Name Type Length Null Allowed Description
ID varchar 40 No Identifier; primary key.
CAMPAIGN_ID integer No Foreign key to ARF_CAMPAIGN.ID.
STAGE_ID integer No Foreign key to
ARF_CAMPAIGN_STAGE.ID.
ACTION_ID integer No Foreign key to
ARF_CAMPAIGN_ACTION.ID.
EVENT_ID integer No Foreign key to
ARF_CAMPAIGN_EVENT.ID.
PARTICIPANT_ID integer No Foreign key to ARF_USER.ID.
SEGMENT_CLUSTER_ID integer No Foreign key to ARF_SEGCLSTR.ID.
DAY_ID varchar 40 No Foreign key to ARF_TIME_DAY.ID.
TIME_ID integer No Foreign key to ARF_TIME_TOD.ID.
LABEL varchar 254 Yes Campaign authors can assign a
label for a given event.
8 Search Database Tables 95
8 Search Database Tables
This chapter describes the tables in the ATG data warehouse that are used exclusively by Oracle ATG
Web Commerce Search. These tables are created by the search_datawarehouse_ddl.sql and
dcs_search_ddl.sql scripts. Oracle ATG Web Commerce Search reports also make use of the tables described
in the Common Database Tables (page 3) chapter.
This chapter includes the following sections:
ARF_SEARCH_PROJECT (page 96)
ARF_SEARCH_ENVIRONMENT (page 97)
ARF_QUERY_TYPE (page 98)
ARF_CONTENT (page 98)
ARF_SEARCH_TOPIC (page 99)
ARF_TOPIC_GROUP (page 100)
ARF_TOPIC_GROUP_MBRS (page 100)
ARF_WORD (page 101)
ARF_WORD_GROUP (page 101)
ARF_WORD_GROUP_MBRS (page 101)
ARF_DICTIONARY_ADAPTER (page 102)
ARF_CUSTOM_TERM (page 102)
ARF_CUSTTRM_GRP (page 103)
ARF_CUSTTRM_GRP_MBRS (page 103)
ARF_FINDER_TERM (page 103)
ARF_FINDTRM_GRP (page 104)
ARF_FINDTRM_GRP_MBRS (page 104)
ARF_NULL_TERM (page 105)
ARF_NULLTRM_GRP (page 105)
ARF_NULLTRM_GRP_MBRS (page 105)
96 8 Search Database Tables
ARF_NULX_TERM (page 106)
ARF_NULXTRM_GRP (page 106)
ARF_NULXTRM_GRP_MBRS (page 106)
ARF_PROFILE_TYPE (page 107)
ARF_SEARCH_CONFIG (page 107)
ARF_SEARCH_RULE_TYPE (page 108)
ARF_SEARCH_RULE (page 108)
ARF_SEARCH_RULE_GRP (page 109)
ARF_SEARCH_RULE_GRP_MBRS (page 110)
ARF_SRCH_SITE_CONSTR (page 110)
ARF_SRCH_SITE_CONSTR_MBRS (page 111)
ARF_QUERY (page 111)
ARF_VIEW_CONTENT (page 113)
ARF_SEARCH_SITE_VISIT (page 114)
Search ERD (page 116)
ARF_SEARCH_PROJECT
This table contains information about the Search projects configured in Search Administration.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NPROJECT_ID varchar 40 No Natural ID of project.
NAME varchar 254 No Project name in the default
language.
NAME_EN varchar 254 Yes Project name in English.
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
8 Search Database Tables 97
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
Default value is 1.
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
Default value is 0.
ARF_SEARCH_ENVIRONMENT
This table contains information about the Search environments used to index content and return answers to end
users.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NENVIRONMENT_ID varchar 40 No Natural key of environment.
NAME varchar 254 No Environment name in the
default language.
NAME_EN varchar 254 Yes Environment name in English.
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
98 8 Search 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
PROJECT_ID smallint No Foreign key to
ARF_SEARCH_PROJECT.ID.
ARF_QUERY_TYPE
Reference table containing the different types of queries end users can issue. Types include: Unspecified, Simple
Search, Browse, Structured Search, Similar Doc Search, and Categorize Search.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NTYPE_ID varchar 40 No Natural key of query type.
NAME varchar 40 No Name of the query type in the
default language.
NAME_EN varchar 40 Yes Name of the query type in
English.
ARF_CONTENT
Stores information about the content returned to end users as the result of their search.
8 Search Database Tables 99
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
TITLE varchar 500 Yes Content title.
URL_KEY varchar 254 No Hash of the full URL plus first 200
characters of the URL.
URL varchar 2000 No URL of the content retrieved.
CONTENT_TYPE varchar 100 No Doc Type or for repository items, the
repository item descriptor name
ARF_SEARCH_TOPIC
Stores information about topics configured in the ATG Search Workbench.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NTOPIC_ID varchar 40 No Natural key of topic.
PARENT_TOPIC_ID integer Yes ID of parent topic from this table.
NAME varchar 254 No Topic name in the default
language.
NAME_EN varchar 254 Yes Topic name in English.
DESCRIPTION varchar 1000 Yes Topic description in the default
language.
DESCRIPTION_EN varchar 1000 Yes Topic description in English.
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.
RECORD_LAST_UPDATE timestamp Yes Date this record was last
updated.
100 8 Search Database Tables
Column Name Type Length Null Allowed Description
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
Default value is 1.
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
Default value is 0.
TOPIC_PATH varchar 4000 Yes Path to this topic in the topic
taxonomy.
ARF_TOPIC_GROUP
This table contains information about topics used in end user searches. Topics that appear together in a query
are considered a group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Topic group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the topic group.
ARF_TOPIC_GROUP_MBRS
This table relates topic groups to topics.
8 Search Database Tables 101
Column Name Type Length Null Allowed Description
TOPIC_GROUP_ID integer No Foreign key to ARF_TOPIC_GROUP.ID;
primary key component.
TOPIC_ID integer No Foreign key to ARF_SEARCH_TOPIC.ID;
primary key component.
ARF_WORD
This table stores individual unknown words, as determined by the Search engine.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
WORD varchar 100 No The unknown word
submitted as part of the
query.
ARF_WORD_GROUP
This table records unknown words in a user query. Words that appear together in a query are considered a
group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Name of the word group.
HASH_VALUE varchar 254 No Used during data loading.
NUM_WORDS smallint No Size of the word group.
ARF_WORD_GROUP_MBRS
This table relates words to word groups.
102 8 Search Database Tables
Column Name Type Length Null Allowed Description
WORD_GROUP_ID smallint No Foreign key to ARF_WORD_GROUP.ID;
primary key component.
WORD_ID integer No Foreign key to ARF_WORD.ID; primary
key component.
ARF_DICTIONARY_ADAPTER
This table provides a list of all of the adapters provided as part of ATG Search. For information and a list of
provided adapters, see the Adapters section of the Query Component Reference chapter in the ATG Search Query
Guide.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 200 No Name of the dictionary
adapter.
ARF_CUSTOM_TERM
This table records custom terms that appear in end user queries, and the adapter that includes that term.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NAME varchar 100 No Custom term appearing in
the query.
ADAPTER_ID smallint No Foreign key to
ADAPTER_ID.ID column.
8 Search Database Tables 103
ARF_CUSTTRM_GRP
This table contains information about custom terms used in end user searches. Custom terms that appear
together in a query are considered a group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Custom term group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the custom term
group.
ARF_CUSTTRM_GRP_MBRS
This table relates the custom terms to custom term groups.
Column Name Type Length Null Allowed Description
CUSTOM_TERM_GROUP_ID int No Foreign key to
ARF_CUSTTRM_GROUP.ID; primary
key component.
CUSTOM_TERM_ID int No Foreign key to
ARF_CUSTOM_TERM.ID; primary
key component.
ARF_FINDER_TERM
A finder term is a word that does not appear in the ATG Search dictionary, but which Search has identified as
being a word. Common examples include alpha-numeric combinations and product codes. This table records
instances of finder terms that appear in end user searches.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
104 8 Search Database Tables
Column Name Type Length Null Allowed Description
NAME varchar 100 No The finder word used in
the search.
ARF_FINDTRM_GRP
This table contains information used to group individual finder terms for reporting purposes. Finder terms that
occur together in a query are considered a group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Finder term group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the finder term
group.
ARF_FINDTRM_GRP_MBRS
This table is used to link finder terms with finder term groups.
Column Name Type Length Null Allowed Description
FINDER_TERM_GROUP_ID int No Foreign key to
ARF_FINDTRM_GROUP.ID; primary
key component.
FINDER_TERM_ID int No Foreign key to
ARF_FINDER_TERM.ID; primary
key component.
8 Search Database Tables 105
ARF_NULL_TERM
A null term is one where neither the term itself nor any related terms (as defined in the Search thesaurus)
appears in the indexed content. This table records instances of null terms that appear in end user searches.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NAME varchar 100 No Null term used in the end
user search.
ARF_NULLTRM_GRP
This table is used to group null terms for reporting. Null terms that occur together in a query are considered a
group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Null term group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the null term group.
ARF_NULLTRM_GRP_MBRS
This table is used to link null terms with null term groups.
Column Name Type Length Null Allowed Description
NULL_TERM_GROUP_ID int No Foreign key to
ARF_NULLTRM_GROUP.ID; primary
key component.
NULL_TERM_ID int No Foreign key to
ARF_NULL_TERM.ID; primary key
component.
106 8 Search Database Tables
ARF_NULX_TERM
A nulx term is one that does not itself appear in the indexed content, but related terms do. This table records
instances of nulx terms that appear in end user searches.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key.
NAME varchar 100 No Nulx term used in the end
user search.
ARF_NULXTRM_GRP
This table is used to group nulx terms for reporting. Nulx terms that occur together in a query are considered a
group.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Null term group name.
HASH_VALUE varchar 254 No Used during data loading.
LENGTH smallint No Size of the null term group.
ARF_NULXTRM_GRP_MBRS
This table is used to link nulx terms with nulx term groups.
Column Name Type Length Null Allowed Description
NULX_TERM_GROUP_ID int No Foreign key to
ARF_NULXTRM_GRP.ID; primary
key component.
NULX_TERM_ID int No Foreign key to
ARF_NULX_TERM.ID; primary key
component.
8 Search Database Tables 107
ARF_PROFILE_TYPE
This table references the repositories in which user profiles can be located.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
REPOSITORY_NAME varchar 40 No Name of the repository.
ARF_SEARCH_CONFIG
This table contains a list of search configurations. Search configurations are used in ATG Merchandising.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSEARCH_CONFIG_ID varchar 40 No Natural key of the search
configuration.
NAME varchar 254 Yes Name of the search
configuration.
DESCRIPTION varchar 254 Yes Description of the search
configuration.
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.
RECORD_LAST_UPDATE timestamp Yes Date this record was last
updated.
MOST_RECENT one-digit No Indicates that this record is
the most recent.
0 = No
1 = Yes
Default value is 1.
108 8 Search Database Tables
Column Name Type Length Null Allowed Description
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
Default value is 0.
ARF_SEARCH_RULE_TYPE
This table contains a list of search rule types to be used in search configurations. Search configurations are used
in ATG Merchandising.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSEARCH_RULE_TYPE_ID varchar 40 No Natural key of the search
rule type.
NAME varchar 254 No Name of the search
rule type in the default
language.
NAME_EN varchar 254 Yes Name of the search rule
type in English.
ARF_SEARCH_RULE
This table contains a list of rules used in search configurations. Search configurations are used in ATG
Merchandising.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NSEARCH_RULE_ID varchar 40 No Natural key of the rule.
NAME varchar 254 Yes Rule name.
8 Search Database Tables 109
Column Name Type Length Null Allowed Description
DESCRIPTION varchar 254 Yes Rule description.
RULE_TYPE_ID smallint No Foreign key to
ARF_SEARCH_RULE_TYPE.ID
column.
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.
RECORD_LAST_UPDATE timestamp Yes Date this record was last
updated.
MOST_RECENT one-digit No Indicates that this record is the
most recent.
0 = No
1 = Yes
Default value is 1.
DELETED one-digit No Indicates that this record has
been deleted.
0= No
1 = Yes
Default value is 0.
ARF_SEARCH_RULE_GRP
This table is used to group search rules that occur together in a query.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
NAME varchar 254 No Rule group name.
HASH_VALUE varchar 254 No Used during data loading.
110 8 Search Database Tables
Column Name Type Length Null Allowed Description
LENGTH smallint No Size of the rule group.
ARF_SEARCH_RULE_GRP_MBRS
This table links search rules with search rule groups.
Column Name Type Length Null Allowed Description
SEARCH_RULE_GROUP_ID int No Foreign key to
ARF_SEARCH_RULE_GRP.ID;
primary key component.
SEARCH_RULE_ID int No Foreign key to
ARF_SEARCH_RULE.ID; primary
key component.
ARF_SRCH_SITE_CONSTR
The ARF_SRCH_SITE_CONSTR table stores information about search site constraint groups. A search site
constraint group is one of the possible combinations of sites that a user may select when performing a search.
For example, if you have two registered sites, a user may choose to constrain a search to one site, the other site,
or both sites. These would be three search groups.
Column Name Type Length Null Allowed Description
ID integer No Identifier; primary key
NAME varchar 254 No The name of the search site
constraint group. This is a
concatenation of the names of
each site in the group.
HASH_VALUE varchar 254 No The values in this column are used
during data loading.
LENGTH smallint No The number of sites in the group
8 Search Database Tables 111
ARF_SRCH_SITE_CONSTR_MBRS
The ARF_SRCH_SITE_CONSTR_MBRS table contains references to the sites that are part of each search site
constraint group in the ARF_SRCH_SITE_CONSTR table.
Site identifiers may occur in the SITE_ID column multiple times; one for each search site constraint group the
site is a member of.
Column Name Type Length Null Allowed Description
SITE_CONSTR_ID integer No One of the search site
constraint groups that a site
is a part of. Foreign key to
ARF_SRCH_SITE_CONSTR.ID.
SITE_ID smallint No The site that is part of the group
indicated in the SITE_CONSTR_ID
column. Foreign key to
ARF_SITE.ID.
ARF_QUERY
Stores queries submitted to ATG Search; that is, the end user’s question after preliminary processing has taken
place.
Column Name Type Length Null
Allowed
Description
ID smallint No Identifier; primary key.
QUERY_TIMESTAMP timestamp Yes The date and time the query took
place.
QUERY_DAY_ID varchar 40 No Foreign key to
ARF_TIME_DAY.ID.
QUERY_TIME_ID integer No Foreign key to
ARF_TIME_TOD.ID.
NQUERY_ID varchar 40 No Natural ID of the query.
EXTERNAL_PROFILE_ID integer No Foreign key to ARF_USER.ID.
INTERNAL_PROFILE_ID varchar 40 No Foreign key to ARF_IU_USER.ID.
PROFILE_TYPE_ID smallint No Foreign key to
ARF_PROFILE_TYPE.ID.
112 8 Search Database Tables
Column Name Type Length Null
Allowed
Description
SEARCH_ENVIRONMENT_ID smallint No Foreign key to
ARF_SEARCH_ENVIRONMENT.ID.
LANGUAGE_ID smallint No Foreign key to
ARF_LANGUAGE.ID.
QUERY_TYPE_ID tinyint No Foreign key to
ARF_QUERY_TYPE.ID.
QUESTION_ID integer No Foreign key to
ARF_QUESTION.ID.
SEGCLSTR_ID integer No Foreign key to
ARF_SEGCLSTR.ID.
DEMOGRAPHIC_ID smallint No Foreign key to
ARF_DEMOGRAPHIC.ID.
SITE_VISIT_ID bigint No Foreign key to
ARF_SITE_VISIT.ID.
WORD_GROUP_ID integer No Foreign key to
ARF_WORD_GROUP.ID.
CUSTOM_TERM_GROUP_ID integer No Foreign key to
ARF_CUSTTRM_GRP.ID.
FINDER_TERM_GROUP_ID integer No Foreign key to
ARF_FIND_TRM_GRP.ID.
NULL_TERM_GROUP_ID integer No Foreign key to
ARF_NULL_TRM_GRP.ID.
NULX_TERM_GROUP_ID integer No Foreign key to
ARF_NULX_TRM_GRP.ID.
TOPIC_GROUP_ID integer No Identifies a question
topic. Foreign key to
ARF_TOPIC_GROUP.ID.
SELECTED_TOPIC_GROUP_ID integer No Identifies a constraint
topic. Foreign key to
ARF_TOPIC_GROUP.ID.
SEARCH_CONFIG_ID smallint No Foreign key to
ARF_SEARCH_CONFIG.ID.
SEARCH_RULE_GROUP_ID integer No Foreign key to
ARF_SEARCH_RULE_GRP.ID.
RESPONSE_TIME integer No Response time of Search engine
in ms.
8 Search Database Tables 113
Column Name Type Length Null
Allowed
Description
TOP_SCORE integer No Top score of returned results.
RESULTS_COUNT integer No Count of results for this query.
LAST_SELECTED one-digit No Indicates whether this is the final
query in the session.
0 = No
1 = Yes
SESSION_ID varchar 128 Yes ID of the user session.
SITE_ID smallint No Foreign key to ARF_SITE.ID.
SITE_CONSTR_ID integer No Foreign key to
ARF_SRCH_SITE_CONSTR.ID.
ARF_VIEW_CONTENT
Stores view content activities that are submitted to ATG Search. A view content activity occurs when a user
performs a query and clicks on a link for any result to see its details.
Column Name Type Length Null
Allowed
Description
ID smallint No Identifier; primary key.
VIEW_TIMESTAMP timestamp Yes The date and time that a user
views search result content.
VIEW_DAY_ID varchar 40 No Foreign key to
ARF_TIME_DAY.ID.
VIEW_TIME_ID integer No Foreign key to
ARF_TIME_TOD.ID.
SEARCH_ENVIRONMENT_ID smallint No Foreign key to
ARF_SEARCH_ENVIRONMENT.ID.
LANGUAGE_ID smallint No Foreign key to
ARF_LANGUAGE.ID.
CONTENT_ID integer No Foreign key to ARF_CONTENT.ID.
QUERY_ID integer No Foreign key to ARF_QUERY.ID.
114 8 Search Database Tables
Column Name Type Length Null
Allowed
Description
EXTERNAL_PROFILE_ID integer No Foreign key to ARF_USER.ID.
INTERNAL_PROFILE_ID varchar 40 No Foreign key to ARF_IU_USER.ID.
PROFILE_TYPE_ID smallint No Foreign key to
ARF_PROFILE_TYPE.ID.
SEGCLSTR_ID integer No Foreign key to
ARF_SEGCLSTR.ID.
DEMOGRAPHIC_ID smallint No Foreign key to
ARF_DEMOGRAPHIC.ID.
SITE_VISIT_ID bigint No Foreign key to
ARF_SITE_VISIT.ID.
TOPIC_GROUP_ID integer No Foreign key to
ARF_TOPIC_GROUP.ID.
LAST_VIEWED one-digit No Indicates whether this content
item is the last item viewed by the
user
SESSION_ID varchar 128 Yes ID of the user session during
which a user viewed content from
search results
SITE_ID smallint No The site on which a user viewed
content from search results.
Foreign key to ARF_SITE.ID.
ARF_SEARCH_SITE_VISIT
The ARF_SEARCH_SITE_VISIT table stores information about search site visits. These activities are fired when
users perform any search against a particular environment.
Column Name Type Length Null Allowed Description
ID smallint No Identifier; primary key.
SSV_TIMESTAMP timestamp Yes The date and time that a user
began interacting with the search
engine.
8 Search Database Tables 115
Column Name Type Length Null Allowed Description
SSV_DAY_ID varchar 40 No Foreign key to
ARF_TIME_DAY.ID.
SSV_TIME_ID integer No Foreign key to
ARF_TIME_TOD.ID.
SEARCH_ENVIRONMENT_ID smallint No Foreign key to
ARF_SEARCH_ENVIRONMENT.ID.
EXTERNAL_PROFILE_ID integer No Foreign key to ARF_USER.ID.
INTERNAL_PROFILE_ID varchar 40 No Foreign key to ARF_IU_USER.ID.
PROFILE_TYPE_ID smallint No Foreign key to
ARF_PROFILE_TYPE.ID.
SEGCLSTR_ID integer No Foreign key to
ARF_SEGCLSTR.ID.
DEMOGRAPHIC_ID smallint No Foreign key to
ARF_DEMOGRAPHIC.ID.
SITE_VISIT_ID bigint No Foreign key to
ARF_SITE_VISIT.ID.
LANGUAGE_ID smallint No Foreign key to
ARF_LANGUAGE.ID.
SESSION_ID varchar 128 Yes Session ID of the site visit.
SITE_ID smallint No The site at which the visit
occurred. Foreign key to
ARF_SITE.ID.
Index 117
Index
AATG Commerce
tables, 39
ATG Commerce Service Center
tables, 67
ATG Knowledge
tables, 69
ATG Outreach
tables, 85
ATG Search
tables, 95
ATG Self Service
tables, 79
Ccurrency table, 34
Ddata model, 1
data warehouse, 1
demographic tables, 15
Eexternal user tables, 12
Iinternal user tables, 10
Pplatform tables, 3
Qquestion tables, 23
Rreferrer table, 35
registration table, 36
Ssegment tables, 20
site table, 26
site visit table, 28
site visits
duration, 31
sites
unregistered, 28
stimulus tables, 22
Ttime tables, 3
Uunregistered sites, 28
users
external, tables for, 12
internal, tables for, 10