Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about...

122
Version 10.2 Data Warehouse Guide Oracle ATG One Main Street Cambridge, MA 02142 USA

Transcript of Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about...

Page 1: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

Version 10.2

Data Warehouse Guide

Oracle ATG

One Main Street

Cambridge, MA 02142

USA

Page 2: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

ATG Data Warehouse Guide

Product version: 10.2

Release date: 04-30-13

Document identifier: AciDataWarehouseGuide1403311801

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are

protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy,

reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any

means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please

report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government,

the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the

hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable

Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and

adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or

documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.

Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended

for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or

hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures

to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in

dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are

trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or

registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

Portions of this product may contain the following: EditLive Authoring Software Copyright © 2004 Ephox Corporation. All rights reserved.

Some code licensed from RSA Security, Inc. Some portions licensed from IBM, which are available at http://oss.software.ibm.com/icu4j/.

This product may include software developed by the Apache Software Foundation (http://www.apache.org/). Spell checking software from

Wintertree Software Inc. The Sentry Spell Checker Engine © 2000 Wintertree Software Inc. This product also includes software developed

by the following: Free Software Foundation, GNU Operating System, Incanto, JSON.org, JODA.org, The Dojo Foundation, Adobe Systems

Incorporated, Eclipse Foundation and Singular Systems.

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/pls/

topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support: Oracle customers have access to electronic support through My Oracle Support. For information, visit http://

www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing

impaired.

The MIT License

Copyright (c) 2007 FlexLib Contributors. See: http://code.google.com/p/flexlib/wiki/ProjectContributors

Page 3: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the

"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,

sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following

conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE

WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS

OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR

OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Page 4: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and
Page 5: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

ATG Data Warehouse Guide v

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

Page 6: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

vi 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Platform ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

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. Search Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

ARF_SEARCH_PROJECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

ARF_SEARCH_ENVIRONMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

ARF_QUERY_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

ARF_CONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

ARF_SEARCH_TOPIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

ARF_TOPIC_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

ARF_TOPIC_GROUP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

ARF_WORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

ARF_WORD_GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

ARF_WORD_GROUP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

ARF_DICTIONARY_ADAPTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

ARF_CUSTOM_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

ARF_CUSTTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

ARF_CUSTTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

ARF_FINDER_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

ARF_FINDTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

ARF_FINDTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

ARF_NULL_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Page 7: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

ATG Data Warehouse Guide vii

ARF_NULLTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

ARF_NULLTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

ARF_NULX_TERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

ARF_NULXTRM_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

ARF_NULXTRM_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

ARF_PROFILE_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

ARF_SEARCH_CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

ARF_SEARCH_RULE_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

ARF_SEARCH_RULE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

ARF_SEARCH_RULE_GRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

ARF_SEARCH_RULE_GRP_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

ARF_SRCH_SITE_CONSTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

ARF_SRCH_SITE_CONSTR_MBRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

ARF_QUERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

ARF_VIEW_CONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

ARF_SEARCH_SITE_VISIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

Search ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

6. Aggregated Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

Aggregated Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

ARF_SITE_VISIT_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

ARF_SITE_VISIT_MV_HOUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

ARF_SITE_VISIT_MV_VISITOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

ARF_REGISTRATION_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

ARF_LINE_ITEM_MV_PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

ARF_LINE_ITEM_MV_SUPPL_ORDERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

ARF_LINE_ITEM_MV_UNIQUE_ORDERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

ARF_QUERY_MV_HOUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

ARF_QUERY_MV_QUESTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

ARF_QUERY_MV_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

ARF_QUERY_MV_VISIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

ARF_PROMOTION_USAGE_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

ARF_CALL_MV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

Refreshing Aggregated Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

Refreshing Individual Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114

Page 8: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

viii ATG Data Warehouse Guide

Page 9: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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).

Page 10: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 11: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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 35)

Platform ERD (page 37)

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

Page 12: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 13: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 14: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 15: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 16: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 17: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

• This tabled described in surrounding text

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.

Page 18: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 19: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 20: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 21: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 22: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 23: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 24: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 25: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 26: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 27: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 28: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 29: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 30: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

22 2 Common Database Tables

Column Name Type Length Null Allowed Description

SEGMENT_ID smallint No Foreign key to ARF_SEGMENT.ID column.

Primary key component.

MEMBER tinyint Indicates that the segment is a member of

the cluster. Primary key component.

Stimulus Group Tables

The stimulus group tables hold information about what motivated the customer to place an order, such as which

promotion might have prompted it.

ARF_STIMULUS

This table contains the list of stimuli that can be used in the system.

Column Name Type Length Null Allowed Description

ID smallint No Identifier; primary key.

NSTIMULUS_ID varchar 254 No Natural key for stimulus.

STIMULUS_DESC varchar 254 Yes Name given to stimulus.

