Business Intelligence Tutorial

Lesson 10. Scheduling warehouse processes

In this lesson, you will specify that the steps in the Tutorial Market process are to run in the following sequence:

  1. Load Demographics Data
  2. Select Geographies Data
  3. Join Market Data

Then you will specify that the Load Demographics Data step is to run at a scheduled time. You will activate the schedule by promoting the steps in the process to production mode.


Specifying that the steps are to run in sequence

To specify that the steps are to run in sequence:

  1. From the Process Model window, click the Task Flow icon:
    Figure arrowcol not displayed.
  2. Click the On Success icon (the green arrow).

    On Success indicates that a step is to be started only if the step before it ran successfully. You can also select the following states:

    On Completion
    Indicates that a step is to be started when the step before it runs successfully or fails.

    On Failure
    Indicates that a step is to be started only if the step before it failed.

    For more information, see "Scheduling a step" in the online help.

  3. Click the Load Demographics Data step, which is the step that is to run first.
  4. Hold down the mouse button and drag the mouse to the Select Geographies Data step, which is to run after the Load Demographics step.
  5. Release the mouse button.

    A green arrow that represents the task flow is displayed on the canvas between the two steps.

  6. Repeat steps 3 to 5 with the Select Geographies Data step and the Join Market Data step. Specify the Select Geographies Data step as the first step, and the Join Market Data step as the second step.
    The GEOGRAPHIES SELECT statement on the SQL Statement page.

    The steps will now run in the order that is listed in the introduction to this lesson.


Scheduling the first step

Now, you will schedule the Load Demographics Data step, to start at a specified date and time. The Data Warehouse Center will start the step at the time you specify. When the Load Demographics Data step finishes running, the Data Warehouse Center starts the next step in the sequence that you defined in the previous section.

When you schedule a step, you can specify one or more dates and time on which the step is to run. You can also specify the step is to run once or is to run at a specified interval, such as every Saturday.

To schedule the Load Demographics Data step:

  1. Right-click the Load Demographics Data step, and click Schedule.

    The Schedule notebook opens.

  2. Click the Schedule tab.
  3. From the Interval list, click Yearly.
  4. In the Start date and time field, accept the default of the current date, and specify a time that is a few minutes from the current time.

    The step will run at the time you select.

  5. In the End field, accept the default that the schedule is to run indefinitely.
  6. Click Add.

    The schedule is added to the Schedule list.
    The GEOGRAPHIES SELECT statement on the SQL Statement page.

  7. Click OK.

    The specified schedule is created.


Promoting the steps to production mode

To activate the schedule and the task flow links that you created, you must promote the steps to production mode. Production mode indicates that the steps are in their final format. In production mode, you can change only those settings that will not affect the step's processing, such as changing the description of the step. For more information, see the Data Warehouse Center Administration Guide.

To promote the steps to production mode:

  1. Right-click the Load Demographics data step.
  2. Click Mode> Production.

    The Data Warehouse Center displays a progress window. Wait until the Data Warehouse Center finishes processing before continuing with this lesson.

  3. Repeat the previous steps for the Select Demographics Data step and Join Market Data steps, in order.

What you just did

In this lesson, you scheduled the steps that you created to once a year at the current date and time in the following order:

  1. Load Demographics Data
  2. Select Geographies Data
  3. Join Market Data

Then you promoted the steps to production mode to implement the schedule.


[ Top of Page | Previous Page | Next Page ]