Data Warehouse and Analysis Updates Included in Commerce Server 2000 Service Pack 2 (311496)



The information in this article applies to:

  • Microsoft Commerce Server 2000

This article was previously published under Q311496

SUMMARY

This article describes the updates that occur in the Data Warehouse and Analysis components when you apply Commerce Server 2000 Service Pack 2 (SP2).

For additional information about how to obtain the latest Commerce Server 2000 service pack, click the article number below to view the article in the Microsoft Knowledge Base:

297216 How to Obtain the Latest Commerce Server 2000 Service Pack

MORE INFORMATION

Commerce Server 2000 SP2 automatically updates the Data Warehouse and Analysis components of Commerce Server.

The Analysis update program performs the following steps:
  1. Commerce Server Service Pack 2 opens the <COMMERCE_SERVER_ROOT>\sp2\backup\cs2ksp2_<sitename>_upgrade.log log file.
  2. The update program connects to the Microsoft SQL Server Data Warehouse and checks for the existence and version of the csdw_analysis_version view. If the view exists, the site has already been updated to SP1 and the update process only applies to updates that are unique to SP2. If the version in the view indicates SP2, the update is ended.
  3. The update program runs the Cs2ksp1.sql (if SP1 has not been applied) and Cs2ksp2.sql script files from the <COMMERCE_SERVER_ROOT> directory and applies the script to the SQL Server Data Warehouse. The script file then backs up the contents of the CubeProcInfo and Report tables to the csdw_spbk_CubeProcInfo and csdw_spbk_Report tables, respectively.
  4. The script rebuilds the following objects, and saves the old versions as follows:
    ObjectSaved ObjectLast Changed
    CSDW_MakeViewBasketEventFactCSDW_spbk_MakeViewBasketEventFactSP1
    CSDW_MakeViewNewUsersByDateCSDW_spbk_MakeViewNewUsersByDateSP1
    CSDW_MakeAggRequestsByURICSDW_sp2bk_MakeAggRequestsByURISP2
    CSDW_MakeViewCampaignResultsByDayCSDW_sp2bk_MakeViewCampaignResultsByDaySP2
    CSDW_MakeUserAgentDataCSDW_sp2bk_MakeUserAgentDataSP2


  5. The script adds the CSDW_DateFill object.
  6. The script rebuilds the following reports:
    ReportLast Changed
    Ad PlacementSP1
    Campaign Event SummarySP1
    Usage Summary by Week of YearSP1
    Usage Summary by Day of WeekSP1
    Usage Summary by Hour of DaySP1
    General Activity StatisticsSP1
    Shopping Basket EventsSP1
    Product SalesSP1
    User Trends - StaticSP2
    User Days to Register - StaticSP2
    Usage Trends - StaticSP2
    Usage Summary by Day of WeekSP2
    Usage Summary by Hour of DaySP2
    Usage Summary by Week of YearSP2

  7. The script deletes the following reports:
    ReportDeleted during
    Customer Spend Summary reportSP1
    User Trends - DynamicSP2
    User Days to Register - DynamicSP2
    Usage Trends - DynamicSP2

    NOTE: The Usage Trends, User Days to Register, and Usage Trends reports are static reports after installation of Service Pack 2.

  8. The update program identifies the location of the Microsoft Analysis Services (OLAP) database that is associated with this site.
  9. The update program verifies whether the cs2ksp1_<site_olapdbname>_schema_backup OLAP database exists on the Analysis server. If the database exists, the database has already been updated, and the update process is ended.
  10. The update program replicates the schema for the site analysis database into the cs2ksp1_<site_olapdbname>_schema_backup database.
  11. The update program removes several dimensions from the OLAP database, provided that they are not used by a non-Commerce Server object. For example, if you have added dimensions to custom cubes, those dimensions are removed.
  12. The update program removes the following dimensions from the database and cubes:

    " [Campaign] dimension
    " [RegisteredUser] dimension
    " [CustomerOrders] dimension

  13. The update program adds the DateWithHour dimension.
  14. The update program removes the following members:
    Member(s)Cube
    UsersUsers
    All calculated measures except
    Avg Requests and Avg Duration
    Web Usage

  15. The update program adds the following cubes:
    • mscsDateIntersect
    • mscsVisit

  16. The update program add the DateWithHour dimension to the Web Usage cube.

    NOTE: You can examine the results of the updated tasks in the log file. If an error message occurs during the update process, it is written to the Cs2ksp2.log log file.

Modification Type:MajorLast Reviewed:10/18/2002
Keywords:kbinfo KB311496