3. Transformation Naming standards (Contd ..)

advertisement
EDW Informatica
Standards & Guidelines
Version 1.0
Naming Standards
1. Source and Target Naming standards
2. Mapping and Mapplet Naming standards
3. Transformation Naming standards
4. Session and Batch Naming standards
1. Source and Target
Naming Standards
Object
Prefix
Optional Suffix
<instance#>I
Example
:
:
:
Source
src_<Project_Name>
Project Name, Mostly Source
Tables will have Source System
name prefix to it. If there is no
prefix to the Table Name then its
mandatory.
:
Add instance number only if
there are more then one
instance of same source.
:
src_CLARIFY_CASE_TABLE_2i
Flat File as a Source
Oracle Table as a Source
1. Source and Target
Naming Standards (Contd ..)
Object
Prefix
Optional Suffix
:
:
:
<instance#>I
:
Example
:
Target
tgt_<Project_Name>
DM/DW Name, Mostly
Target Tables will have
DM/DW Name prefix to it. If
there is no prefix to the
Table Name then its
mandatory
Add instance number only if
there are more then one
instance of same target.
tgt_CLARIFY_CASE_D_5i
1. Source and Target
Naming Standards (Contd ..)
Object
Prefix
:
:
Optional Suffix
:
Example
:
<instance#>I
:
Example
:
Flat Files
<File Name> filename should
be in lower case
A .dat or .ebcdic suffix to
filename, depending on the
type of file
srctpoi_i2.dat,
custmast_i10.ebcdic
Add instance number only if
there are more then one
instance of same file coming
from legacy/source server.
srctpoi_i2.dat
2. Mapping and Mapplet
Naming standards
Object
Prefix
Optional Suffix
Example
:
:
:
:
Mapping
m_<ProjectName>
Mapping Functionality
m_CLARIFY_LOAD_CASE_D
Object
Prefix
Optional Suffix
Example
:
:
:
:
Mapplet
mplt_<ProjectName>
Mapplet Functionality
mplt_BEAM_FUNCTION
2. Mapping and Mapplet
Naming standards (Contd ..)
Object
Prefix
:
:
Input for Mapplet
inp_<MappletName>
Object
Prefix
:
:
Output for Mapplet
out_<MappletName>
3. Transformation Naming
standards
Object
:
Prefix
:
Optional Suffix :
Source Qualifier
sq_<ProjectName>
Same as Source
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Expression
exp_<ProjectName>
Expression Uses Explained.
exp_CALC_IANDI_RATE
S
O
U
R
C
E
S
O
U
R
C
E
Q
U
A
L
I
F
I
E
R
E
X
P
R
E
S
S
I
O
N
T
A
R
G
E
t
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Filter
fil_<ProjectName>
Filter Condition Explained.
fil_CLARIFY_NEW_CUSTOMERS
fil_HR_SALARY_MORETHEN50K
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Lookup
lkp_<ProjectName>
Lookup Uses Explained
lkp_CLARIFY_CUSTOMER_NAME
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
:
:
:
Example
:
Update Strategy
upd_<ProjectName>
Name must tell whether its
Updating, Inserting, Deleting or
Rejecting
upd_EHS_UPDATE_CUSTOMER
upd_RSPNS_INSERT_CUST
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
:
:
:
Example
:
Stored Procedure
spt_<ProjectName>
Name of stored procedure, and
uses in the map
spt_EHS_TRUNCATE_TABLE_CASE
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
Aggregator
:
agg_<ProjectName>
:
Group Name, or Aggregated
column name
:
agg_EHS_CONTRACT_HRS
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
:
:
:
Example
:
Joiner
jnr_<ProjectName>
Join Type, Master and Detail
table names
jnr_EFM_CUST_SALES_OUTER
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Normalizer
nrm_<ProjectName>
Column being normalized
nrm_EFM_SALES_FLAG
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Rank
rnk_<ProjectName>
Column being ranked
rnk_CLARIFY_ACTIVITY_COUNT
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
:
:
:
Example
:
Sequence Generator
seq_<ProjectName>
Primary column for which sequence is
being generated
seq_CLARIFY_CASE_D_KEY
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
External Procedure
extproc_<ProjectName>
Procedure Name being called.
extproc_CLARIFY_CAL_PERCENT
3. Transformation Naming
standards (Contd ..)
Object
Prefix
Optional Suffix
Example
:
:
:
:
Advanced External Procedure
advextproc_<ProjectName>
Procedure Name being called.
advextproc_CAL_SALARY
4. Session and Batch Naming
standards
Object
Prefix
Example
:
:
:
Session
s_<MappingName>
s_RSPNS_RESPONSE_S
Object
Prefix
Example
:
:
:
Batches (Sequential)
bs_<ProjectName>
bs_CLARIFY_DAILY_LOADS
Object
Prefix
Example
:
:
:
Batches (Concurrent)
bc_<ProjectName>
bc_EFM_WEEKLY_LOADS
4. Session and Batch
Naming standards (Contd .. )
Session Name
Batch Name
4. Database Connection
Object
Prefix
<instance#>I
Example
:
:
Database Connection
s_ for Source or t_ for
Target and
<UserName>@<DBName>
:
Add instance number only if
there are more then one
instance of same database
user
:
t_guptaad@atlord21_i2,
s_prod@prod_i5
Download