SlideShare ist ein Scribd-Unternehmen logo
1 von 56
WEEK V
JOEY MILLER D. MINGUILLAN
 Data dictionary concepts
 Defining data flow
 Defining data structures
 Defining elements
 Defining data stores
 Using the data dictionary
 Data dictionary analysis
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
2
 Data dictionary is a main method for
analyzing the data flows and data stores of
data-oriented systems
 The data dictionary is a reference work of
data about data (metadata)
 It collects, coordinates, and confirms what a
specific data term means to different people
in the organization
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
3
 The data dictionary may be used for the
following reasons:
◦ Provide documentation
◦ Eliminate redundancy
◦ Validate the data flow diagram
◦ Provide a starting point for developing screens and
reports
◦ To develop the logic for DFD processes
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
4
 A data repository is a large collection of
project information
 It includes
◦ Information about system data
◦ Procedural logic
◦ Screen and report design
◦ Relationships between entries
◦ Project requirements and deliverables
◦ Project management information
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
5
 Data dictionaries contain
◦ Data flow
◦ Data structures
◦ Elements
◦ Data stores
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
6
 Each data flow should be defined with
descriptive information and it's composite
structure or elements
 Include the following information:
◦ ID - identification number
◦ Label, the text that should appear on the diagram
◦ A general description of the data flow
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
7
 (Continued)
◦ The source of the data flow
 This could be an external entity, a process, or a data
flow coming from a data store
◦ The destination of the data flow
◦ Type of data flow, either
 A record entering or leaving a file
 Containing a report, form, or screen
 Internal - used between processes
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
8
 (Continued)
◦ The name of the data structure or elements
◦ The volume per unit time
 This could be records per day or any other unit of time
◦ An area for further comments and notations about
the data flow
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
9
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
10
Name Customer Order
Description Contains customer order information and is used
to update the customer master and item files and
to produce an order record.
Source Customer External Entity
Destination Process 1, Add Customer Order
Type Screen
Data Structure Order Information
Volume/Time 10/hour
Comments An order record contains information for one
customer order. The order may be received by
mail, fax, or by telephone.
 Data structures are a group of smaller
structures and elements
 An algebraic notation is used to represent the
data structure
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
11
 The symbols used are
◦ Equal sign, meaning “consists of”
◦ Plus sign, meaning "and”
◦ Braces {} meaning repetitive elements, a repeating
element or group of elements
◦ Brackets [] for an either/or situation
 The elements listed inside are mutually exclusive
◦ Parentheses () for an optional element
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
12
 A repeating group may be
◦ A sub-form
◦ A screen or form table
◦ A program table, matrix, or array
 There may be one repeating element or
several within the group
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
13
 The repeating group may have
◦ Conditions
◦ A fixed number of repetitions
◦ Upper and lower limits for the number of
repetitions
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
14
 Data structures may be either logical or
physical
 Logical data structures indicate the
composition of the data familiar to the user
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
15
 Include elements and information necessary
to implement the system
 Additional physical elements include
◦ Key fields used to locate records
◦ Codes to indicate record status
◦ Codes to identify records when multiple record
types exist on a single file
◦ A count of repeating group entries
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
16
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
17
Customer Order = Customer Number +
Customer Name +
Address +
Telephone +
Catalog Number +
Order Date +
{Order Items} +
Merchandise Total +
(Tax) +
Shipping and Handling +
Order Total +
Method of Payment +
(Credit Card Type) +
(Credit Card Number) +
(Expiration Date)
 A structure may consist of elements or
smaller structural records
 These are a group of fields, such as
◦ Customer Name
◦ Address
◦ Telephone
 Each of these must be further defined until
only elements remain
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
18
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
19
 Structural records and elements that are
used within many different systems should
be given a non-system-specific name,
such as street, city, and zip
 The names do not reflect a functional area
 This allows the analyst to define them