STIMULUS_TYPE varchar 254 Yes Type of stimulus.

RECORD_LAST_UPDATE timestamp Yes Date the record was last

updated.

RECORD_START_DATE timestamp Yes Date when the information

in this warehouse record

became effective

RECORD_END_DATE timestamp Yes Date when the information in

this warehouse record is no

longer effective.

MOST_RECENT one-digit No Indicates that this record is the

most recent.

0 = No

1 = Yes

Page 31: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 32: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 33: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 34: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 35: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 36: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 37: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

2 Common Database Tables 29

Column Name Type Length Null Description

SITE_VISIT_ID bigint No Identifier; primary key.

START_TIMESTAMP timestamp Yes The date and time that the HTTP

session started.

START_DAY_ID varchar 40 No Day the session began. Foreign key to

ARF_TIME_DAY.ID column.

START_TIME_ID integer No Time the session began. Foreign key

to ARF_TOD.ID column.

END_DAY_ID integer No Day on which the session ended.

Foreign key to ARF_TIME_DAY.ID

column.

END_TIME_ID integer No Time at which the session ended.

Foreign key to ARF_TIME_TOD.ID

column.

START_VISIT_TIMESTAMP timestamp Yes The date and time that the site visit

started.

SITE_VISIT_START_DAY_ID varchar 40 No Day the site visit began. Foreign key

to ARF_TIME_DAY.ID column.

SITE_VISIT_START_TIME_ID integer No Time the site visit began. Foreign key

to ARF_TOD.ID column.

SITE_VISIT_END_DAY_ID varchar 40 No Day on which the site visit ended.

Foreign key to ARF_TIME_DAY.ID

column.

SITE_VISIT_END_TIME_ID integer 40 No Time at which the site visit ended.

Foreign key to ARF_TIME_TOD.ID

column.

VISIT_END_TIME_ID integer No Time at which the user made the

last HTTP request in the session.

This is different from END_TIME_ID

when the session ends by timing out.

Foreign key to ARF_TIME_TOD.ID

column.

VISITOR_ID integer No User ID of visitor. Foreign key to

ARF_USER.ID column.

If visitor is anonymous, this is set to

Unspecified User.

STIMGRP_ID smallint No Stimulus group associated with the

visit. Foreign key to ARF_STIMGRP.ID

column.

Page 38: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

30 2 Common Database Tables

Column Name Type Length Null Description

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).

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).

Page 39: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

2 Common Database Tables 31

Column Name Type Length Null Description

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.

Page 40: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

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.

Page 41: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

2 Common Database Tables 33

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.

Page 42: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

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.

Page 43: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

2 Common Database Tables 35

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.

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.

Page 44: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

36 2 Common Database Tables

Column Name Type Length Null

Allowed

Description

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.

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.

Page 45: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

2 Common Database Tables 37

Platform ERD

Page 46: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

38 2 Common Database Tables

Page 47: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 48: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 49: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 50: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 51: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 52: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 53: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 54: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.”

Page 55: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 56: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 57: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 58: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 59: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 60: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 61: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 62: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 63: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 64: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 65: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 66: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 67: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 68: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 69: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 70: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 71: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 72: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 73: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

3 Commerce Database Tables 65

Commerce ERD

Page 74: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

66 3 Commerce Database Tables

Page 75: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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.

Page 76: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

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

Page 77: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 69

5 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 70)

ARF_SEARCH_ENVIRONMENT (page 71)

ARF_QUERY_TYPE (page 72)

ARF_CONTENT (page 72)

ARF_SEARCH_TOPIC (page 73)

ARF_TOPIC_GROUP (page 74)

ARF_TOPIC_GROUP_MBRS (page 74)

ARF_WORD (page 75)

ARF_WORD_GROUP (page 75)

ARF_WORD_GROUP_MBRS (page 75)

ARF_DICTIONARY_ADAPTER (page 76)

ARF_CUSTOM_TERM (page 76)

ARF_CUSTTRM_GRP (page 76)

ARF_CUSTTRM_GRP_MBRS (page 77)

ARF_FINDER_TERM (page 77)

ARF_FINDTRM_GRP (page 78)

ARF_FINDTRM_GRP_MBRS (page 78)

ARF_NULL_TERM (page 78)

ARF_NULLTRM_GRP (page 79)

ARF_NULLTRM_GRP_MBRS (page 79)

Page 78: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

70 5 Search Database Tables

ARF_NULX_TERM (page 79)

ARF_NULXTRM_GRP (page 80)

ARF_NULXTRM_GRP_MBRS (page 80)

ARF_PROFILE_TYPE (page 80)

ARF_SEARCH_CONFIG (page 81)

ARF_SEARCH_RULE_TYPE (page 81)

ARF_SEARCH_RULE (page 82)

ARF_SEARCH_RULE_GRP (page 83)

