Professional Documents
Culture Documents
CHNH
www.fssc.com.v
n
Page 1
Contents
Quick Tips for Job Performance
Optimization in BODS
Push down
Data Transfer
Bulk loading
Note
www.fssc.com.v
n
Page 2
Quick Tips
- m bo rng hu ht tt c cc Dataflows
c ti u ha. Ti a ha vic y hot
ng (push-down operations) xu ng
database cng nhiu cng tt. C th ki m
tra vic ti u ha bng cch s dng ty
chn Display Optimized SQl bn trong
Dataflow. SQL nn bt u bng INSERT
INTOSELECT statements
www.fssc.com.v
n
Page 3
Quick Tips
- Chia nh Dataflow thnh nhiu Dataflow
nu c th. iu ny gip cho vic bo tr
hoc ti s dng trong tng lai c d
dng hn; cng nh m bo vic hu ht
cc Dataflow c th c push down.
- Nu khng th thc hin pushdown trong 1
Dataflow th c th kch hot tnh nng Bulk
Loader target table. Click p v target
table, chn Bulk Loader Options. Tuy nhin
ch kch hot c trong trng hp target
table khng phi l bng tm.
- Select Distinct: Trong BODS Select ->
www.fssc.com.v
n
Page 4
Quick Tips
- Lookup: S dng Lookup table nh l
source table. K thut ny c li th h n
vic s dng lookup function vi n y ho t
ng thc thi join xung bn di database.
Ngoi ra n s d dng cho vic bo tr,
sa cha dataflow. Thm na lookup s
truy xut vo bng, n tng record lm
tng hot ng I/O trong DS.
- S dng Query Transform chia d liu
thay v s dng Case transforms v n t n
ti nguyn chuyn i trong BODS.
- Hn ch s dng cc tnh nng nng cao
www.fssc.com.v
n
Page 5
Push down
- To Before runnoptimize performance, the
software pushes down as many SELECT
operations as possible to the source
database and combines as many operations
as possible into one request to the
database.
- Before runing a job, you can view the SQL
that is generated and adjust your design to
maximize the SQL that is pushed down to
improve performance.
www.fssc.com.v
n
Page 6
Page 7
Page 8
www.fssc.com.v
n
Page 9
Page 10
Page 11
Tt c operations u c x l di datasource
www.fssc.com.v
n
Page 12
Data Transfer
Data transfer transformation is used
extensively to optimize the performance of
the job by pushing down operations to the
Database level.
Data transfer transformation insures the
operations for push down.
Data transfer transformation creates a
temporary Database table that is used as
staging table for operation
By pushing down operations to the source
www.fssc.com.v
n
Page 13
www.fssc.com.v
n
Page 14
www.fssc.com.v
n
Page 15
Page 16
Page 17
www.fssc.com.v
n
Page 18
Note
- Trong 1 DF, khng c set 2 bulk load.
www.fssc.com.v
n
Page 19
Note
Trng hp chn 2 bulk load trong cng 1
DF
www.fssc.com.v
n
Page 20
Note
Trng hp chn duy nht 1 bulk load trong cng 1 DF
www.fssc.com.v
n
Page 21