Creating Partitions Using the OLAP Manager


Caution Incorrect use of partitions can result in inaccurate cube data. For more information, see Partitions and its subtopics.


Partitions are the storage containers for the data and aggregations of a cube. Every cube consists of one or more partitions. When a cube is created, a single default partition is automatically created for the cube. Multiple partitions are transparent to the user who sees only the total cube.


Note User-defined partitions are available only if you install Microsoft® SQL Server™ OLAP Services, Enterprise Edition.


To quickly and easily create a partition, use the Partition wizard. The wizard takes you through steps to specify the following definitions for the partition:

To start the Partition wizard

  1. In the OLAP Manager tree view, under a database, expand the Cubes folder, and then expand the cube in which you want to include the partition.
  2. Right-click the Partitions folder, and then click New Partition.

After you create a partition, you must also process it to add its data to the cube. Depending on the size of the partition, processing may take considerable time.

The storage required for temporary files during processing can be substantially larger than the final size of the partition. If during processing you exhaust the free space of the disk containing your temporary file folder, you can specify a folder on another disk with more free space. For more information, see Properties Dialog Box - General Tab.

To process a partition

  1. In the OLAP Manager tree view, under a database, expand the Cubes folder, expand the cube containing the partition, and then expand the Partitions folder.
  2. Right-click the partition, and then click Process.
  3. In the Process dialog box, wait for the partition to finish processing, or click Stop to halt and cancel processing.

After processing completes but before you close the Process dialog box, you can view the SQL statement used to process the partition. This statement is created in part from any data slice and/or filter specified in the Partition wizard.

To view an SQL statement

  1. In the Process dialog box, click a line beginning with the SQL icon.
  2. Click View Details.

Referential integrity of the data warehouse is not verified by OLAP Services. So, for example, if the partition’s fact table contains foreign key values that are not present in a joined dimension table’s primary key column, the rows containing those values are not processed. In this case, processing does not produce an error message, but the partition contains incomplete and therefore inaccurate data.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.