ARF_SEARCH_RULE_GRP_MBRS (page 83)

ARF_SRCH_SITE_CONSTR (page 84)

ARF_SRCH_SITE_CONSTR_MBRS (page 84)

ARF_QUERY (page 85)

ARF_VIEW_CONTENT (page 87)

ARF_SEARCH_SITE_VISIT (page 88)

Search ERD (page 90)

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

Page 79: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 71

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

Page 80: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

72 5 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.

Page 81: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 73

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.

Page 82: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

74 5 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.

Page 83: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 75

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.

Page 84: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

76 5 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.

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.

Page 85: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 77

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.

NAME varchar 100 No The finder word used in the search.

Page 86: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

78 5 Search Database Tables

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.

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.

Page 87: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 79

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.

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.

Page 88: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

80 5 Search Database Tables

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.

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.

Page 89: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 81

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.

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.

Page 90: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

82 5 Search Database Tables

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.

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.

Page 91: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 83

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.

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.

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.

Page 92: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

84 5 Search Database Tables

Column Name Type Length Null Allowed Description

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

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.

Page 93: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 85

Column Name Type Length Null Allowed Description

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.

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.

Page 94: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

86 5 Search Database Tables

Column Name Type Length Null

Allowed

Description

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.

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

Page 95: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 87

Column Name Type Length Null

Allowed

Description

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.

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.

Page 96: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

88 5 Search Database Tables

Column Name Type Length Null

Allowed

Description

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.

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.

Page 97: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

5 Search Database Tables 89

Column Name Type Length Null Allowed Description

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.

Page 98: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

90 5 Search Database Tables

Search ERD

Page 99: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 91

6 Aggregated Data

The Oracle ATG Web Commerce data warehouse includes aggregated data that is calculated based on the data

stored in the transaction fact tables. Components running on the data warehouse loader server refresh the

calculated data at regular intervals so that it is available for reports. Performing intensive calculations before

they are needed improves the speed of the queries that use the calculated data.

The aggregated data calculations are presented as virtual tables by materialized views in Oracle Database

schemas. Other supported database products provide views or other comparable functions to make aggregated

data available. See Aggregated Data Tables (page 91).

The views that contain aggregated data include columns that group the data according to related dimensional

information. For example, the ARF_SITE_VISIT_MV view includes a DAY_ID column. Each value in this

grouping column represents one calendar day. The calculations in each row are restricted to data associated

with the calendar day in the DAY_ID column. Multiple grouping columns in a view restrict the calculations to the

data that is associated with the dimensional information in each grouping column.

See information about the data warehouse loader server components that refresh the aggregated data in

Refreshing Aggregated Data (page 113).

Aggregated Data Tables

ARF_SITE_VISIT_MV

The ARF_SITE_VISIT_MV view provides aggregated data about site visits. The calculated values are based on

information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular day and site.

Column Name Type Length Null

Allowed

Description

NUM_VISITS numeric Yes The number of site visits that

correspond to the day and site.

This value counts rows in the

ARF_SITE_VISIT table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

Page 100: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

92 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site

page views for the day

and site. This value sums

ARF_SITE_VISIT.NUM_PAGE_VIEWS

column values that correspond to

the grouping column values.

TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP

sessions, in seconds, for the

day and site. This value sums

ARF_SITE_VISIT.DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in Web site visits for

the day and site. This value sums

ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in HTTP sessions for

the day and site. This value sums

ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site

visitors spend visiting a site

for the day. This value sums

ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS

column values that correspond to

the grouping column values.

ARF_SITE_VISIT_MV_HOUR

The ARF_SITE_VISIT_MV_HOUR table provides aggregated data about site visits. The calculated values are

based on information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular hour,

day, and site.

Page 101: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 93

Column Name Type Length Null

Allowed

Description

NUM_VISITS numeric Yes The number of site visits that

correspond to the hour, day, and

site. This value counts rows in the

ARF_SITE_VISIT table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

HOUR_OF_DAY tinyint No A reference to a value in the

ARF_TIME_TOD.HOUR_OF_DAY

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site

page views for the hour, day,

and site. This value sums

ARF_SITE_VISIT.NUM_PAGE_VIEWS

column values that correspond to

the grouping column values.

TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP sessions,

in seconds, for the hour, day,

and site. This value sums

ARF_SITE_VISIT.DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in Web site visits for the

hour, day, and site. This value sums

ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in HTTP sessions for the

hour, day, and site. This value sums

ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS

column values that correspond to

the grouping column values.

Page 102: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

94 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site

visitors spend visiting a site for

the hour and day. This value sums

ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS

column values that correspond to

the grouping column values.

ARF_SITE_VISIT_MV_VISITOR

The ARF_SITE_VISIT_MV_VISITOR view provides aggregated data about site visits. The calculated values

