Step 1: Create a Package Containing the Commerce Server DTS Tasks
In this step, you create a package that contains all the Commerce Server DTS tasks necessary to import data into the Data Warehouse and prepare it for analysis. You perform each of the following steps:
Create a package and add the Configuration synchronization task.
Add the Web server log import task.
Add the Transaction data import task.
Add the Catalog data import task.
Add the Profile data import task.
Add the Campaign data import task.
Add the Report preparation task.
Save the package.
Note
If you are using SQL Server 2005, you must install DTS 2000 Designer and run the Data Warehouse Import Wizard to create a package. You must have already created a package using the Data Warehouse Import Wizard or have existing packages to import before you can perform these tasks. For more information, see the individual topics.
To create a package and add the Configuration synchronization task
Expand Microsoft SQL Servers, expand SQL Server Group, and then expand the server on which your Data Warehouse is installed.
Right-click Data Transformation Services, and then click New Package.
On the Task menu, click Configuration synchronization (Commerce Server).
In the Synchronize DW Properties dialog box, do the following:
Use this
To do this
Description
Type a description for the task.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that you want to synchronize with the Data Warehouse.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Web server log import task
On the Task menu, click Web server log import (Commerce Server).
In the Import Web Server Logs dialog box, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that contains the log file that you want to import.
Log file path
Type the path of the Web log file that you want to import, or click the ellipsis button […] to browse for the log file path.
Log Files
Click to open the Web Server Log Files dialog box, select the Web log files you want to import from the Web Server Log Files list, and then click OK to return to the Import Web Server Logs dialog box.
Import all log files since last import
Select this option to specify that all log files created since the last import will be imported.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Transaction data import task
On the Task menu, click Transaction data import (Commerce Server).
In the Transaction Import Properties dialog box, on the General tab, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that contains the data that you want to import.
Incremental load
Select this option to import only new transaction data (based on a previous import).
Full load
Select this option to import all transaction data.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Catalog data import task
On the Task menu, click Catalog data import (Commerce Server).
In the Catalog Import Properties dialog box, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that contains the data that you want to import.
Incremental load
Select this option to import only new catalog data based on a previous import.
Full load
Select this option to import all catalog data.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Profile data import task
On the Task menu, click Profile data import (Commerce Server).
In the Profile Import Properties dialog box, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that contains the data that you want to import.
Query interval (mins.)
Type the time interval for the import. User data is imported in time intervals to prevent locking the database table. For example, a Web site that has 10,000 users would import user data in 15-minute intervals.
Setting a smaller value will lock the table for a shorter duration but will increase the number of queries against the table and therefore increase the time the task takes to run. Setting the value to zero will run a single query, locking the table for the entire duration of import but can degrade site performance.
Import start date
Select from the drop-down calendar a date on which to begin your import.
Incremental load
Select this option to import only new users based on a previous import.
Full load
Select this option to import all user data.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Campaign data import task
On the Task menu, click Campaign data import (Commerce Server).
In the Campaign Import Properties dialog box, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Operation level
Select Site level from the drop-down list.
Site name
Select from the drop-down list the site that contains the data that you want to import.
In the Retry Properties section, do the following:
Use this
To do this
Number of retries
Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10.
Seconds between retries
Type the number of seconds you want the task to wait between retry attempts. The default time interval is 30 seconds.
Click OK.
To add the Report preparation task
On the Task menu, click Report preparation (Commerce Server).
In the Prepare Reports Properties dialog box, do the following:
Use this
To do this
Description
Type a description for the task. The maximum number of characters for the description is 255.
Site name
Select the site for which you are populating the OLAP cubes.
Incremental
Select to process the OLAP cubes incrementally.
Full
Select to process the OLAP cubes in their entirety.
Click OK.
To save the package
On the Package menu, click Save.
In the Save DTS Package dialog box, in the Package name box, type a name for the package (such as <SiteName>Import).
Click OK.
The package that contains the task is saved.
See Also
Other Resources
How to Run the Configuration Synchronization DTS Task
How to Run the Web Server Log Import DTS Task
How to Run the Catalog Data Import DTS Task
How to Run the Campaign Data Import DTS Task
How to Run the Profile Data Import DTS Task
How to Run the Transaction Data Import DTS Task
How to Run the Data Deletion DTS Task