once and use in many different
applications
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
20
Customer Name = First Name +
(Middle Initial) +
Last Name
Address = Street +
(Apartment) +
City +
State +
Zip +
(Zip Expansion) +
(Country)
Telephone = Area code +
Local number
 Data elements should be defined with
descriptive information, length and type of
data information, validation criteria, and
default values
 Each element should be defined once in the
data dictionary
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
21
 Attributes of each element are
◦ Element ID. This is an optional entry that allows the
analyst to build automated data dictionary entries
◦ The name of the element, descriptive and unique
 It should be what the element is commonly called in
most programs or by the major user of the element
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
22
◦ Aliases, which are synonyms or other names for the
element
◦ These are names used by different users within
different systems
◦ Example, a Customer Number may be called a
 Receivable Account Number
 Client Number
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
23
◦ A short description of the element
◦ Whether the element is base or derived
◦ A base element is one that has been initially keyed
into the system
◦ A derived element is one that is created by a
process, usually as the result of a calculation or
some logic
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
24
 The length of an element
◦ This should be the stored length of the item
◦ The length used on a screen or printed lengths may
differ
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
25
 What should the element length be?
◦ Some elements have standard lengths, such as a
state abbreviation, zip code, or telephone number
◦ For other elements, the length may vary and the
analyst and user community must decide the final
length
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
26
◦ Numeric amount lengths should be determined by
figuring the largest number the amount will contain
and then allowing room for expansion
◦ Totals should be large enough to accommodate the
numbers accumulated into them
◦ It is often useful to sample historical data to
determine a suitable length
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
27
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
28
Percent of data that will
Element Length fit within the length
Last Name 11 98%
First Name 18 95%
Company Name 20 95%
Street 18 90%
City 17 99%
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
29
 If the element is too small, the data will be
truncated
 The analyst must decide how this will
affect the system outputs
 If a last name is truncated, mail would
usually still be delivered
 A truncated email address or Web address
is not usable
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
30
 The type of data, either numeric, date,
alphabetic or alphanumeric or other
microcomputer formats
 Storage type for numeric data
◦ Mainframe: packed, binary, display
◦ Microcomputer (PC) formats
◦ PC formats depend on how the data will be used,
such as Currency, Number, or Scientific
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
31
Bit - A value of 1 or 0, a true/false value
Char, varchar, text - Any alphanumeric character
Datetime, smalldatetime - Alphanumeric data, several formats
Decimal, numeric - Numeric data that is accurate to the least significant digit
Can contain a whole and decimal portion
Float, real - Floating point values that contain an approximate decimal value
Int, smallint, tinyint - Only integer (whole digit) data
Money, smallmoney - Monetary numbers accurate to four decimal places
Binary, varbinary, image - Binary strings (sound, picture, video)
Cursor, timestamp, uniqueidentifier - A value that is always unique
within a database
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
32
 Input and output formats should be
included, using coding symbols:
◦ Z - Zero suppress
◦ 9 - Number
◦ X - Character
◦ X(8) - 8 characters
◦ . , - Comma, decimal point, hyphen
 These may translate into masks used to
define database fields
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
33
 Validation criteria must be defined
 Elements are either
◦ Discrete, meaning they have fixed values
 Discrete elements are verified by checking the
values within a program
 They may search a table of codes
◦ Continuous, with a smooth range of values
 Continuous elements are checked that the data is
within limits or ranges
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
34
 Include any default value the element may
have
 The default value is displayed on entry
screens
 Reduces the amount of keying
◦ Default values on GUI screens
 Initially display in drop-down lists
 Are selected when a group of radio buttons are
used
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
35
 An additional comment or remarks area
 This might be used to indicate the format
of the date, special validation that is
required, the check-digit method used,
and so on
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
36
Name Customer Number
Alias Client Number
Alias Receivable Account Number
Description Uniquely identifies a customer that has made any business
transaction within the last five years.
Length 6
Input Format 9(6)
Output Format 9(6)
Default Value
Continuous/Discrete Continuous
Type Numeric
Base or Derived Derived
Upper Limit <999999
Lower Limit >18
Discrete Value/Meaning
Comments The customer number must pass a modulus-11 check-digit test.
 Data stores contain a minimal of all base
