View
221
Download
0
Embed Size (px)
Citation preview
DN 9601 000.0098Copyright © 1998 Information Builders, Inc.
Fusion:Migrating from Focus
Tim Feetham
NORCAL FUSE June 11, 1999
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion: What is it?
Focus vs Fusion
Migration strategies
Design options
Tools and techniques
Agenda
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
FusionWhat is it?
Fusion is a server based DSS DBMS
Close relative to Focus
Greater scalability
More design options
Faster performance
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
FusionWhat is it?
Designed for data marts & warehouses
Integrated with Web Focus & Focus Desktop
Supports SQL/ODBC tools
Currently scales to 500 gig
Soon to be available for Focus
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
FusionWhy?
DSS DBMS performance hierarchy
sequential access
pointers
indexes
Fusion uses all three methods
Pointers & RDBMS’s don’t mix
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
FusionWhy?
DSS no single architecture
pre calculation approach does not scale and is rarely open (SQL support wanting)
dynamic does not perform as well
Fusion scales, supports SQL, and is best of dynamic DSS
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusionvs. Focus
Like Focus, Fusion uses native file system --
uses system move & copy
uses standard backups
deployment flexibility, i.e.
same file different names
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusionvs. Focus
Uses master file with some differences
Key word delimited except for Defines and DBA (same syntax)
Segments now called classes
Use of Use for history now handled through partitions
DKU, KU, etc now
JOIN, RJOIN, etc
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusFocus Master
FILE=CUSTORD, SUFFIX=FOC,
SEGNAME=ORDER, SEGTYPE=S1 $FIELD=ORDER_NO, ALIAS=ORDER, FORMAT=A6, INDEX=I $
SEGNAME=ORD_DATA, SEGTYPE=U, PARENT=ORDER, $FIELD=ITEM_NO, ALIAS=ORDER_LINE, FORMAT=P4, $
SEGNAME= ITEM_SEG, SEGTYPE=S1, PARENT=ORDER, $FIELD=PART_NO, ALIAS=PART_ID, FORMAT=A4$
DEFINE SUPPLIER/A2=EDIT(PART_NO,99$$);
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusFusion Master
FILE CUSTORD FILETYPE FUSION ACCESS CUSTORD
CLASS ORDER KEY S1FIELD ORDER_NO ALIAS ORDER FORMAT A6 INDEX ON
SECTION ORD_DATAFIELD ITEM_NO ALIAS ORDER_LINE FORMAT P4
CLASS ITEM_SEG PART_OF ORDER KEY S1FIELD PART_NO ALIAS PART_ID FORMAT A4
DEFINE SUPPLIER/A2 = EDIT(PART_NO,99$$);
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusFusion Access File
MASTERNAME CUSTORD DATANAME C:\DATA\CSTORD.FUS
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusFusion Options of Special Note
Intelligent Partitions
Multi-dimensional Indexes
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusFusion Access File w/ Intelligent Partitions
MASTERNAME CUSTORD
DATANAME C:\DATA\CSTORD97.FUS WHERE ORDDT GE ‘1997/01/01’ AND ORDDT LE ‘1997/12/31’; DATANAME C:\DATA\CSTORD98.FUS WHERE ORDDT GE ‘1998/01/01’ AND ORDDT LE ‘1998/12/31’;
DATANAME C:\DATA\CSTORD99.FUS WHERE ORDDT GE ‘1999/01/01’ AND ORDDT LE ‘1999/12/31’;
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion vs FocusMaster&Access w/ Multi-dimensional Index
MASTERNAME CUSTORD DATANAME C:\DATA\CSTORD.FUS MDILOCATION ORDMD DATANAME C:\DATA\CSTMDI.MDI
FILE CUSTORD FILETYPE FUSION ACCESS CUSTORD
CLASS ORDER KEY S1
FIELD ORDER_NO ALIAS ORDER FORMAT A6 INDEX MD_EXTERNAL LOCATION ORDMD
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionMigration Strategies
Forklift with minimal change
Move databases and programs intact
replace USE routines with partitions
move to c/s and/or web
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionMigration Strategies
Re-engineer for data mart/warehouse
deploy star schema
add admin tools
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionForklift
Create extract files from focus
ON TABLE HOLD AS a FORMAT ALPHA
one file per path, max (hint: use SEG.fieldname syntax to save typing)
Move original master, hold file, and hold file to target
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionForklift
Convert original master (use REBUILD MIGRATE or Fusion Admin)
Write Modify and load (use EDA Worksheet or Focus Desktop)
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionForklift - sample MODIFY
CREATE FILE CUSTORD
MODIFY FILE CUSTORDFIXFORM FROM CUSTEXTMATCH ORDER_NO ON NOMATCH INCLUDE ON MATCH CONTINUEMATCH LINE_ITEM ON NOMATCH INCLUDE ON MATCH …
DATA ON CUSTEXTEND
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionData Mart/ Warehouse
Star Schema design dominates thinking (see Kimball, et al Data Warehouse Life Cycle Toolkit)
Fusion can support star and snowflake schema with superior performance to relational DBMS’s
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionClassic Star Schema
Order
Order_no
Sales_rep_id
Dealer
Promotion
LineItem
Order_ no
Part_id
Customer_id
Order_dt
quantity
unit_pricePart
Part_id
Part_description
Assembly_id
Assembly_description
Customer
Customer_id
Customer_fname
Customer_lname
Customer_phone
Time
date
month
cal_yr
fisc_yr
1,10,N
1,10,N
1,10,N
1,10,N
Most queries require one or more joins w/ relational technology.
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Most joins are resolved prior to query--others via Multi-dimensional index.
Focus to FusionStar Schema w/ some Fusion options
Def_MF.Customer
Customer_id
Customer_fname
Customer_lname
Customer_phone
Def_MF.Part
Part_id
Part_description
Assembly_idDef_MF.LineItem
Order_ no
Part_id
Order_dt
quantity
unit_price
month
cal_yr
fisc_yr
Def_MF.Order
Order_no
Sales_rep_id
Dealer
Promotion
Customer_id
Def_MF.Assembly
Assembly_id
Assembly_description
RJOIN_TO PART_OFPART_OF
RJOIN_TO
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Focus to FusionStar SchemaFusion user view
Def_MF.LineItem
Order_ no
Customer_id
Customer_fname
Customer_lname
Customer_phone
Part_id
Part_description
Assembly_id
Assembly_description
Sales_rep_id
Dealer
Promotion
Order_dt
quantity
unit_price
month
cal_yr
fisc_yr
User views simplified.
Storage minimized.
Performance maximized.
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion Management Tools
Construction of Masters and Access Files Via text editor SmartModeler Fusion Administrator
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Fusion Management Tools
Maintenance (loads) via Modify Copy Manager
DN 9601 000.0098
Copyright © 1998 Information Builders, Inc.
Demo