are based on information in the ARF_SITE_VISIT table. The values in each row are constrained to a particular

external user, day, and site.

Column Name Type Length Null

Allowed

Description

NUM_VISITS numeric Yes The number of site visits that

correspond to the day, site and

user. This value counts rows in the

ARF_SITE_VISIT table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

VISITOR_ID integer No A reference to a value in the

ARF_USER.ID column.

TOTAL_NUM_PAGE_VIEWS numeric Yes The number of Web site

page views for the user, day,

and site. This value sums

ARF_SITE_VISIT.NUM_PAGE_VIEWS

column values that that

correspond to the grouping

column values.

Page 103: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 95

Column Name Type Length Null

Allowed

Description

TOTAL_DURATION_SECONDS numeric Yes The total length of HTTP

sessions for the user, day,

and site. This value sums

ARF_SITE_VISIT.DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_VISIT_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in Web site visits for the

user, day, and site. This value sums

ARF_SITE_VISIT.SITE_VISIT_DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_ELAPSED_DURATION_SECONDSnumeric Yes The total length of the periods

between the first and last HTTP

requests in HTTP sessions for the

user, day, and site. This value sums

ARF_SITE_VISIT.TOTAL_ELAPSED_DURATION_SECONDS

column values that correspond to

the grouping column values.

TOTAL_RES_DURATION_SECONDSnumeric Yes The total time that Web site

visitors spend visiting a site for

the user and day. This value sums

ARF_SITE_VISIT.RESOURCE_DURATION_SECONDS

column values that correspond to

the grouping column values.

ARF_REGISTRATION_MV

The ARF_REGISTRATION_MV view provides aggregated data about external user registration events. The

calculated values are based on information in the ARF_REGISTRATION table. The values in each row are

constrained to a particular day and site.

Column Name Type Length Null

Allowed

Description

NUM_REGISTRATIONS numeric Yes The number of external

registrations that correspond to

the day and site. This value counts

rows in the ARF_REGISTRATION

table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

Page 104: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

96 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

ARF_LINE_ITEM_MV_PRODUCT

The ARF_LINE_ITEM_MV_PRODUCT view provides aggregated data about line items associated with customer

purchases. The calculated values are based on information in the ARF_LINE_ITEM table. The values in each row

are constrained to a particular day, site, sales channel, segment cluster, internal agent, and product.

Column Name Type Length Null

Allowed

Description

NUM_LINE_ITEMS numeric Yes The number of line items

in customer purchases that

correspond to the day, site,

sales channel, segment cluster,

internal agent, and product.

This value counts rows in the

ARF_LINE_ITEM table.

SUBMIT_DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SUBMIT_SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

SUBMIT_SALES_CHANNEL_ID tinyint Yes A reference to a value in the

ARF_SALES_CHANNEL.ID column.

SEGMENTCLUSTER_ID integer No A reference to a value in the

ARF_SEGCLSTR.ID column.

AGENT_ID varchar 40 Yes A reference to a value in the

ARF_IU_USER.ID column.

PRODUCT_ID integer No A reference to a value in the

ARF_PRODUCT.ID column.

Page 105: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 97

Column Name Type Length Null

Allowed

Description

TOTAL_QUANTITY numeric Yes The number of product items

for the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.QUANTITY

column values that correspond to

the grouping column values.

TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product items

for the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_UNIT_PRICE

column values that correspond to

the grouping column values.

TOTAL_STD_NET_REVENUE numeric Yes The total revenue after

adjustments due to discounts,

taxes, and shipping for the day,

site, sales channel, segment

cluster, internal agent, and

product. This value sums

ARF_LINE_ITEM.STANDARD_NET_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before

adjustments due to discounts,

taxes, and shipping for the day,

site, sales channel, segment

cluster, internal agent, and

product. This value sums

ARF_LINE_ITEM.STANDARD_GROSS_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_DISCOUNT numeric Yes The total discounts applied

for the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT

column values that correspond to

the grouping column values.

Page 106: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

98 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown discounts

applied for the day, site,

sales channel, segment

cluster, internal agent, and

product. This value sums

ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping costs

for the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax amounts

for the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level

discounts applied for the day,

site, sales channel, segment

cluster, internal agent, and

product. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits

applied by internal agents for

the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT

column values that correspond to

the grouping column values.

Page 107: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 99

Column Name Type Length Null

Allowed

Description

TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits

applied by internal agents for

the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT

column values that correspond to

the grouping column values.

TOTAL_STD_PRICE_OVERRIDE numeric Yes The total value of price overrides

applied by internal agents for

the day, site, sales channel,

segment cluster, internal agent,

and product. This value sums

ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT

column values that correspond to

the grouping column values.

ARF_LINE_ITEM_MV_SUPPL_ORDERS

The ARF_LINE_ITEM_MV_SUPPL_ORDERS view provides aggregated data about customer purchase

