Вы находитесь на странице: 1из 9

Database Design

Points to cover 1 What is Database?

Importance of Database
How to start?

Data Dictionary Building normalize data dictionary Avoiding common mistakes

3/10/2013

What is Database?

A database is an organized collection of data. A database is a collection of information that is organized so that it can easily be accessed, managed, and updated. A collection of information organized in such a way that a computer program can quickly select desired pieces of data. You can think of a database as an electronic filing system.
3/10/2013

Why Database?

It allows to store huge amount of data.


A database allows you to manage and use an incredible variety of information easily.

Databases can be expanded and manipulated. Security

Sharing of data
Maintain redundancy, inconsistency and integrity.
3/10/2013

How to start?

Decides what to include?


Identify Entities List out Attributes and its types Specify Relationship Defining Constraints

Normalization
Testing with real data
3/10/2013

Data Dictionary
Data

dictionary is a centralized repository of information about data such as meaning, relationships to other data, origin, usage, and format.

A data dictionary is a set of metadata which contains the definition and representation of data elements.

3/10/2013

What it includes?

Data Elements includes Name, Description, Type, Length, Aliases, Range Value Data Structures includes Description, Contents, Volume Data Structure,

Data Flows includes Data Flow Name, Description, From Processes, To Processes, Data Structures Processes includes Process, Description, Input, Output, Logic Summary
3/10/2013

Normalized Data Dictionary


Sales Master
Cust_id Name Address City Bill_no Icode Qty Rate

Problem of Insert & Delete Possible Solution Customer Master


Cust_id Name Address City

Sales Master
Bill_no Cust_id Icode Qty Rate

Problem
3/10/2013

Solution

Sales Master
Bill_no Bill_Date Cust_id

Sales Detail
Bill_no Icode Qty Rate

3/10/2013

Common Mistakes

Poor Planning/Design Ignoring Normalization Poor Naming Standards Lack of Documentation One table to hold all domain values

Lack of Testing

3/10/2013

Вам также может понравиться