Database design is generally divided into four stages: demand analysis, structural design, database implementation, database operation and maintenance. Structural design includes conceptual design, logical design and physical design. The main task and goal of database implementation is to establish a database application system in an actual computer system.
Database design generally includes the following stages:
(Learning video recommendation:mysql video tutorial)
1. Requirements analysis
Understand the user’s system needs and solve the “what to do” problem.
2. Structural design
Includes conceptual design, logical design and physical design.
The goal of conceptual design is to produce an overall database conceptual structure that reflects the information needs of all users; the task of database logical design is to convert the E-R diagram generated in the conceptual design stage into an organizational layer data model supported by a specific DBMS, that is, Convert it into a database logical structure that can be processed by DBMS; the task and goal of physical design is to select a physical structure for the logical data model that is most suitable for the application environment.
3. Database implementation
The main task and goal is to establish a database application system in an actual computer system.
4. Database operation and maintenance stage.
The main work includes: database backup and recovery, database security and integrity control, monitoring, analysis, database performance adjustment, and database reorganization.
Related recommendations:mysql tutorial
The above is the detailed content of What are the stages of database design?. For more information, please follow other related articles on the PHP Chinese website!