Oracle Retail Data Warehouse Installation Manual

Release 13.0

Advertisement

Quick Links

®
Oracle
Retail Data Warehouse
Database Installation Guide
Release 13.0
April 2008

Advertisement

Table of Contents
loading

Summary of Contents for Oracle Retail Data Warehouse

  • Page 1 ® Oracle Retail Data Warehouse Database Installation Guide Release 13.0 April 2008...
  • Page 2 Oracle® Retail Data Warehouse Database Installation Guide, Release 13.0 Copyright © 2008, Oracle. All rights reserved. Primary Author: Paul Kehler The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws.
  • Page 3 Value-Added Reseller (VAR) Language (i) the software component known as ACUMATE developed and licensed by Lucent Technologies Inc. of Murray Hill, New Jersey, to Oracle and imbedded in the Oracle Retail Predictive Application Server – Enterprise Engine, Oracle Retail Category Management, Oracle Retail Item Planning, Oracle Retail Merchandise Financial Planning, Oracle Retail Advanced Inventory Planning and Oracle Retail Demand Forecasting applications.
  • Page 5: Table Of Contents

    Contents Preface ..........................vii Audience ..........................vii Related Documents......................vii Customer Support........................ vii Review Patch Documentation .................... vii Oracle Retail Documentation on the Oracle Technology Network....... vii Conventions.........................viii 1 Preinstallation Tasks....................1 Implementation Capacity Planning..................2 Check Database Server Hardware Requirements ..............2 Check Database Server Software Requirements..............3 Other Software Requirements for the Data Warehouse ............4 Check Client System Requirements ..................4...
  • Page 7: Preface

    Preface Oracle Retail Installation Guides contain the requirements and procedures that are necessary for the retailer to install Oracle Retail products. Audience This Installation Guide is written for the following audiences: Database administrators (DBA) System analysts and designers Integrators and implementation staff Related Documents You can find more information about this product in these resources: Oracle Retail Data Warehouse Middle Tier Installation Guide...
  • Page 8: Conventions

    Conventions This is a navigate statement. It tells you how to get to the start of the procedure Navigate: and ends with a screen shot of the starting point and the statement “the Window Name window opens.” This is a note. It is used to call out information that is Note: important, but not necessarily part of the procedure.
  • Page 9: Preinstallation Tasks

    Preinstallation Tasks This release of RDW incorporates optional interfaces with these Oracle Retail products which can be sources for the data warehouse: Oracle Retail Merchandising System (RMS), Oracle Retail Invoice Matching (ReIM), Oracle Retail Merchandise Financial Planning (MFP), and Oracle Retail Price Management (RPM). Additionally, the data warehouse can also operate as a standalone product and be fed from other legacy systems.
  • Page 10: Implementation Capacity Planning

    Preinstallation Tasks Implementation Capacity Planning There is significant complexity involved in the deployment of Oracle Retail applications, and capacity planning is site specific. Oracle Retail strongly suggests that before installation or implementation you engage your integrator (such as the Oracle Retail Consulting team) and hardware vendor to request a disk sizing and capacity planning effort.
  • Page 11: Check Database Server Software Requirements

    Check Database Server Software Requirements Overall database size for the RDW. A capacity plan should be done for the database server and DASD requirements in general to assess how large the environment will need to be. These data warehouse server requirements should Note: only be used as guidelines because they reflect the hardware used to run a small environment (approximately 200...
  • Page 12: Other Software Requirements For The Data Warehouse

    Preinstallation Tasks Other Software Requirements for the Data Warehouse Please refer to the RDW 13.0 Middle Tier Installation Guide for the full installation instructions of the Oracle Business Intelligence Enterprise Edition components. Requirement Version Oracle Business Intelligence 10.1.3.3 Enterprise Edition Oracle Retail Extract Transform 13.0 and Load (RETL)
  • Page 13: Alter Directory Ownership And Privileges

    Alter Directory Ownership and Privileges Create RDW database directory structure: Log in to the database server as UNIX user rdwdba. This user owns the database directory structure. Extract the files from the downloaded zip file. FTP (in binary mode) the tar file, rdw13_db.zip, to <database_directory>...
  • Page 14: Copy Profiles For Rdw User

    Preinstallation Tasks Copy Profiles for RDW User Login to UNIX as the rdw13dev user and change directories to <base_directory>/rdw13.0/sample_profiles. Copy the profile to the home directory of rdw13dev. Edit the .profile to correspond with the server file system, RETL installation and UNIX environment. Note: The sample profiles by default are set up for a development environment.
  • Page 15: Installation Tasks

    Installation Tasks It is assumed that Oracle 10g release 2, with appropriate patches, has already been installed. If not, refer to “Check Database Server Software Requirements” in Chapter 1, “Preinstallation Tasks” before proceeding. Become familiar with the RDW application in a Note: development environment before setting up a production system.
  • Page 16: Create The Rdw Database And Tablespaces

    Installation Tasks Create the RDW Database and Tablespaces Create the Database as Follows Login to the RDW database server as the rdwdba user. Create the Oracle recommended OFA directory structure for the database (datafile directories, adump, bdump, cdump, arch, create, exp, pfile, udump, utl_file_dir). Place an entry in the oratab file for the database and execute oraenv to set the ORACLE_SID and ORACLE_HOME environment variables.
  • Page 17: Load Rdw Database

    Load RDW Database Load RDW Database Create RDW Schema Owners As the rdwdba user, change directories to INSTALL_DIR/rdw13/utility. Review the crusers.sql file for the names and passwords of the rdw users that will be created. Note these as they are used later in the installation. Login to SQL*Plus as SYSDBA and execute the following script: SQL>@crusers..sql To secure the passwords in the create users script, change the privileges on the script...
  • Page 18: Configure Retl

    Installation Tasks SP2-0734: unknown command beginning "no rows se..." - rest of line ignored. These scripts are also used for maintenance. If you Note: need to drop or add a table in the database, run these scripts again to give the appropriate privileges to your users. If a table has been dropped and recreated for maintenance, you also need to verify that all objects in the database are VALID.
  • Page 19: Populate Datamart Default Data

    Data Population Populate Datamart Default Data As the rdw13dev user, change directories to <base_directory>/rdw13.0/install. This directory contains the code for all default data installation scripts. At the UNIX prompt, enter: default_load.ksh Read the comments on every install script called Note: within default_load.ksh, specifically load_maint_dim_key_dm.sql because the initial date for curr_load_dt might be different for every client.
  • Page 20: Populate Time Dimension

    Installation Tasks On the UNIX server, cChange directories to <base_directory>/rdw13.0/log. Review the log file that was created or modified. On the UNIX server, change directories to <base_directory>/rdw13.0/error. Review the error files that were created for time_static_load. Refer to the RDW Operations Guide for more Note: information on the log files and error files.
  • Page 21 Data Population Create Time in RDW If more time data is needed, modify the parameters below for the new time period and run the module again. To minimize the load time for adding additional time, enter only the first year to be added as the response for the first year prompt in number 5. If RMS is not being used as the source of the time calendar, move on to step 2.
  • Page 22: Populate Static Dimension Data

    Installation Tasks the error files that were created for g_time_load and g_time_trnsfrm_load if 454 time with Gregorian calendar is used. Refer to the RDW Operations Guide for more information on the log files and error files. DAY_IDNT serves as a surrogate key for day of the Note: time.
  • Page 23: Install Oracle Configuration Manager

    Install Oracle Configuration Manager Install Oracle Configuration Manager This Oracle Retail product has been instrumented for configuration discovery and collection by Oracle Configuration Manager (OCM). It is recommended that you take advantage of OCM in your environment. Please see MetaLink note 559539.1 for more information about OCM instrumentation in Oracle Retail products.
  • Page 25: A Appendix: Development Database Schema Implementation

    Appendix: Development Database Schema Implementation The following figure shows the source system and RDW development schemas that are referred to in this installation guide. RDW 13.0 Development Environment Source Server Target Server (i.e. RMS, ReIM, etc.) Flat File Landing Directory RDW 13.0 Oracle Database Oracle Database...
  • Page 27: B Appendix: Rdw Code Tree

    Appendix: RDW Code Tree The following table describes the contents of each of the RDW code tree directories created during the RDW installation. Path Directory Description <base_directory> dbasql This directory contains all SQL scripts necessary to maintain the permissions for the database users. <base_directory>...
  • Page 29: C Appendix: Oracle 10G Database Creation Scripts

    Appendix: Oracle 10g Database Creation Scripts ############################################################################### # Oracle 10.2.0.x Parameter file # NOTES: Before using this script: 1. Change <datafile_path>, <admin_path>, <utl_file_path>, and <hostname> values as appropriate. 2. Replace the word SID with the database name. 3. Size parameters as necessary for development, test, and production environments.
  • Page 30 Appendix: Oracle 10g Database Creation Scripts nls_sort = BINARY # Should be explicitly set to ensure all sessions get the same order nls_territory = AMERICA # Default open_cursors = 900 # Oracle Retail required (minimum=900); default is 50 optimizer_features_enable = 10.2.0.1 optimizer_mode = CHOOSE # Oracle Retail required...
  • Page 31 Install Oracle Configuration Manager GROUP 3 ('<datafile_path>/redo3a.log') SIZE 1000M DEFAULT TEMPORARY TABLESPACE temp TEMPFILE '<datafile_path>/temp01.dbf' SIZE 5000M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M UNDO TABLESPACE undo_ts DATAFILE '<datafile_path>/undo_ts01.dbf' SIZE 5000M SYSAUX DATAFILE '<datafile_path>/sysaux01.dbf' SIZE 500M AUTOEXTEND ON NEXT 100M MAXSIZE 2000M exit spool off ----------------------------------------------------------------------------------...
  • Page 32 Appendix: Oracle 10g Database Creation Scripts spool off exit ---------------------------------------------------------------------------------- --- Script: crdb3.sql --- Execute as: sysdba in 10.1.0.2 databases or higher --- Note: This script installs java and xml components; Do not change the order of the statements below due to dependencies ---------------------------------------------------------------------------------- spool JServer.log...
  • Page 33: D Appendix: Tablespace Creation Scripts

    Appendix: Tablespace Creation Scripts ------------------------------------------------------------------------- ------------ --- Script: create_rdw_tablespaces.sql --- Execute as: sysdba --- Note: Before running this script: Modify <datafile_path> values. Modify datafile storage parameters and sizes based on partitioning strategy. ------------------------------------------------------------------------- --------- spool create_rdw_tablespaces.log CREATE TABLESPACE cache_data DATAFILE '<datafile_path>/cache_data01.dbf' SIZE 15M AUTOEXTEND ON NEXT 100M MAXSIZE 2000M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO...
  • Page 34 Appendix: Tablespace Creation Scripts AUTOEXTEND ON NEXT 100M MAXSIZE 2000M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO CREATE TABLESPACE user_data DATAFILE '<datafile_path>/user_data01.dbf' SIZE 300M AUTOEXTEND ON NEXT 50M MAXSIZE 2000M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO spool off exit 26 Oracle Retail Data Warehouse...
  • Page 35: E Appendix: Installation Order

    Appendix: Installation Order This section provides a guideline as to the order in which the Oracle Retail applications should be installed. If a retailer has chosen to use some, but not all, of the applications the order is still valid less the applications not being installed. Oracle Retail Merchandising System (RMS), Oracle Retail Trade Management (RTM), Oracle Retail Sales Audit (ReSA) Oracle Retail Service Layer (RSL)

Table of Contents