elements as well as many derived elements
 Data stores are created for each different
data entity, that is, each different person,
place, or thing being stored
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
37
 Data flow base elements are grouped
together and a data store is created for each
unique group
 Since a data flow may only show part of the
collective data, called the user view, you may
have to examine many different data flow
structures to arrive at a complete data store
description
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
38
 The Data Store ID
 The Data Store Name, descriptive and unique
 An Alias for the file
 A short description of the data store
 The file type, either manual or computerized
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
39
 If the file is computerized, the file format
designates whether the file is a database
file or the format of a traditional flat file
 The maximum and average number of
records on the file
 The growth per year
◦ This helps the analyst to predict the amount of
disk space required
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
40
 The data set name specifies the table or file
name, if known
◦ In the initial design stages, this may be left blank
 The data structure should use a name found
in the data dictionary
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
41
 Primary and secondary keys must be
elements (or a combination of elements)
found within the data structure
 Example: Customer Master File
◦ Customer Number is the primary key, which should
be unique
◦ The Customer Name, Telephone, and Zip Code are
secondary keys
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
42
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
43
ID D1
Name Customer Master File
Alias Client Master File
Description Contains a record for each customer
File Type Computer
File Format Database
Record Size 200
Maximum Records 45,000
Average Records 42,000
Percent Growth/Year 6%
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
44
Data Set/Table Name Customer
Copy Member Custmast
Data Structure Customer Record
Primary Key Customer Number
Secondary Keys Customer Name, Telephone, Zip Code
Comments The Customer Master file records are
copied to a history file and purged if the customer has not
purchased an item within the past five years. A customer
may be retained even if he or she has not made a purchase
by requesting a catalog.
 Data dictionary entries vary according to the
level of the corresponding data flow diagram
 Data dictionaries are created in a top-down
manner
 Data dictionary entries may be used to
validate parent and child data flow diagram
level balancing
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
45
 Whole structures, such as the whole report or
screen, are used on the top level of the data
flow diagram
◦ Either the context level or diagram zero
 Data structures are used on intermediate-
level data flow diagram
 Elements are used on lower-level data flow
diagrams
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
46
 1. Information from interviews and JAD
sessions is summarized on Input and Output
Analysis Forms
◦ This provides a means of summarizing system data
and how it is used
 2. Each structure or group of elements is
analyzed
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
47
 3. Each element should be analyzed by asking
the following questions:
◦ A. Are there many of the field?
 If the answer is yes, indicate that the field is a
repeating field using the { } symbols
◦ B. Is the element mutually exclusive of another
element?
 If the answer is yes, surround the two fields with the [ |
] symbols
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
48
◦ C. Is the field an optional entry or optionally
printed or displayed?
 If so, surround the field with parenthesis ( )
 4. All data entered into the system must be
stored
◦ Create one file or database file for each different
type of data that must be stored
◦ Add a key field that is unique to each file
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
49
 Data stores may be determined by analyzing
data flows
 Each data store should consist of elements on
the data flows that are logically related,
meaning they describe the same entity
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
50
 To have maximum power, the data dictionary
should be tied into other programs in the
system
 When an item is updated or deleted from the
data dictionary it is automatically updated or
deleted from the database
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
51
 Data dictionaries may be used to
◦ Create reports, screens, and forms
◦ Generate computer program source code
◦ Analyze the system design for completion and to
detect design flaws
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
52
 To create screens, reports, and forms
◦ Use the element definitions to create fields
◦ Arrange the fields in an aesthetically pleasing
screen, form, or report, using design guidelines
and common sense
◦ Repeating groups become columns
◦ Structural records are grouped together on the
screen, report, or form
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
53
 The data dictionary may be used in
