Database Design
• The process of creating a design that will support the enterprise’s mission statement and mission objectives for the required database system.
• There are three phases of database design
– Conceptual
– Logical,
– Physical Design
Conceptual database design
• Conceptual database design, and involves the creation of a conceptual data model of the part of the large project.
• Data model build according to user’s requirement.
• Conceptual database design independent from
– DBMS Software
– Application program
– Programming language
– Hardware
Conceptual database design
• Identify Entities and attributes.
• Draw the E-R diagram.
• The conceptual data model is a source of information for logical database design.
Logical database design
• The process of constructing a model of the data based on a specific data model
• Independent of a particular DBMS and other physical considerations.
• The logical data model is based on the target data model for the database
• The model is tested and validated against the users’
requirements
• Normalization technique used for test the correctness of the data model.
Logical database design
• The logical data model is a source of information for the physical database design.
• The logical model also serves an important role during the operational maintenance stage.
• Logical structure for the database, which describes relations and constraints.
Physical database design
• It is the third and final phase of the database design process,
• Here designer decides how the database is to be implemented.
• Developing the physical database design, we must first identify the target DBMS.
• Therefore, physical design is adjust to a specific
DBMS system.
Physical database design
• physically implement the logical database design.
– creating a set of relational tables
– identifying the specific storage structures and access methods for the data.
– designing security protection for the system
DBMS Selection
• If no DBMS exists, you should select a appropriate
DBMS.
• If you are going to select a DBMS first you cans check the feature against requirements.
Application Design
• The design of the user interface and the application programs that use and process the database.
• Database and application design are parallel activities.
• Designing the application programs that access the database and designing the transactions(Database Access methods).
• These interface present the required information in a
‘user-friendly’ way.
Prototyping
• A prototype is a working model that does not normally have all the required features or provide all the functionality of the final system.
• The main purpose of developing a prototype database system
– allow users to use the prototype
– Features of the system that work well,
– Check inadequate or not.
– Suggest improvements.
– New features to the database system.
Implementation
• On completion of the design stages
• Implement the database and the application programs.
• The database implementation is achieved using the
Data Definition Language (DDL) .
• Any specified user views are also implemented at this stage.
Data Conversion and Loading
• Transferring any existing data into the new database and converting any existing applications to run on the new database.
• This stage is required only when a new database system is replacing an old system.
Testing
• The process of running the database system with the intent of finding errors.
• Testing cannot show the absence of faults; it can show only that software faults are present.
Operational Maintenance
• The process of monitoring and maintaining the database system following installation.
• involves the following activities
– Monitoring the performance of the system. If the performance falls below an acceptable level, tuning or reorganization of the database may be required.
– Maintaining and upgrading the database system (when required). New requirements are incorporated into the database system through the preceding stages of the lifecycle.
Summary
• Database Planning
• System definition
• Requirements collection
• and analysis
• Database design
– Conceptual
– Logical,
– Physical Design
• DBMS selection (optional)
• Application design
• Prototyping (optional)
• Implementation
• Data conversion and loading
• Testing
• Operational maintenance