transactions, or orders. The calculated values are based on information in the ARF_LINE_ITEM table. The values

in each row are constrained to a particular day, site, and customer order.

Column Name Type Length Null

Allowed

Description

NUM_LINE_ITEMS numeric Yes The number of line items

in customer purchases that

correspond to the day, site, and

order. This value counts rows in the

ARF_LINE_ITEM table.

SUBMIT_DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SUBMIT_SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

ORDER_ID integer No The identifier of a particular

customer purchase transaction.

Page 108: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

100 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

TOTAL_QUANTITY numeric Yes The number of product items for

the day, site, and order. This value

sums ARF_LINE_ITEM.QUANTITY

column values that correspond to

the grouping column values.

TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product

items for the day, site, and

order. This value sums

ARF_LINE_ITEM.STANDARD_UNIT_PRICE

column values that correspond to

the grouping column values.

TOTAL_STD_NET_REVENUE numeric Yes The total revenue after

adjustments due to discounts,

taxes, and shipping for the day,

site, and order. This value sums

ARF_LINE_ITEM.STANDARD_NET_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before

adjustments due to discounts,

taxes, and shipping for the day,

site, and order. This value sums

ARF_LINE_ITEM.STANDARD_GROSS_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_DISCOUNT numeric Yes The total discounts applied for the

day, site, and order. This value sums

ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown discounts

applied for the day, site,

and order. This value sums

ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping

costs for the day, site, and

order. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC

column values that correspond to

the grouping column values.

Page 109: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 101

Column Name Type Length Null

Allowed

Description

TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax

amounts for the day, site,

and order. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level discounts

applied for the day, site,

and order. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits

applied by internal agents for the

day, site, and order. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT

column values that correspond to

the grouping column values.

TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits

applied by internal agents for the

day, site, and order. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT

column values that correspond to

the grouping column values.

TOTAL_STD_PRICE_OVERRIDE numeric Yes The total value of price overrides

applied by internal agents for the

day, site, and order. This value sums

ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT

column values that correspond to

the grouping column values.

ARF_LINE_ITEM_MV_UNIQUE_ORDERS

The ARF_LINE_ITEM_MV_UNIQUE_ORDERS view provides aggregated data about line items and

orders associated with customer purchases. The calculated values are based on information in the

ARF_LINE_ITEM_MV_SUPPL_ORDERS table. The values in each row are constrained to a particular day, site, sales

channel, segment cluster, internal agent, and product.

Page 110: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

102 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

NUM_LINE_ITEMS numeric Yes The number of line items

in customer purchases that

correspond to the day and site.

This value counts rows in the

ARF_LINE_ITEM_MV_SUPPL_ORDERS

table.

NUM_ORDERS numeric Yes The number of line items

in customer purchases that

correspond to the day and site. This

value counts unique, or distinct,

ORDER_ID column values in the

ARF_LINE_ITEM_MV_SUPPL_ORDERS

table.

SUBMIT_DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SUBMIT_SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

TOTAL_QUANTITY numeric Yes The number of product items

for the day and site. This value

sums ARF_LINE_ITEM.QUANTITY

column values that correspond to

the grouping column values.

TOTAL_STD_UNIT_PRICE numeric Yes The total price of the product items

for the day and site. This value sums

ARF_LINE_ITEM.STANDARD_UNIT_PRICE

column values that correspond to

the grouping column values.

TOTAL_STD_NET_REVENUE numeric Yes The total revenue after

adjustments due to discounts,

taxes, and shipping for the

day and site. This value sums

ARF_LINE_ITEM.STANDARD_NET_REVENUE

column values that correspond to

the grouping column values.

Page 111: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 103

Column Name Type Length Null

Allowed

Description

TOTAL_STD_GROSS_REVENUE numeric Yes The total revenue before

adjustments due to discounts,

taxes, and shipping for the

day and site. This value sums

ARF_LINE_ITEM.STANDARD_GROSS_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_DISCOUNT numeric Yes The total discounts applied for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_DISCOUNT_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_MARKDOWN_DISCOUNTnumeric Yes The total markdown

discounts applied for the

day and site. This value sums

ARF_LINE_ITEM.STANDARD_MARKDOWN_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_SHIP_ALLOCnumeric Yes The total order shipping costs for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_SHIPPING_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_TAX_ALLOCnumeric Yes The total of order tax amounts for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_TAX_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_ORDER_DSCNT_ALLOCnumeric Yes The total of order-level

discounts applied for the

day and site. This value sums

ARF_LINE_ITEM.STANDARD_ORDER_DISCOUNT_ALLOC

column values that correspond to

the grouping column values.

TOTAL_STD_APPSMT_CRED_ALLOCnumeric Yes The total of appeasement credits

applied by internal agents for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_CDT_ALLOC_AMT

column values that correspond to

the grouping column values.