conjunction with the data flow diagram to
analyze the design, detecting flaws and areas
that need clarification
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
54
 Some considerations for analysis are
◦ All base elements on an output data flow must be
present on an input data flow to the process
producing the output
◦ Base elements are keyed and should never be
created by a process
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
55
◦ A derived element should be output from at least
one process that it is not input into
◦ The elements that are present on a data flow into or
coming from a data store must be contained within
the data store
Kendall & KendallCopyright © 2002 by Prentice Hall, Inc.
10-
56

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Data models
Data modelsData models
Data models
 
How to build a data dictionary
How to build a data dictionaryHow to build a data dictionary
How to build a data dictionary
 
Database design
Database designDatabase design
Database design
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Dimensional model | | Fact Tables | | Types
Dimensional model | | Fact Tables | | TypesDimensional model | | Fact Tables | | Types
Dimensional model | | Fact Tables | | Types
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
Analysis and design tool
Analysis and design toolAnalysis and design tool
Analysis and design tool
 
data warehouse , data mart, etl
data warehouse , data mart, etldata warehouse , data mart, etl
data warehouse , data mart, etl
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
ADO.NET
ADO.NETADO.NET
ADO.NET
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Data base management system
Data base management systemData base management system
Data base management system
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 

Ähnlich wie Data dictionary

Designing database week ix part 1
Designing database week ix part 1Designing database week ix part 1
Designing database week ix part 1Johnecis Madrid
 
Right to patent stc 2013 conference
Right to patent stc 2013 conferenceRight to patent stc 2013 conference
Right to patent stc 2013 conferenceIndium Software
 
Oil and gas big data edition
Oil and gas  big data editionOil and gas  big data edition
Oil and gas big data editionMark Kerzner
 
Denodo DataFest 2017: Conquering the Edge with Data Virtualization
Denodo DataFest 2017: Conquering the Edge with Data VirtualizationDenodo DataFest 2017: Conquering the Edge with Data Virtualization
Denodo DataFest 2017: Conquering the Edge with Data VirtualizationDenodo
 
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)Denodo
 
Data Regions: Modernizing your company's data ecosystem
Data Regions: Modernizing your company's data ecosystemData Regions: Modernizing your company's data ecosystem
Data Regions: Modernizing your company's data ecosystemDataWorks Summit/Hadoop Summit
 
Deep Dive into the OPC UA / DDS Gateway Specification
Deep Dive into the OPC UA / DDS Gateway SpecificationDeep Dive into the OPC UA / DDS Gateway Specification
Deep Dive into the OPC UA / DDS Gateway SpecificationGerardo Pardo-Castellote
 
Achieving Business Value by Fusing Hadoop and Corporate Data
Achieving Business Value by Fusing Hadoop and Corporate DataAchieving Business Value by Fusing Hadoop and Corporate Data
Achieving Business Value by Fusing Hadoop and Corporate DataInside Analysis
 
Data collection and enhancement
Data collection and enhancementData collection and enhancement
Data collection and enhancementankit_ppt
 
2014 Big_Data_Forum_Intel
2014 Big_Data_Forum_Intel2014 Big_Data_Forum_Intel
2014 Big_Data_Forum_IntelCOMPUTEX TAIPEI
 
The Future of Data Management: The Enterprise Data Hub
The Future of Data Management: The Enterprise Data HubThe Future of Data Management: The Enterprise Data Hub
The Future of Data Management: The Enterprise Data HubCloudera, Inc.
 
DDS-XRCE (Extremely Resource Constrained Environments)
DDS-XRCE (Extremely Resource Constrained Environments)DDS-XRCE (Extremely Resource Constrained Environments)
DDS-XRCE (Extremely Resource Constrained Environments)Gerardo Pardo-Castellote
 
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...Amazon Web Services
 
Oracle Big Data Appliance and Big Data SQL for advanced analytics
Oracle Big Data Appliance and Big Data SQL for advanced analyticsOracle Big Data Appliance and Big Data SQL for advanced analytics
Oracle Big Data Appliance and Big Data SQL for advanced analyticsjdijcks
 

