Sign Up for Training |
insightsoftware Company Site
Community
Downloads
Training
Submit a Request
Become a Jet Insider
Give Feedback

Data Partitions


Overview:

Partitioning allows tables and indexes to be subdivided into smaller pieces, and each small piece (eg., each subset of the overall data) is called a partition.

Partitions are typically created based on a date field.

This article covers how to create a partition schema using the Jet Data Manager, and how to use that partition schema to partition a table.

Partitioning is only available when using SQL Server Developer and Enterprise editions if your SQL Server version is older than 2016 SP1. Starting with SQL Server 2016 SP1 partitioning became standard in all editions of SQL Server.

Process:

  1. Right-click the table that you would like to setup table partitioning on, and select Table Settings

    mceclip0.png

  2. On the Performance tab check Enable Physical Valid Table and hit the first Add button to create a template:

    mceclip1.png

  3. Give the template a descriptive name, and select among the options available. In this example, we will partition using the Month (YYYYMM) operation, the use of which will become apparent in Step 4

    mceclip2.png

  4. Complete the partitioning setup by providing values for the following three fields:

    a. Template: Pick the template you created in step #3 from the drop-down list
    b. Field: Specify a date field from the table you are partitioning. In this example, I selected Posting Date
    c. Time Table:
    The time table chosen in this list must be a time table (such as the Date table in the stage,) if one is not present you can create one by hitting the second Add button:

    mceclip3.png

     

    mceclip4.png

  5. Click OK and then deploy & execute your table.

    Notice the creation of a new partition field in the format of YYYYMM inside the table, as well as a Partition Templates folder inside the Jet Data Manager. Partition templates can be re-used in other tables

    mceclip5.png

    mceclip7.png

  6. Once that completes, right-click the table on which you set up the partition and select Edit Cube.  

    mceclip8.png

     

    Then, check the box for Incremental Load

    mceclip9.png

When the cube gets executed again, it will utilize the partition.

Was this article helpful?
0 out of 0 found this helpful

Comments