Page 112: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

104 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

TOTAL_STD_APPSMT_DEBIT_ALLOCnumeric Yes The total of appeasement debits

applied by internal agents for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_APPSMT_DBT_ALLOC_AMT

column values that correspond to

the grouping column values.

TOTAL_STD_PRICE_OVERRIDEnumeric Yes The total value of price overrides

applied by internal agents for

the day and site. This value sums

ARF_LINE_ITEM.STANDARD_PRICE_OVERRIDE_AMT

column values that correspond to

the grouping column values.

ARF_QUERY_MV_HOUR

The ARF_QUERY_MV_HOUR view provides aggregated data about queries that are submitted to ATG Search. The

calculated values are based on information in the ARF_QUERY table. The values in each row are constrained to a

particular hour, day, site, language, and query type.

Column Name Type Length Null

Allowed

Description

NUM_QUERIES numeric Yes The number of search queries that

correspond to the hour, day, site,

language, and query type. This value

counts rows in the ARF_QUERY table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

LANGUAGE_ID smallint No A reference to a value in the

ARF_LANGUAGE.ID column.

TYPE_ID tinyint No A reference to a value in the

ARF_QUERY_TYPE.ID column.

HOUR_OF_DAY tinyint No A reference to a value in the

ARF_TIME_TOD.HOUR_OF_DAY

column.

Page 113: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 105

Column Name Type Length Null

Allowed

Description

TOTAL_RESPONSE_TIME numeric Yes The total length, in milliseconds,

of the processing time for search

queries for the hour, day, site,

language, and query type. This value

sums ARF_QUERY.RESPONSE_TIME

column values that correspond to

the grouping column values.

TOTAL_RESULTS_COUNT numeric Yes The total number of search

query results returned for the

hour, day, site, language, and

query type. This value sums

ARF_QUERY.RESULTS_COUNT

column values that correspond to

the grouping column values.

TOTAL_TOP_SCORE numeric Yes The total relevancy score of search

query results for the hour, day, site,

language, and query type. This

value sums ARF_QUERY.TOP_SCORE

column values that correspond to

the grouping column values.

MIN_RESPONSE_TIME numeric Yes The lowest length, in milliseconds,

of the processing time for

search queries for the hour,

day, site, language, and query

type. This value is the minimum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MAX_RESPONSE_TIME numeric Yes The longest length, in milliseconds,

of the processing time for

search queries for the hour,

day, site, language, and query

type. This value is the maximum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MIN_TOP_SCORE numeric Yes The lowest relevancy score in

search query results for the hour,

day, site, language, and query

type. This value is the minimum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

Page 114: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

106 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

MAX_TOP_SCORE numeric Yes The highest relevancy score in

search query results for the hour,

day, site, language, and query

type. This value is the maximum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

ARF_QUERY_MV_QUESTION

The ARF_QUERY_MV_QUESTION view provides aggregated data about queries that are submitted to ATG Search.

The calculated values are based on information in the ARF_QUERY table. The values in each row are constrained

to a particular day, site, language, query type, and query string.

Column Name Type Length Null

Allowed

Description

NUM_QUERIES numeric Yes The number of search queries

that correspond to the day, site,

language, query type, and query

string. This value counts rows in the

ARF_QUERY table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

LANGUAGE_ID smallint No A reference to a value in the

ARF_LANGUAGE.ID column.

TYPE_ID tinyint No A reference to a value in the

ARF_QUERY_TYPE.ID column.

QUESTION_ID integer No A reference to a value in the

ARF_QUESTION.ID column.

Page 115: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 107

Column Name Type Length Null

Allowed

Description

TOTAL_RESPONSE_TIME numeric Yes The total length, in milliseconds,

of the processing time for

search queries for the day, site,

language, query type, and

query string. This value sums

ARF_QUERY.RESPONSE_TIME

column values that correspond to

the grouping column values.

TOTAL_RESULTS_COUNT numeric Yes The total number of search query

results returned for the day,

site, language, query type, and

query string. This value sums

ARF_QUERY.RESULTS_COUNT

column values that correspond to

the grouping column values.

TOTAL_TOP_SCORE numeric Yes The total relevancy score of

search query results for the day,

site, language, query type, and

query string. This value sums

ARF_QUERY.TOP_SCORE column

values that correspond to the

grouping column values.

MIN_RESPONSE_TIME numeric Yes The lowest length, in milliseconds,

of the processing time for search

queries for the day, site, language,

query type, and query string.

This value is the minimum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MAX_RESPONSE_TIME numeric Yes The longest length, in milliseconds,

of the processing time for search

queries for the day, site, language,

query type, and query string.

This value is the maximum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MIN_TOP_SCORE numeric Yes The lowest relevancy score in

search query results for the day, site,

language, query type, and query

string. This value is the minimum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

Page 116: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

108 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