Ähnlich wie Data dictionary (20)

Chap10
Chap10Chap10
Chap10
 
Final
FinalFinal
Final
 
Designing database week ix part 1
Designing database week ix part 1Designing database week ix part 1
Designing database week ix part 1
 
Chap11
Chap11Chap11
Chap11
 
Right to patent stc 2013 conference
Right to patent stc 2013 conferenceRight to patent stc 2013 conference
Right to patent stc 2013 conference
 
Oil and gas big data edition
Oil and gas  big data editionOil and gas  big data edition
Oil and gas big data edition
 
Denodo DataFest 2017: Conquering the Edge with Data Virtualization
Denodo DataFest 2017: Conquering the Edge with Data VirtualizationDenodo DataFest 2017: Conquering the Edge with Data Virtualization
Denodo DataFest 2017: Conquering the Edge with Data Virtualization
 
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)
Datenvirtualisierung: Wie Sie Ihre Datenarchitektur agiler machen (German)
 
Data Regions: Modernizing your company's data ecosystem
Data Regions: Modernizing your company's data ecosystemData Regions: Modernizing your company's data ecosystem
Data Regions: Modernizing your company's data ecosystem
 
SURENDRANATH GANDLA4
SURENDRANATH GANDLA4SURENDRANATH GANDLA4
SURENDRANATH GANDLA4
 
Deep Dive into the OPC UA / DDS Gateway Specification
Deep Dive into the OPC UA / DDS Gateway SpecificationDeep Dive into the OPC UA / DDS Gateway Specification
Deep Dive into the OPC UA / DDS Gateway Specification
 
Achieving Business Value by Fusing Hadoop and Corporate Data
Achieving Business Value by Fusing Hadoop and Corporate DataAchieving Business Value by Fusing Hadoop and Corporate Data
Achieving Business Value by Fusing Hadoop and Corporate Data
 
Data collection and enhancement
Data collection and enhancementData collection and enhancement
Data collection and enhancement
 
2014 Big_Data_Forum_Intel
2014 Big_Data_Forum_Intel2014 Big_Data_Forum_Intel
2014 Big_Data_Forum_Intel
 
The Future of Data Management: The Enterprise Data Hub
The Future of Data Management: The Enterprise Data HubThe Future of Data Management: The Enterprise Data Hub
The Future of Data Management: The Enterprise Data Hub
 
DDS-XRCE (Extremely Resource Constrained Environments)
DDS-XRCE (Extremely Resource Constrained Environments)DDS-XRCE (Extremely Resource Constrained Environments)
DDS-XRCE (Extremely Resource Constrained Environments)
 
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...
Accelerate AI/ML Adoption with Intel Processors and C3IoT on AWS (AIM386-S) -...
 
Forecast 2014: SaaS Data Exchange
Forecast 2014: SaaS Data ExchangeForecast 2014: SaaS Data Exchange
Forecast 2014: SaaS Data Exchange
 
Oracle Big Data Appliance and Big Data SQL for advanced analytics
Oracle Big Data Appliance and Big Data SQL for advanced analyticsOracle Big Data Appliance and Big Data SQL for advanced analytics
Oracle Big Data Appliance and Big Data SQL for advanced analytics
 
Intro_toDB.ppt
Intro_toDB.pptIntro_toDB.ppt
Intro_toDB.ppt
 

Kürzlich hochgeladen

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 

