Designing A Database Ok
Designing A Database Ok
Designing A Database Ok
Occupied
Course title : design database occupation : WDDBA level 3 accdemic year 2016
by
instructor
New diplomatic colege
kayisle
o Process requirements
Identifying technical requirements for how the system will function and what the system will do, are identifying
the processes, qualities and environment requirements of the system.
Once the technical requirements have been identified, it is possible to develop a solution.
Finally, the recommendations will need to be measured against the technical requirements and documented.
1.4 Developing conceptual model of the database
Database Administrator Level III by instructor kayisle k date 13/09/2016E.c
2nd course
Occupied
Course title : design database occupation : WDDBA level 3 accdemic year 2016
by
instructor
New diplomatic colege
kayisle
Conceptual database design is the process of constructing a model of the information used in an enterprise,
independent of any physical considerations.
- It is a High level description of the data and the constraint.
- It is the source of information for the logical design phase.
- It mostly uses an Entity Relationship Model to describe the structure at this level.
In developing conceptual model of the database, the designer should answer the following question:
– What are the entities and relationships in the enterprise?
– What information about these entities and relationships should we store in the database?
– What are the integrity constraints or business rules that hold?
• Conceptual database Model Concepts includes:
Entities and Attributes
Entity Types, Value Sets, and Key Attributes
Relationships and Relationship Types
Weak Entity Types
Roles and Attributes in Relationship Types
ER Model Notations, Naming Conventions, Design Issues.
LO2: Develop logical data model
2.1 Identifying attributes
An attribute is a fact or non-decomposable piece of information about an entity. When you represent an entity as a
table, its attributes are added to the model as columns.
After you determine the entities, you can identify the characteristics of each entity.
To select attributes, you have to check:
- It’s significant.
- It’s Usefulness to the database users.
- It is non-decomposable. Composite values must be separated into individual attributes.
2.2 Determining data types
Data Type is a constraint that specifies the possible value for each field in the table.
Common examples of data type:
i) In MS-Access – Auto-number, text, number, date\Time, currency, Yes/No, and so on.
ii) In MS-SQL server - integers, Booleans, characters, floating-point numbers, datetime, and so on.
2.3 Undertaking normalization of attributes
Normalization is a process that involves dividing large tables (complex data structures) into smaller (simple and
stable data structures) that do not accept redundant values and defining relationships between them.
Database normalization is the process of organizing the fields and tables of a relational database to minimize
redundancy and to avoid update anomalies (insert, modify, and delete anomalies).
If an attribute of a table is multi-valued, it must be normalized.
Functional dependency
A functional dependency (FD) is a constraint between two sets of attributes in a table from a table in the database.
* A functional dependency occurs when one attribute in a table uniquely determines another attribute. This can
be written as: A B ("B is functionally dependent upon A").
If a particular value of one attribute (A) in a table uniquely determines the value of another attribute (B) in the same
table, then there is a functional dependency between attributes A and B.
Cardinality Notations
Cardinality specifies how many instances of an entity relate to one instance of another entity.
Ordinarily is also closely linked to cardinality. While cardinality specifies the occurrences of a relationship,
ordinarily describes the relationship as either mandatory or optional. In other words, cardinality specifies the
maximum number of participation and ordinarily specifies the absolute minimum number of participation. When the
minimum number is zero, the relationship is usually called optional and when the minimum number is one or more,
the relationship is usually called mandatory.
There are many notation styles that express cardinality and they are all supported by Smart Draw and Visio
drawing software.
i. Information Engineering
ii. Chen
iii. Bachman
iv. Martin
Data dictionaries do not contain any actual data from the database, only bookkeeping information for managing it.
Advantages of a Data Dictionary
When a new user is introduced to the system or a new administrator takes over the system, identifying table
structures and types becomes simpler.
3.7. Documenting database design
Database design documentation is detailed information about a database’s design specifications, its internal
workings, and its functionality.
Database design documentation should include:
• Conceptual data model
Conceptual database design is the process of constructing a model of the information used in an enterprise.
- It is a High level description of the data and the constraint.
- It includes:
Entities and Attributes
Entity Types, Key Attributes, and Value Sets
Relationships and Relationship Types
Weak Entity Types
Roles and Attributes in Relationship Types
ER Model Notations, Naming Conventions, Design Issues.
• Logical data model is a fully attributed entity relationship diagram (ERD), which shows each entity, its
relationship to other entitles, normalized structures, and specifies the applicable business rules.
• Physical data model is the final representation of the relational database design structures(physical
implementation, access method and storage requirements).
Report Designer provides a Report Data pane to organize data used in your report, and tabbed views for Design and
Preview so that you can design a report interactively.
Report Designer is hosted in the Business Intelligence Development Studio, which is fully integrated with the
Microsoft Visual Studio 2008 development environment. If you do not have Visual Studio 2008 installed, SQL
Server Setup installs the shell so that you can run Report Designer.
statements INSERT, UPDATE, and DELETE). Because the amount of data is smaller, this process can be performed
significantly quicker than a full database backup and quicker than a differential backup.
File or File group Backup
File (or file group) backup allows you to back up specific database files (or file groups) instead of the entire
database. In this case, Database Engine backs up only files you specify.
Individual files (or file groups) can be restored from a database backup, allowing recovery from a failure that affects
only a small subset of the database files. You can use either a database backup or a file group backup to restore
individual files or file groups.