Partition based refresh for Informix Warehouse Accelerator.

3,483 views
3,206 views

Published on

With Informix 11.70.FC5, you can refresh only the modified/new partitions to Informix Warehouse Accelerator. This presentation shows the two use cases for it.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,483
On SlideShare
0
From Embeds
0
Number of Embeds
464
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • execute function dropPartMart(’myAccelerator’,’myMart’,’user10’,’tab22’,’part1’); execute function loadPartMart(’myAccelerator’,’myMart’,’user10’,’tab22’,’part1’);
  • execute function dropPartMart(’myAccelerator’,’myMart’,’user10’,’tab22’,’part1’); execute function loadPartMart(’myAccelerator’,’myMart’,’user10’,’tab22’,’part1’);
  • Partition based refresh for Informix Warehouse Accelerator.

    1. 1. Informix Ultimate Warehouse edition IBM Smart Analytics StudioStep 1. Install, configure,start InformixStep 2. Install, configure, Step 3start Accelerator Step 1Step 3. Connect Studio toInformix & add accelerator Step 4 Informix Database ServerStep 4. Design, validate,Deploy Data mart Step 5Step 5. Load data toacceleratorReady for Queries BI Applications Step 2 Ready Informix warehouse Accelerator Session A14 1
    2. 2. Case 1: Partition refresh: Updates to existing Partitions IBM Smart AnalyticsStep 1. Create the Sales-Mart Studio or storedand load it. Sales is the fact partitioned fact table procedures ortable -- range partitioned. command line toolStep 2. Load jobsupdate the fact table “sales” Step 1Only updates existing partition customer Step 2 salesStep 3. Identify the partition,execute dropPartMart(). Modified partition SQL Script: call Stored procedureStep 4. for same partition,execute loadPartMart(). stores Step 3 Step 4 Informix Database ServerReady for Queries INSERT, UPDATE, DELETE BI Applications IWA Sales-Mart Ready OLTP Apps Session A14 2
    3. 3. Time cyclic data management Partitioned fact table, partitioned by week working window week1 week2 week3 Session A14 3
    4. 4. Time cyclic data management Partitioned fact table, partitioned by week working window week1 week2 week3 week4 DETACH ATTACH week1 week4 partition partition Session A14 4
    5. 5. Time cyclic data management with IWA Partitioned fact table, partitioned by week working window week1 week2 week3 week4 week6 DETACH ATTACH partition partition1. Execute dropPartMart on IWA a. ATTACH the partition2. DETACH partition from the table b. Execute loadPartMart() on IWA Session A14 5
    6. 6. Case 2: Partition refresh: Time Cyclic data management IBM Smart AnalyticsStep 1. Create the Sales-Mart Studio or storedand load it. Sales is the fact partitioned fact table procedures ortable -- range partitioned. command line toolNeed to move the Timewindow to next range. Step 1 customerStep 2. DETACH operation salesb. Execute dropPartMart() Move the window.c. DETACH the partitionStep 3. ATTACH operationa. ATTACH the partition storesb. Execute loadPartMart() Step 2 Step 3 Informix Database ServerReady for Queries BI Applications IWA Sales-Mart Ready OLTP Apps Session A14 6
    7. 7. dropPartMart() procedure1. Uses the accelerator name, datamart name, table name and partition name. Partition name can be the name of the partition or partition number (sysfragments.partn) The partition name or number should be a valid partition for the table. Call dropPartMart() first before doing the DEATCH Session A14 7
    8. 8. loadPartMart() procedure1. Uses the accelerator name, datamart name, table name and partition name. Partition name can be the name of the partition or partition number (sysfragments.partn) The partition name or number should be a valid partition for the table. ATTACH the partition first, before calling loadPartMart(). Session A14 8

    ×