MAX_TOP_SCORE numeric Yes The highest relevancy score in

search query results for the day, site,

language, query type, and query

string. This value is the maximum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

ARF_QUERY_MV_TYPE

The ARF_QUERY_MV_TYPE view provides aggregated data about queries that are submitted to ATG Search. The

calculated values are based on information in the ARF_QUERY table. The values in each row are constrained to a

particular day, site, language, and query type.

Column Name Type Length Null

Allowed

Description

NUM_QUERIES numeric Yes The number of search queries

that correspond to the day, site,

language, and query type. This value

counts rows in the ARF_QUERY table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

LANGUAGE_ID smallint No A reference to a value in the

ARF_LANGUAGE.ID column.

TYPE_ID tinyint No A reference to a value in the

ARF_QUERY_TYPE.ID column.

TOTAL_RESPONSE_TIME numeric Yes The total length, in milliseconds,

of the processing time for search

queries for the day, site, language,

and query type. This value sums

ARF_QUERY.RESPONSE_TIME

column values that correspond to

the grouping column values.

Page 117: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 109

Column Name Type Length Null

Allowed

Description

TOTAL_RESULTS_COUNT numeric Yes The total number of search query

results returned for the day, site,

language, and query type. This value

sums ARF_QUERY.RESULTS_COUNT

column values that correspond to

the grouping column values.

TOTAL_TOP_SCORE numeric Yes The total relevancy score of search

query results for the day, site,

language, and query type. This

value sums ARF_QUERY.TOP_SCORE

column values that correspond to

the grouping column values.

MIN_RESPONSE_TIME numeric Yes The lowest length, in milliseconds,

of the processing time for

search queries for the day, site,

language, and query type.

This value is the minimum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MAX_RESPONSE_TIME numeric Yes The longest length, in milliseconds,

of the processing time for

search queries for the day, site,

language, and query type.

This value is the maximum

ARF_QUERY.RESPONSE_TIME

column value that corresponds to

the grouping column values.

MIN_TOP_SCORE numeric Yes The lowest relevancy score in

search query results for the

day, site, language, and query

type. This value is the minimum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

MAX_TOP_SCORE numeric Yes The highest relevancy score

in search query results for the

day, site, language, and query

type. This value is the maximum

ARF_QUERY.TOP_SCORE column

value that corresponds to the

grouping column values.

Page 118: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

110 6 Aggregated Data

ARF_QUERY_MV_VISIT

The ARF_QUERY_MV_VISIT view provides aggregated data about queries that are submitted to ATG Search. The

calculated values are based on information in the ARF_QUERY table. The values in each row are constrained to a

particular day, site, language, query type, and site visit.

Column Name Type Length Null

Allowed

Description

NUM_QUERIES numeric Yes The number of search queries that

correspond to the day, site, language,

query type, and site visit. This value

counts rows in the ARF_QUERY table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

LANGUAGE_ID smallint No A reference to a value in the

ARF_LANGUAGE.ID column.

TYPE_ID integer No A reference to a value in the

ARF_QUERY_TYPE.ID column.

SITE_VISIT_ID bigint No A reference to a value in the

ARF_SITE_VISIT.SITE_VISIT_ID

column.

TOTAL_RESPONSE_TIME numeric Yes The total length, in milliseconds, of

the processing time for search queries

for the day, site, language, query

type, and site visit. This value sums

ARF_QUERY.RESPONSE_TIME column

values that correspond to the grouping

column values.

TOTAL_RESULTS_COUNT numeric Yes The total number of search

query results returned for the

day, site, language, query type,

and site visit. This value sums

ARF_QUERY.RESULTS_COUNT column

values that correspond to the grouping

column values.

Page 119: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 111

Column Name Type Length Null

Allowed

Description

TOTAL_TOP_SCORE numeric Yes The total relevancy score of

search query results for the

day, site, language, query type,

and site visit. This value sums

ARF_QUERY.TOP_SCORE column

values that correspond to the grouping

column values.

MIN_RESPONSE_TIME numeric Yes The lowest length, in milliseconds,

of the processing time for

search queries for the day, site,

language, query type, and site

visit. This value is the minimum

ARF_QUERY.RESPONSE_TIME column

value that corresponds to the grouping

column values.

MAX_RESPONSE_TIME numeric Yes The longest length, in milliseconds,

of the processing time for

search queries for the day, site,

language, query type, and site

visit. This value is the maximum

ARF_QUERY.RESPONSE_TIME column

value that corresponds to the grouping

column values.

MIN_TOP_SCORE numeric Yes The lowest relevancy score in

search query results for the day,

site, language, query type, and site

visit. This value is the minimum

ARF_QUERY.TOP_SCORE column value

that corresponds to the grouping

column values.

MAX_TOP_SCORE numeric Yes The highest relevancy score in

search query results for the day,