Kürzlich hochgeladen (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

Data dictionary

  • 1. WEEK V JOEY MILLER D. MINGUILLAN
  • 2.  Data dictionary concepts  Defining data flow  Defining data structures  Defining elements  Defining data stores  Using the data dictionary  Data dictionary analysis Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 2
  • 3.  Data dictionary is a main method for analyzing the data flows and data stores of data-oriented systems  The data dictionary is a reference work of data about data (metadata)  It collects, coordinates, and confirms what a specific data term means to different people in the organization Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 3
  • 4.  The data dictionary may be used for the following reasons: ◦ Provide documentation ◦ Eliminate redundancy ◦ Validate the data flow diagram ◦ Provide a starting point for developing screens and reports ◦ To develop the logic for DFD processes Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 4
  • 5.  A data repository is a large collection of project information  It includes ◦ Information about system data ◦ Procedural logic ◦ Screen and report design ◦ Relationships between entries ◦ Project requirements and deliverables ◦ Project management information Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 5
  • 6.  Data dictionaries contain ◦ Data flow ◦ Data structures ◦ Elements ◦ Data stores Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 6
  • 7.  Each data flow should be defined with descriptive information and it's composite structure or elements  Include the following information: ◦ ID - identification number ◦ Label, the text that should appear on the diagram ◦ A general description of the data flow Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 7
  • 8.  (Continued) ◦ The source of the data flow  This could be an external entity, a process, or a data flow coming from a data store ◦ The destination of the data flow ◦ Type of data flow, either  A record entering or leaving a file  Containing a report, form, or screen  Internal - used between processes Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 8
  • 9.  (Continued) ◦ The name of the data structure or elements ◦ The volume per unit time  This could be records per day or any other unit of time ◦ An area for further comments and notations about the data flow Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 9
  • 10. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 10 Name Customer Order Description Contains customer order information and is used to update the customer master and item files and to produce an order record. Source Customer External Entity Destination Process 1, Add Customer Order Type Screen Data Structure Order Information Volume/Time 10/hour Comments An order record contains information for one customer order. The order may be received by mail, fax, or by telephone.
  • 11.  Data structures are a group of smaller structures and elements  An algebraic notation is used to represent the data structure Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 11
  • 12.  The symbols used are ◦ Equal sign, meaning “consists of” ◦ Plus sign, meaning "and” ◦ Braces {} meaning repetitive elements, a repeating element or group of elements ◦ Brackets [] for an either/or situation  The elements listed inside are mutually exclusive ◦ Parentheses () for an optional element Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 12
  • 13.  A repeating group may be ◦ A sub-form ◦ A screen or form table ◦ A program table, matrix, or array  There may be one repeating element or several within the group Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 13
  • 14.  The repeating group may have ◦ Conditions ◦ A fixed number of repetitions ◦ Upper and lower limits for the number of repetitions Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 14
  • 15.  Data structures may be either logical or physical  Logical data structures indicate the composition of the data familiar to the user Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 15
  • 16.  Include elements and information necessary to implement the system  Additional physical elements include ◦ Key fields used to locate records ◦ Codes to indicate record status ◦ Codes to identify records when multiple record types exist on a single file ◦ A count of repeating group entries Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 16
  • 17. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 17 Customer Order = Customer Number + Customer Name + Address + Telephone + Catalog Number + Order Date + {Order Items} + Merchandise Total + (Tax) + Shipping and Handling + Order Total + Method of Payment + (Credit Card Type) + (Credit Card Number) + (Expiration Date)
  • 18.  A structure may consist of elements or smaller structural records  These are a group of fields, such as ◦ Customer Name ◦ Address ◦ Telephone  Each of these must be further defined until only elements remain Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 18
  • 19. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 19  Structural records and elements that are used within many different systems should be given a non-system-specific name, such as street, city, and zip  The names do not reflect a functional area  This allows the analyst to define them once and use in many different applications
  • 20. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 20 Customer Name = First Name + (Middle Initial) + Last Name Address = Street + (Apartment) + City + State + Zip + (Zip Expansion) + (Country) Telephone = Area code + Local number
  • 21.  Data elements should be defined with descriptive information, length and type of data information, validation criteria, and default values  Each element should be defined once in the data dictionary Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 21
  • 22.  Attributes of each element are ◦ Element ID. This is an optional entry that allows the analyst to build automated data dictionary entries ◦ The name of the element, descriptive and unique  It should be what the element is commonly called in most programs or by the major user of the element Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 22
  • 23. ◦ Aliases, which are synonyms or other names for the element ◦ These are names used by different users within different systems ◦ Example, a Customer Number may be called a  Receivable Account Number  Client Number Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 23
  • 24. ◦ A short description of the element ◦ Whether the element is base or derived ◦ A base element is one that has been initially keyed into the system ◦ A derived element is one that is created by a process, usually as the result of a calculation or some logic Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 24
  • 25.  The length of an element ◦ This should be the stored length of the item ◦ The length used on a screen or printed lengths may differ Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 25
  • 26.  What should the element length be? ◦ Some elements have standard lengths, such as a state abbreviation, zip code, or telephone number ◦ For other elements, the length may vary and the analyst and user community must decide the final length Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 26
  • 27. ◦ Numeric amount lengths should be determined by figuring the largest number the amount will contain and then allowing room for expansion ◦ Totals should be large enough to accommodate the numbers accumulated into them ◦ It is often useful to sample historical data to determine a suitable length Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 27
  • 28. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 28 Percent of data that will Element Length fit within the length Last Name 11 98% First Name 18 95% Company Name 20 95% Street 18 90% City 17 99%
  • 29. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 29  If the element is too small, the data will be truncated  The analyst must decide how this will affect the system outputs  If a last name is truncated, mail would usually still be delivered  A truncated email address or Web address is not usable
  • 30. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 30  The type of data, either numeric, date, alphabetic or alphanumeric or other microcomputer formats  Storage type for numeric data ◦ Mainframe: packed, binary, display ◦ Microcomputer (PC) formats ◦ PC formats depend on how the data will be used, such as Currency, Number, or Scientific
  • 31. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 31 Bit - A value of 1 or 0, a true/false value Char, varchar, text - Any alphanumeric character Datetime, smalldatetime - Alphanumeric data, several formats Decimal, numeric - Numeric data that is accurate to the least significant digit Can contain a whole and decimal portion Float, real - Floating point values that contain an approximate decimal value Int, smallint, tinyint - Only integer (whole digit) data Money, smallmoney - Monetary numbers accurate to four decimal places Binary, varbinary, image - Binary strings (sound, picture, video) Cursor, timestamp, uniqueidentifier - A value that is always unique within a database
  • 32. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 32  Input and output formats should be included, using coding symbols: ◦ Z - Zero suppress ◦ 9 - Number ◦ X - Character ◦ X(8) - 8 characters ◦ . , - Comma, decimal point, hyphen  These may translate into masks used to define database fields
  • 33. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 33  Validation criteria must be defined  Elements are either ◦ Discrete, meaning they have fixed values  Discrete elements are verified by checking the values within a program  They may search a table of codes ◦ Continuous, with a smooth range of values  Continuous elements are checked that the data is within limits or ranges
  • 34. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 34  Include any default value the element may have  The default value is displayed on entry screens  Reduces the amount of keying ◦ Default values on GUI screens  Initially display in drop-down lists  Are selected when a group of radio buttons are used
  • 35. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 35  An additional comment or remarks area  This might be used to indicate the format of the date, special validation that is required, the check-digit method used, and so on
  • 36. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 36 Name Customer Number Alias Client Number Alias Receivable Account Number Description Uniquely identifies a customer that has made any business transaction within the last five years. Length 6 Input Format 9(6) Output Format 9(6) Default Value Continuous/Discrete Continuous Type Numeric Base or Derived Derived Upper Limit <999999 Lower Limit >18 Discrete Value/Meaning Comments The customer number must pass a modulus-11 check-digit test.
  • 37.  Data stores contain a minimal of all base elements as well as many derived elements  Data stores are created for each different data entity, that is, each different person, place, or thing being stored Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 37
  • 38.  Data flow base elements are grouped together and a data store is created for each unique group  Since a data flow may only show part of the collective data, called the user view, you may have to examine many different data flow structures to arrive at a complete data store description Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 38
  • 39.  The Data Store ID  The Data Store Name, descriptive and unique  An Alias for the file  A short description of the data store  The file type, either manual or computerized Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 39
  • 40.  If the file is computerized, the file format designates whether the file is a database file or the format of a traditional flat file  The maximum and average number of records on the file  The growth per year ◦ This helps the analyst to predict the amount of disk space required Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 40
  • 41.  The data set name specifies the table or file name, if known ◦ In the initial design stages, this may be left blank  The data structure should use a name found in the data dictionary Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 41
  • 42.  Primary and secondary keys must be elements (or a combination of elements) found within the data structure  Example: Customer Master File ◦ Customer Number is the primary key, which should be unique ◦ The Customer Name, Telephone, and Zip Code are secondary keys Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 42
  • 43. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 43 ID D1 Name Customer Master File Alias Client Master File Description Contains a record for each customer File Type Computer File Format Database Record Size 200 Maximum Records 45,000 Average Records 42,000 Percent Growth/Year 6%
  • 44. Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 44 Data Set/Table Name Customer Copy Member Custmast Data Structure Customer Record Primary Key Customer Number Secondary Keys Customer Name, Telephone, Zip Code Comments The Customer Master file records are copied to a history file and purged if the customer has not purchased an item within the past five years. A customer may be retained even if he or she has not made a purchase by requesting a catalog.
  • 45.  Data dictionary entries vary according to the level of the corresponding data flow diagram  Data dictionaries are created in a top-down manner  Data dictionary entries may be used to validate parent and child data flow diagram level balancing Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 45
  • 46.  Whole structures, such as the whole report or screen, are used on the top level of the data flow diagram ◦ Either the context level or diagram zero  Data structures are used on intermediate- level data flow diagram  Elements are used on lower-level data flow diagrams Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 46
  • 47.  1. Information from interviews and JAD sessions is summarized on Input and Output Analysis Forms ◦ This provides a means of summarizing system data and how it is used  2. Each structure or group of elements is analyzed Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 47
  • 48.  3. Each element should be analyzed by asking the following questions: ◦ A. Are there many of the field?  If the answer is yes, indicate that the field is a repeating field using the { } symbols ◦ B. Is the element mutually exclusive of another element?  If the answer is yes, surround the two fields with the [ | ] symbols Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 48
  • 49. ◦ C. Is the field an optional entry or optionally printed or displayed?  If so, surround the field with parenthesis ( )  4. All data entered into the system must be stored ◦ Create one file or database file for each different type of data that must be stored ◦ Add a key field that is unique to each file Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 49
  • 50.  Data stores may be determined by analyzing data flows  Each data store should consist of elements on the data flows that are logically related, meaning they describe the same entity Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 50
  • 51.  To have maximum power, the data dictionary should be tied into other programs in the system  When an item is updated or deleted from the data dictionary it is automatically updated or deleted from the database Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 51
  • 52.  Data dictionaries may be used to ◦ Create reports, screens, and forms ◦ Generate computer program source code ◦ Analyze the system design for completion and to detect design flaws Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 52
  • 53.  To create screens, reports, and forms ◦ Use the element definitions to create fields ◦ Arrange the fields in an aesthetically pleasing screen, form, or report, using design guidelines and common sense ◦ Repeating groups become columns ◦ Structural records are grouped together on the screen, report, or form Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 53
  • 54.  The data dictionary may be used in conjunction with the data flow diagram to analyze the design, detecting flaws and areas that need clarification Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 54
  • 55.  Some considerations for analysis are ◦ All base elements on an output data flow must be present on an input data flow to the process producing the output ◦ Base elements are keyed and should never be created by a process Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 55
  • 56. ◦ A derived element should be output from at least one process that it is not input into ◦ The elements that are present on a data flow into or coming from a data store must be contained within the data store Kendall & KendallCopyright © 2002 by Prentice Hall, Inc. 10- 56