230 86 14MB
Russian Pages [428]
1
. В. Ма
а а
а в
ы
AIIFusion Modeling Suite
М
ва 2ОО5
2 681.3 32.97 M15 . . M15 Modeling Suite. M.:
AUFusion , 2005 ^32 .
-
ISBN 5-86404-l8i-5 CASEComputer Associates -AllFusion Modeling Suite. , , . AllFusion Modeling Suite: • AllFusion Process Modeler 4. J (BPwin 4.1); • AllFusion ERwin Data Modeler 4.1 (ERwin 4.1); • AllFusion Data Model Validator 4.1 (ERwin Examiner); • AllFusion Model Manager 4.1 (ModelMart 4.1); • AllFusion Component Modeler 4.1 (Paradigm Plus). (
,
, .
,
,
),
-
AllFusion Modeling Suite .0. . . . . M. 25.02.2005 60б84/16. . . . . . . . 25,11. .- . . 13,79. 2 000 . S . " ", OOO " M" 115409, , . , 31, . 2. .: 320-43-55, 320-43-77 Http://www.bitex.ru/-dialog. E-mail: [email protected] 142100, . ISBN 5-86404-181-5
,
., © ©
"
.
, 25 -
. ., 2005 , ", 2005
OOO "
M",
3
,
1998 ERwin (
. BPwin . M.:
-
-BPwin ERwin. CASE). -
.
,
BPwin
. 2002
5
-
. ERwin 1998 .
Computer Associates (CA) , -AllFusion Modeling Suite 4.1.
:
1. AllFusion Process Modeler 4.L AllFusion Process Modeler BPwin. , CA Process Modeler4.1 " " BPwin 4.1. , AllFusion Process Modeler, AllFusion Modeling Suite. 2. AllFusion ERwin Data Modeler 4.1 ." 3. AllFusion Data Model Validator 4.1 .
"
AllFusion ,
- ERwin 4.1. - ERwin Examiner.
4. AllFusion Model Manager 4.1. BPwin ERwin. " 5. AIIFusion Component Modeler 4.1 ." " - Paradigm Plus.
"
, - ModelMart 4.1. -
, -
Computer Associates ,
-
4
,
AllFusion Modeling Suite 4.1. : , -
,
-
.
.
. 1 IDEF0, IDEF3
AllFusion
DFD
Process Modeler. B .
.2
ERwin.
. 3
.
BPwin
ERwin, RPTwin
.4 .
, Crystal Reports.
, AllFusion Data Model Validator.
. 5 .6
ModelMart,
,
, BPwin
,
,
ERwin.
. 7
UML, AllFusion Component Modeler ERwin. BPwin.
.
16 ERwin. "
. +" (www.innoplus.ru) . . 7.
5
(
)
-
, 1.
:
(
,
),
, ,
,
,
.
. ,
-
(
),
, -
, 10 .
2.
,
. -
. 3. .
, -
(
.
,
.
, ,
.
) , (
,
,
) ,
4. .
-
-
,
,
.
,
,
-
. .
,
6
(
.
),
,
ciates,
,
/
Computer Asso.
AllFusion Modeling Suite 4.1
CASE(WorkFlow Diagram) ( .
AllFusion Process Modeler (BPwin), IDEF0 ( ), IDEF3 DFD (DataFlow Diagram). AS-IS) , ( TO-BE). IDEF0 (
), -
). ,
:
-
(
. ,
,
-
7
.
(
"
.
" " IDEF0)
, BPwin IDEF3 DFD ",
"
IDEF3
.
,
.
",
. BPwin Computer Associates - AIIFusion ERwin Data Modeler (ERwin). BPwin , Computer Associates ). ERwin ,
/
,
.
. ,
.
-
,
. ERwin
-
,
,
-
(
2).
,
,
.
-
-
, .
,
-
.
.
ner) -
-
BPwin - ERwin ( -
,
, ERwin
DFD ,
-
. , . AllFusion Data Model Validator (ERwin Exami, -
8 . ERwin Examiner
ERwin, . ERwin Examiner ER-
win, DDL ( 3 4). ,
. BPwin
Crystal Reports. BPwin IDL, IDEF0, . ,
,
,
,
.
Computer Associates (
,
. -
ModelMart -
). ModelMart
5
.
, MS Office, HTML
,
, ,
-
.
-
:
ERwin
,
,
:
.
1.
.
3
.
:
. ,
.
, ,
,
-
.
-
. ModelMart ,
-
9 .
.
-
. ModelMart ,
2. ,
"
(
),
-
" ERwin
,
.
-
. 3.
.
,
.
,
, ModelMart
,
,
,
. 4.
.
ModelMart. ModelMart . Sybase, Microsoft SQL Server, Informix Oracle. ERwin BPwin. ModelMart API,
-
. (
.
.
. 3),
. . ,
, CASE-
-
,
CASEAllFusion Component
UML. Modeler (Paradigm Plus). ++, Visual Basic, Java
.
,
-
10
,
-
. Paradigm Plus (
.7 digm Plus). B Paradigm Plus
. I,
-
, . . 6).
AllFusion Component Modeler (ParaERwin
(
.1
8).
11
AllFusion Process Modeler 4.1 (BPwin 4.1) 1.1.
BPwin 4.1
1.1.1. BPwin
,
,
BPwin 4.1 ,
.
BPwin ,
(
- Model Explorer (
. 1.1.1).
)
12
(
. 1.1.1).
1.1.2. ,
,
, ModelMart,
( , BPwin
,
. 1.1.2).
IDEF3 DFD, BPwin
, . . IDEF0,
DFD. .
,
-
- IDEF0, . IDEF3 , -
13
(
. 1.1.3),
OK 1.2.1.)
Properties for New Models .(
14
BPwin , ,
-
,
.
,
.
-
-
.
1.1.3. Font Properties Properties setting to,
Activity Properties ) . Activity Properties ( ,
,
, BPwin ,
CoIor
( Font
. 1.1.4)
Arrow Arrow Apply
Global, .
.
-
Model/Default Fonts, :
-
15
•
Context Activity -
;
•
Context Arrow -
;
•
Decomposition Activity -
•
Decomposition Arrow -
•
Node Tree Text -
•
Frame User Text -
•
Frame System Text -
•
Text Blocks -
•
Parent Diagram Text -
•
Parent Diagram Title Text -
•
Report Text -
; ; ;
,
; ; ; ; ; . Windows NT,
.
BPwin
NT. HKEY_LOCAL_MACHINE SOFTWARE Microsoft WindowsNT CurrentWersion FontMapper 204-
- DEFAULT 0X000000cc (204).
HKEY_LOCAL_MACHINE SOFTWARE Microsoft WindowsNT CurrentWersion FontSubstitutes 204: Arial,0 "Arial,204"
,
16
l.l.4. Model Explorer-
Model Explorer Activities ( . 1.1.5)
Diagrams Objects. ,
, IDEF3 -
.
. 1.1.2
.
BPwin.
Activity
,
- Activities, .
DFD -
.
IDEF0
BPwm .
.
17
(
Activities ,
( . 1.1.6) -
. 1.2),
Objects (
, . 1.1.7).
,
Diagrams ,
.
,
-Diag-rams
,
18
1.2.
IDEF0
1.2.1.
itoctnpoeHUHModenuIDEFO
,
.
;
,
.
-
,
.
1DEF0,
(SoftTech, Inc.) SADT-Structured Analysis and Design Technique. ( SADT . " SADT" (M.: , 1993,) 70SADT, , ICAM (Integrated Computer-Aided Manufacturing). SADT 1DEF0. http://www .idef.com. IDEF0 . -
20
IDEF
-
19 ,
.
.
(
rDEF0
), .
.
(
),
,
,
, , , ,
. ,
( ,
.
IDEF0
,
,
, , , ,
,
,
;
-
; (Scope)
,
.
,
,
. . ,
, .
,
,
. ,
( ,
-
, . .
.
,
,
,
,
),
(
)
).
,
-
-
.
-
.
,
.
,
. -
.
-
20
,
,
; , (
,
"
, ").
(Purpose). .
:
•
.
-
?
•
?
•
? . : "
, ", "
"
. . (Viewpoint). ,
,
.
,
. -
,
. ,
. -
-
", "
,
.
. Exposition Only), IDEFO-
FEO (For . . IDEF0
ModeWVIode] Properties, Purpose .
BPwin Model Properties ( ,
,
,
. 1.2.1). Definition -
21
Status
,
(
).
-
-
," General
- AS-IS AS-IS
TO-BE.
, "
"
,
(
. .),
Source
( ").
, TO-BE.
,
(
,
( -
,
. . .),
. 1.2.9),
AS-IS ( AS-lS
-
.
), . . ,
-
22
,
.
AS-IS .
,
,
,
(
TO-BE,
. 1.2.2).
BPwin (
,
,
.
-
.
). , . .
TO-BE .
,
,
.
,
SHOULD BE ( AS-IS, BE,
,
,
,
AS-
. .
) -
,
,
. 1.3).
IS -
IS
TO-BE (
.
-
", ,
.
.
TO-
,
AS-
"
.
,
-
23
AS-lS ,
TO-BE
.
, -
,
.
-
Model Report. TooIs/Reports^Model Report. B , ( . 1.2.3).
-
IDEF0. .
•
. .
);
(
IDEF0 IDEF0 :
24
•
;
•
;
•
(FEO). -
.
.
,
,
.
-
, . .,
.
-
-
. .
-
.
.
,
.
, , .
,
. (FEO)
1.2.2. Pa6oma (Activity)
, . : "
"
,
-
.
. ", "
,
, , ".
"
.
.
:"
"
, -
25 (
,
FileMew) ,
(
Name
. 1.2.4).
Activity Properties (
1.2.5).
,
.
, . .
. .
26
Box Count (
_ZLI.
. 1.2.6),
Activity
.
.
(
2-8.
:
. 3
.
6
,
, ,
,
IDEF0 . 1.2.7).
JzLI . .
,
. (
.
, ).
,
. .
-
27
, .
,
.
. , "
.
"
.
"
") IDEF0 (Input) -
. IDEF0)
(
( .
( ,
. . 1.2.4"
( , ,
"
.
/
,
(
.
, -
, .
.
,
,
,"
" . ,
,
. ,
,
,
,
",
").
).
.
.
.
(Control) -
",
,
, ").
"
, ," ,
"
,
" (
(Arrow)
. "
. 1.2.8
.
4) 1.2.3.
,
, 3
" , ,
, - " .
, ,
28 . "
,
. 1.2.4
".
.
,
"
"
) . "
,
"
" ,
(Mechanism) , , "
. "
"
. 1.2.4
"
".
"
. 1.2.4
".
"
".
.
-
.
:
•
,
; (
(
.
, BPwin .
.
.
;
. 1.2.4
.
.
•
.
.
-
.
,
(Call) -
•
.
,
. .
.
"-
(
. (Output) -
"
)
);
29 •
, Name Properties ( . 1.2.9).
Name
,
,
,
(
,
Arrow .
,
),
,
.
(Arrow Dictionary).
ICOM.
.
,
, IDEF0 -
. ,
-
,
.
,
-
30
(
BPwin Properties (
. lCOM (
,
Mechanism) ICOM M),
Input, Control, Output
, . 1.2.10).
(I,
.
ICOMICOM codes Model^vlodel Properties).
Arrow Dictionary,
(
Display
. ,
.
.
ICOMModel
. 1.2.11).
,
-
,
.
, . .
-
-
-
31
, , ,
,
,
, BPwin , ,
, ,
, . 1.2.1.
UDP
.
.
,
-
.
).
,
,
14 ,
( ,
,
UDP,
,
( Tools/Reports/Arrow Report)
(
) . 1.2.12 ,
,
-
. (unconnected border arrow).
),
.
.
BPwin "( .
BPwin . 1.2.3).
-
(
,
-
" ,
32
.
,
.
, . .
( IDEF0
(
.
-
,
,
. (
)
,
.
, ").
) .
(output-input), (
)
,
"
. 1.2.13 "
"
(output-control), . -
.
"
"
. 1.2.14 "
", .
"
. " -
-
33
,
(output-input feedback), . . . 1.2.15 " "
"
" ",
,
(output-control feedback), "
",
. 1.2.16).
.
-
. 1.2.16,
"
-
.
( -
,
(
,
"
)
(output-mechanism), . (
. 1.2.17).
".
,
-
34 .
, ,
.
,
.
,
-
.
-
,
.
, -
IDEF0 . .
,
. .
.
. ,
(
, ,
. 1.2.18).
, -
, ,
,
-
.
,
,
, 1.2.19).
(
.
, (
. 1.2.20).
. BPwin
,
35
, -
.
,
.
.
,
.
(
" .
" Border Arrow Editor (
. 1.2.22).
. 1.2.21).
36
Resolve it to border arrow, , Change it to resolved rounded tunnel . ( . 1.2.23).
.
-
-
,
,
(
,
. . .
,
.
-
"
.(
".
,
, . .
-
).
, ,
, .) ,
, "
"(
. 1.2.23).
, -
.
1.2.4. . .
(
)
,
. .
37
A1, A2, A3 , A32, A33, A34
. .
A3
. .
A31,
,
,
,
.
, Model Properties (
Presentation Edit7Model Properties). IDEF0 .
. ,
A213 . .
. -
. .). BPwin .
,
-
A-0,
, A1, A2, A21, , -
(
,
(
) .(
FEO-
.)
FEO, number, ber -
, . .
,
FEO-
. , ,
1.2.5.
-
, . BPwin
. -
- C. C-num, , , MCB00021.
FEO
(
,
)(
. 1.2.24). , .
,
-
-
38
, . , BPwin Model Explorer,
, IDEF0.
Diagram/Add Node Tree. Node Tree Wizard. B , 3).
Levels (
- Number of
.
"N",
AON. . .
1.2.25)
, , Node Tree Wizard ( .
. , ,
.
39
,
* Bullet Last Level. -
.
Connection Style ( "
) ,
" (FEO)
. IDEF0. ,
.
-
, .
.
FEO
, -
FEO ,
FEO
FEO
, (
FEO
-
), IDEF0. Diagram/Add FEO Diagram. Add New FEO Diagram ( . 1.2.26).
40
,
(
+
F,
AlF).
1.2.6. . 1.2.27
,
.
41
).
( .
) .
( -
. 1.2.2
1.2.3.
42
. 1.2.28.
DiagranVDiagram Properties) -
Diagram Properties (
1.2.7. .
, .
.
, .
,
-
43
.
BPwin : BPwin; -
,
(
-
)(
•
. 1.2.29);
( . 1.2.30);
(
•
,
, . 1.2.29);
-
-
, -
. -
Merge Model.
44
(
.
,
. 1.2.31).
-
,
-
.
,
(
,
,
. 1.2.32 .
, DFD,
.
-
, -
,
.
.
, -
.
OK) , -
Explorer
-
.(
-
.)
,
. To
-
,
-
Model -
. -
-
45
. ( Split Model. B Split Options (
,
) -
.
),
,
,
"
, ,
"
.
, -
1.2.8. З
. IDEF0 BPwin •
10
,
.
,
6^8 ,
,
. (
. ,
.
-
).
46
BPwin .
,
.
,
.
-
. Automatically space arrows ( ModeUModel Properties), BPwin .
Layout
Model Properties
,
. ( ),
. " (
-"
.
.
.
" " , . 1.2.14, 1.2.15). BPwin . "
,
BPwin , (
. 1.2.33).
, ,
",
. . ,
,
47
• (
.
•
. 1.2.34).
"
,
,
,
.
,
-
,
" BPwin
(
-
. 1.2.35).
1.2.9. .
-
( ,
. -
(
),
. 1.2.36) . . .
(
-
), .
48
,
,
. .
-
.
-
. ( ,
-
. .
,
, -
,
-
).
,
.
,
( .
,
(
Notes, . 1.2.37).
,
.
, . ., ).
-
,
-
49
. .
. .
(
. .
,
, -
. ,
-
.
-
,
,
. 1.2.1).
. .
, Recommended, ,
)
( Publication .
,
1.3.
,
(ABC) (UDP)
1.3.1.
-
(Activity Based Costing)
, AS-IS ,
TO-BE. ,
BPwin ,
- AS-IS ( , .
, TO-BE,
, . .
. ,
-
).
.
,
-
(Activity Based Costing, ABC), (User Defmed Properties, UDP). ABC , -
50
(
)
. ,
.
,
, .
-
, -
,
ABC
(Business Process Reengineering, BPR). , , ABC (
( ,
),
),
(
-
.
, IDEF0),
(
,
("
• •
,
",
-
,
-
; ",
,
-
("
-
. 1.3.1).
. 1.3.1. ", "
-
(
:
ABC -
)
),
.
•
,
,
А
. 1.3.1), ;
,
,
. .
BPwin
-
51 Model Properties ( (
EditModel Properties),
. 1.3.2). ), Windows.
ABC Units (
. .
-
, Unit ofmeasurment
(cost centers). Cost Center Dictionary (
Dictionary
/CostCenter(pnc. 1.3.3). ,
.
.
, ,
-
,
-
1.2.5, BPwin RPTJNI, . .
, .
UDP
Definition. ,
. .
-
, , ,
BPWLN, -
52
(
) Properties
Costs ( (
. 1.3.4).
Frequency)
Costs (Duration). Cost .
, Cost
Cost Center Editor .
Activity
, . .
. Activity
53
. (
( ),
,
)
. Compute from Decompositions,
.
-
. 1.3.51.
, BPwin
, (
),
(
-
.
,
(Override Decompositions). B , ,
,
Override Decompositions .
. -
EasyABC (ABC Technology, EasyABC. File/ExporW4ode Tree, -
Inc.). BPwin EasyABC Export Node Tree (.txt). EasyABC. EasyABC BPwin. File/Import/Costs Import Activity Costs . .
,
. 1.3.6.
-
54
:
,
•
-
•
-
•
.;
50 -
.
300
,
,
%). ,
.;
150
. ,
,
:
,
,
, (
. 1.3.6).
,
BPwin - Activity Cost Report ( , ,
(50
-
:
,
-
-
TooIs^Report/Activity Cost Report). , , ( . 1.3.7).
55
. (
),
,
ModelModel Properties),
Display,
.
Model Properties ( ABC Data ABC Units.
1.3.2. , (User Defined Properties) ABC .
,
Defmed Properties, UDP). UDP (
. 1.3.8). UDP .
UDP
.
UDP Dictionary (
UDP Keyword List ( UDP Keyword List
-
,
(User , DictionaryAJDP) UDP . . 1.3.9). 1--:; .
-
56
(UDP) ( . 1.3.10) 18 .
UDP (
. 1.3.1),
.
UDP.
UDP Dictionary Name. UDP Type
57
58
.
Keyword Tjnf*
vfrvsvPT
-
,
n^7UUM
UDP. UDP. UDP.
UDP Values List
Activity Properties .
-
,
Command ,
-2-.
,
-
59
"
" " C:\MSOffice97\Office\WINWORD.EXE specl.doc. UOW
Filter (
Dictionary . 1.3.12), UDP.
|
Souce
Rofes
Box Sljte
UDP. . User Defined Property Dictionary UDP,
60
. New Keywords Properties, Update. .
UDP,
Datatype
Add Keywords. UDP User-Defined Keywords , .
List UDP New Member
List (
Add Member. Update Member
Delete Member). UDP, (
. 1.3.13).
UDP Tools/Preferences. UDP Preferences ( . 1.3.14) Display UDP Marker.
. -
61
UDP ToolsA*epon7Diagram Object Report,
Object Report (
UDP.
. 1.3.15).
UDP Filters
.
1.3.3.
Diagram
-
UDP MS Project
, BPwin
). .
,
,
, -
, . .
, (
,
-
-
.
,
, ,
,
-
62
Project 2000
Microsoft. Project 2000 , , , ,
.
,
BPwin 4.1 ,
mBPwin 4.1
1.3.17
(UDP). Project 2000, ,
i
.
UDP, .
, UDP. (A-0)
(A0)
62
.
,
.
. 1.3.16-
63 ,
UDP,
. 1.3.2.
. 1.3.3.
UDP,
BPwin 4.1 Project 2000 BPwin 4.1 MS Excel Tools/Reports/Diagram Object Report) MS Excel DDE, 2.1.1. Diagram Object Report, . UDP (
Project 2000,
.
,
, MS Excel.
1.3.18 , -
64
-
Report MS Excel -
MS Excel. Project 2000 Files of Type Microsoft Excel Workbooks, Project 2000.
File/Open. Open
MS ExceI, Diagram Object Report. . 1.3.19.
65
MS Excel. Import Mapping (
. 1.3.20).
. Import/Export Map
New Map ,
. 1.3.21.
Defme
66
. 1.3.4. 1.3.4
OK Open.
Open
. 1.3.22.
, (Task)
Define ImportfExport Map Project 2000 .
(Activity) Project 2000,
1.4. DFD 1.4.1. DFD .
-
-
.
-
, Workflow (IDEF3) (Data Flow Diagramming) (Data flow diagramming, DFD) . IDEF0, IDEF0 . DFD :
67
(
(
, arrows),
; (external references), ,
, •
,
);
, ;
( BPwin -
, data store).
. IDEF0 Activity Box Count "
DFD.
:
1.з -
DFD, " DFD
-
(External Reference). .
I -
,
, ,
(Data store). .
IDEF0, DFD
.
,
(
)
-
DFD flow), (external entities) (
(data stores), . 1.4.1).
(data
68
IDEF0,
, DFD
"
, Mau,uu".
DFD ,
IDEF3. .
,
IDEF0.
.
. ,
.
(
). ,
,
IDEF0 -
,
,
.
, (
.
. IDEF3,
/
-
,
. .
.
.
.
DFD IDEF0,
.
DFD -
-
. 1.4.2).
.
, 1
:J
'V.WA'AWAV.W,W.WAWj)
. 1.4.3.
' -
(
. 1.4.3).
69
R
,
,
.
,
. .
,
-
DFD .
-
. DFD.
DFD ,
,
IDEF0. .
,
,
,
,
.
,
, partitioning), . -
. .
(event DFD
,
,
( ) (environment model)
.
, .
, ,
. (behavior model)
.
.
.
,
.
,
,
, ,
, ,
. -
.
,
70
V^.
^J.
iriM(*yit40V^W.
^/ ^ ^Ы Ы&
иИ^/^
Ю Ы ^Ы^Л ИЛЛ
.
,
^ Л1
KjViKjlll^lVI
DFD
( )
UO >
"
ERvvin (
. -
,
,
-
138 ,
i
"
,
,
. 2.2.26. "
tion Table. Many-To-Many Relationship TransformWizard (
Create Associa2.2.29).
Many-To-Many Relationship Transform Wizard . Next ( ). .
4
-
.
2.2.7.
2.2.4. ,
.
, (
.
. 2.2.30),
.
-
139
,
-
. -
(
( .
( )
.2.2.31), .
(
. (
(
. -
-
"
-
. 2.2.31).
2 . 2.2.32)
-
" ,
)
,
,
), ,
-
,
)
,
,
.
(
-
.
)
,
,
(
,
). . 2.2.28.
Doctor_Patient -
.
.
. 2.2.28. ,
Visit
-
.
( -
,
,
140
| " jjvouecTBoeaTb ,
,
, \
,
. ,
.
-
-
, .
. 2.2.32
.
m-, ,
,
(
2. .
,
,
178 ,
SQL. User-Defined SQL
,
V_42 (
, , .
SQL-
User-Defined SQL. SQLSelect, From ,
. 2.3.6) SQL-
-
Where. :
.
"CREATE VIEW V_42 (CustomerName, CustomerAddress, City, OrderAmount, OrderDate, OrderShipDate) AS SELECT DISTINCT CUSTOMER.CustomerName, CUSTOMER.CustomerAddress, CUSTOMER.City, ORDER.OrderAmount, ORDER.OrderDate, ORDER.OrderShipDate FROM CUSTOMER,- ORDER",
a
я V_43 -
:
"CREATE VIEW V_43 (City, CustomerCount) AS SELECT CUSTOMER.City, Count(*) FROM CUSTOMER WHERE Country=' я ' GROUP BY City HAVING Count(*)>2"
Comment UDP
.
View Columns (
,
.
. 2.3.9). Database View Columns.
-
179 : General. . Select. Expression), AS/400
.
,
)
.
Views ( (
Select,
New -
Access. AS/400
Access. . ,
UDP
.
Data Source.
.
2.3.4. ERwin
,
. ,
Valid (
/
. (
. 2.3.5),
). _^j, :
General.
).
SQLMin/Max, Age,
"
",
.
MiruMax
Value List ,
-
,
.
.
,
.
, General ,
Validation Rules (
, . .
. 2.3.10),
( Valid User-Defined . 18,
CUSTOMER
75.
Age BETWEEN ] 8 AND 75.
,
180 , ORACLE). , 18
75.
( .2.3.11SQL, Age BETWEEN 18 AND 75. , , . .
Comment. ,
UDP.
.
Validation Rules
. (
.
New . Rename.
,
,
, ,
Delete. ERwin : , D, M.
-
,
)
,
-
, -
-
181
: 'C', 'D', 'M'.
,
Quote.
Default/Initial Values ( , _J Columns ( . . 2.3.5). ,
.
. 2.3.12) , "
,
.
, Default
", . .
-
182
New,
New Default Value
.
. Delete
Default Name Rename. .
2.3.5. ,
.
, ,
,
,
.
,
, .
,
-
,
.
,
-
.
,
CustomerName
,
(CustomerName ="
").
-
, .
,
.
-
,
( . 2.3.13), CUSTOMER. B .
.
183
, CUSTOMER. ,
.
,
-
, . ERwin
,
,
, -
. .
. ERwin , CUSTOMER ( . AK1, ERwin (CustomerName, Region, City). , . ERwin , X+ + ( !), , AKn , IEn , CUSTOMER ( XPK CUSTOMER ( , CustomerW), XAKlCUSTOMER ( CustomerName, Region, City), XIElCUSTOMER ( Region) XIE2CUSTOMER ( CustomerAddress). .
Indexes (
. 2.1.3) ,
, IFn -
,
. . 2.3.13)
. ,
1, 2,
. 2.3.14).
Indexes. ,
Indexes ,
.
,
184
,
ERwin (
New,
,
.
. 2.3.15)
New Index,
.
(
.
, CustomerName,
CUSTOMER,
.
Unique, -
,
)
.
,
,
,
,
, . ,
-
.
, .
.
.
-
185
ERwin (
Z,
9). DESC ( Index Editor Members Comment UDP , ORACLE),
, , Indexes
.
,
. 2.3.14).
0
1 : ; ;
, ,
; (
ORACLE, SYBASE ( 2.3.6) . . 2.3.2 , , ORACLE, SYBASE SQL Server.
. 2.3.16-
.
SQL Server -
186 2.3.2. Н
. ERwin DB2MVS, DB2/390, HiRDB, rNFORMLX, MS Access, MS SQL Server, SYBASE SQLBase. , CLUSTER , .
187
,
-
. CUSTOMER
-
.
, City.
.
,
,
:
,
.
-1 ,1 ERwin ERwin . SQLBase ERwin (clustered hashed index).
, .
-
,
(
.
2.3.6. ERwin . 2.3.3).
, INFORMIX, SQL Server .
2.3.3. П
1 \
-
,
.1
ERwin
SYBASE я
188
ERwin ,
.
Database,
( , ORACLE Sequence). B
Tablespase, Rollback Segment, Database ORACLE.
TABLESPACE (
).
, ,
,
,
,
,
. .
-
. ORACLE Tablespace Editor (
. 2.3.17)
3
:
General.
.
Comment.
.
UDP.
,
.
189
Tablespace , New
.
New, Rename
Delete
New TABLESPACE, . ORACLE Physical Object Editor. , (online), , (offline). OFFLINE . offline , online . General TEMPORARY ,
( INITIAL
.
-
,
, ORDER BY).
NEXT . PCTINCREASE
MINEXTENTS -
.
, ,
.
,
190 ,
MAXEXTENTS , ROLLBACK SEGMENT ( "
"
,
.
!
.
).
,
-
,
,
,
.
CREATE ROLLBACK SEGMENT.
ORACLE Rollback Segment Editor
. 2.3.18)
3
:
. Comment.
General.
. UDP. ,
. Rollback Segment
.
.
, New
.
Delet< * New Rollback Segmeni New, Rename
191
Tablespace , New
.
New, Rename
Delete
New TABLESPACE, . ORACLE Physical Object Editor. , (online), , (offline). OFFLINE . offline , online . General TEMPORARY ,
( INITIAL
NEXT . PCTINCREASE
MINEXTENTS .
. ,
, ORDER BY). , ,
.
,
192 ,
MAXEXTENTS , ROLLBACK SEGMENT ( "
"
.
,
.
).
,
-
,
,
-
.
,
CREATE ROLLBACK SEGMENT.
ORACLE Rollback Segment Editor
. 2.3.18)
3
:
. Comment.
General.
. UDP. ,
. Rollback Segment
.
.
, New
.
New, Rename
Delete
New Rollback Segment,
193
General PUBLIC . INITIAL . OPTIMAL .
DBA.
,
PUBLIC .
,
NEXT
OPTIMAL. MINEXTENTS . MAXEXTENTS . DATABASE ( .
.
TABLESPACE .
Oracle , , , ).
-
,
,
-
194
ORACLE Database Editor (
. 2.3.19)
3
:
. Comment.
General.
. UDP. , .
.
DATABASE New, Rename
Delete
, 4ew
.
New DATABASE,
.
LOGFILE logMAXLOGFILES -
) (
MAXLOGHIST-
:
General .
log, 2-56).
log,
.
logMAXLOGMEMS DATAFCLE MAXDATAFILES CONTROL FILE REUSE
log-
.
,
Oracle INIT.ORA CONTROL_FILES.
1-255). CHARACTER SET .
.
. . -
Oracle
.
.
ARCHIVE LOG . MAXINSTANCES -
.
log,
,
( , CHAR, VARCHAR2, LONG
.
,
DB Sync ORACLE Database Editor.
195
SEQUENCE ( .
).
.
ORACLE Sequence Editor ( General.
. 2.3.20)
,
,
,
-
3
-
: . Comment. . UDP.
.
.
Sequence General,
-
: Starting Value Increment By Cache Size Max Value Min Value -
( .
Increment By).
(
).
.
( Increment By).
-
196
2.3.7. ,
. ,
,
,
SQL,
,
,
.
. -
-
, ,
. SQL,
. ,
.
DELETE
,
.
, SQL INSERT, UPDATE ,
. -
.
,
(RI,
)
. .
-
,
,
( . . 2.3.13),
,
, ORDER. :
•
,
,
,
ERwin CUSTOMER (
RI-
)
,
DELETE , CUSTOMER.
, -
197
, , RESTRJCT. CVSTOMER, ORDER , CASCADE.
, •
.
. •
,
. ,
,
.
.
,
,
,
,
ERwin, .
;
).
. : : 1) nulls allowed, 2) no nuIIs; (Parent)
(Child). . , ,
,
-
.
,
.
-
, SET NULL. i .
,
,
,
,
,
(
,
ERwin
,
, -
,
,
. ERwin , ,
. , ON PARENT DELETE RESTRICT.
,
, ,
ERwin -
198
:
Oracle 9.x
ERwin SQL ,
,
1.
(
.
,
,
,
:
ERwin
-
. ERwin
.
ERwin ,
,
.
,
-
. , Parent-Delete RESTRICT) , ,
-
199 ,
.
,
cxe-'
RI Type Override. 2.
,
,
. , Relationship Template Editor, Relationship Override, ( RI Type Override, Relationship Override
. ). Relationship
Override. . ERwin Entity Override Entity Override RI Type Override Relationship Entity Override.
3. .
,
Override, ERwin
. .
CUSTOMER,
. 2.3.21) ,
, ,
-
,
( SECURITY ,
,
CustomerName
,
.
,
ORACLE 9.x.
Triggers (
. 2.3.22.),
Triggers. 4
:
200
General (
. 2.3.22).
. Code ( . 2.3.23). . Expanded. Conunent. UDP.
, . ( ,
. New, Rename
). .
.
Table . 2.3.22 Delete
Trigger , ERwin New, Rename Delete ,
, CUSTOMER.
,
. (SecurWrite).
.
.
-
201
Trigger On
General
Delete,
UPDATE
.
Insert ERwin DELETE.
CUSTOMER. Table Row
Update-
.
Before After SQLINSERT, . 2.3.22 , UPDATE CustomerName .
,
FOR EACH TABLE
-
FOR EACH ROW.
Old -
.
, New -
%RefClause, REFERENCES. B newl, - oldl. (Parent),
,
(Child), (Integrity Rule) .
,
(Verb Phrase)
.
Template Code -
),
.
-
(
-
202
:
(
Expanded - Oracle 9.x),
,
(
SQLOracle SQL*Plus),
CUSTOMER SECURITY, ,
-
,
-
.
,
.
203
Toolbox
Triggers
Macro Toolbox, (
.
2.3.24).
Macro Toolbox . Description ,
,
3
,
:
.
,
, %.
,
-
,
,
-
.
,
EMOVIES.ERl,
Sam-
ples/Standard. . Code ( Trigger Templates Editor, Global Trigger Templates (
. 2.3.25).
Triggers. ) Database/RI Triggers/
204
, Detach ->, . , ,
.
, ,
Built-in Template
User Override
. . ERwin Template Code.