site, language, query type, and site

visit. This value is the maximum

ARF_QUERY.TOP_SCORE column value

that corresponds to the grouping

column values.

ARF_PROMOTION_USAGE_MV

The ARF_PROMOTION_USAGE_MV view provides aggregated data about purchases that involve promotions. The

calculated values are based on information in the ARF_PROMOTION_USAGE table. The values in each row are

constrained to a particular day, site, and promotion.

Page 120: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

112 6 Aggregated Data

Column Name Type Length Null

Allowed

Description

NUM_PROMOS_USED numeric Yes The number of purchases that

involve the promotion and that

correspond to the day and site.

This value counts rows in the

ARF_PROMOTION_USAGE table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

SITE_ID smallint No A reference to a value in the

ARF_SITE.ID column.

PROMOTION_ID smallint No A reference to a value in the

ARF_PROMOTION.ID column.

TOTAL_QUANTITY numeric Yes The number of purchased

items for the day, site, and

promotion. This value sums

ARF_PROMOTION_USAGE.QUANTITY

column values that correspond to

the grouping column values.

TOTAL_STD_DISCOUNT numeric Yes The total amount of discounts

applied as a result of the

promotion for the day

and site. This value sums

ARF_PROMOTION_USAGE.STANDARD_DISCOUNT_AMOUNT

column values that correspond to

the grouping column values.

TOTAL_STD_ORD_NET_REVENUEnumeric Yes The total value of purchases

that involve the promotion,

minus the discounts applied as

a result of the promotion for the

day and site. This value sums

ARF_PROMOTION_USAGE.STANDARD_ORDER_NET_REVENUE

column values that correspond to

the grouping column values.

TOTAL_STD_NET_REVENUE numeric Yes The total value of the items

that involve the promotion,

minus the discounts applied as

a result of the promotion for the

day and site. This value sums

ARF_PROMOTION_USAGE.STANDARD_NET_REVENUE

column values that correspond to

the grouping column values.

Page 121: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

6 Aggregated Data 113

ARF_CALL_MV

The ARF_CALL_MV view provides aggregated data about calls received by the Commerce Service Center. The

calculated values are based on information in the ARF_CALL table. The values in each row are constrained to a

particular day and customer service agent.

Column Name Type Length Null

Allowed

Description

NUM_CALLS numeric Yes The number of customer service

calls that correspond to the day and

customer service agent. This value

counts rows in the ARF_QUERY

table.

DAY_ID varchar 40 No A reference to a value in the

ARF_TIME_DAY.ID column.

DAY_TIMESTAMP timestamp No A reference to a value in the

ARF_TIME_DAY.DAY_TIMESTAMP

column.

AGENT_ID varchar 40 No A reference to a value in the

ARF_IU_USER.ID column.

TOTAL_CALL_TIME_SECONDS numeric Yes The total length, in seconds,

of the customer service calls

for the day and customer

service agent. This value sums

ARF_QUERY.RESPONSE_TIME

column values that correspond to

the grouping column values.

Refreshing Aggregated Data

Update the aggregated data in the views after the data warehouse loader server completes loading new

reporting information. The /atg/reporting/datawarehouse/refresh/RefreshService component on

the data warehouse server is configured to update the aggregated data according to a schedule. By default, it

updates the aggregated data every day at 06:00 server time.

Set the schedule property of the /atg/reporting/datawarehouse/refresh/RefreshService if you need

to alter the time that this component updates your aggregated data. The RefreshService component uses

the Oracle ATG Web Commerce platform scheduling services. See information about the scheduling services and

configuring a schedule in the ATG Platform Programming Guide.

Page 122: Data Warehouse Guide - Oracle1 Introduction 1 1 Introduction This book provides information about the data warehouse component of Oracle ATG Web Commerce Business Intelligence and

114 6 Aggregated Data

Refreshing Individual Views

The /atg/reporting/datawarehouse/refresh/RefreshService component invokes a list of other

components that refresh individual views. If you need finer control of the refreshing schedule for individual

views, set the schedule property of one of the individual refresh launchers. The individual view refresh launcher

components are:

• /atg/reporting/datawarehouse/refresh/sitevisit/SiteVisitRefreshLauncher

• /atg/reporting/datawarehouse/refresh/registration/RegistrationRefreshLauncher

• /atg/reporting/datawarehouse/refresh/call/CallRefreshLauncher

• /atg/reporting/datawarehouse/refresh/lineitem/LineItemRefreshLauncher

• /atg/reporting/datawarehouse/refresh/promotionusage/PromotionUsageRefreshLauncher

Remove an individual view refresh launcher component from the list that atg/reporting/datawarehouse/

refresh/RefreshService invokes if you schedule it individually. The list of individual view refresh launcher

components is stored in the refreshables property of atg/reporting/datawarehouse/refresh/

RefreshService.