1. Test the existing environment
When designing a new database, you should not only carefully study the business needs, but also examine the existing system. Most Databases
Projects are not built from scratch. Normally, there will always be existing systems within the Organization to meet specific needs (there may be no real
Automatically calculated ). Obviously, the existing system is not perfect, otherwise you do not have to create a new system. H
belong to one unit.
Try to complete the following tasks:
(1) Design students to select the class and teacher classroom two local e-R diagram.
(2) The E-R diagram completed by the above design is merged into a global e-R diagram.
(3) Transforming the global e-R diagram into the logical structure of the database represe
Database model (ID-PID): A father has many children, and a child has only one father, such a structure is a tree. In a database table, the ID and PID (parent_id) are designed. A tree is stored by ID and PID.
From the object-oriented design point of view, in the tree node class is not suitable for PID, a node has 1 or 0 fathers, and 0 or children. So the
forgetting the lessons of the past
I find it useful to ask users how they think about future changes in demand. This can be done for two purposes: first, you can clearly understand where the application design should be more flexible and how to avoid performance bottlenecks, and second, you know that users will be as surprised as you are when there is no predetermined requirement change.
Be sure to remember the lessons of the past! We developers sho
[Test] database system principle (II)-detailed explanation (database design and ER Model), database system principle er
Everything has a lifecycle. Of course, the database system is no exception!
The database
requirements
3> Data Dictionary
Data Dictionary is a collection of various types of data descriptions in the system. it is the main result of detailed data collection and data analysis. It plays an important role in a database design.
Data dictionaries generally include data results of data items, data streams, data storage, and processing processes.
A data item is the smallest component point. multipl
), otherwise there will be a large amount of data redundancy. In short, the third paradigm is that attributes are not dependent on other non-primary attributes.
II. Analysis of application examples of paradigm
The following is an example of a school's student system, which illustrates the application of these paradigms. First Paradigm (1NF): The fields in a database table are single attributes and cannot be divided. This single attribute is com
This article from http://www.cnblogs.com/jiapengliang2005/articles/1632745.html
1 Database Design Overview
Database Design refers to constructing the optimal database mode for a given application environment, establishing a dat
BC paradigm.UsuallyThe conditions of the BC paradigm have multiple equivalents: each non-trivial dependency must have a key code on the left side, and each determinant must contain a key code.The BC paradigm checks both non-primary and primary properties. When only the non-primary attribute is checked, it becomes the third paradigm. The relationship of the BC paradigm must satisfy the third paradigm.It is also possible to say that if a relationship reaches the third paradigm, and it has only on
Tags: Microsoft Difference Detail Related entity HTTP Contact process BSP21. Conceptual Design 1.1 key knowledge of conceptual design 1.2 Discrimination The difference between an entity and an attribute: ① entities can be further described by multiple attributes, but not attributes, which are non-subdivided/segmented atoms. There is a connection between the ② entity or multiple entities, and the attribu
the use of meaningless fields (logical primary key) or meaningful fields (business primary key). Individuals tend to "logical primary key", the reason is that the design of the database model structure clear, the relationship between clear, often more in line with the "third paradigm" (although not intentional, hehe).
description1NF: fields in the database table are single attributes and cannot be divided. This single attribute is composed of basic types, including integer, real number, complex type, logical type, and date type.For example, the following database tables conform to the first paradigm:
Field 1
Field 2
Field 3
Field 4
Transfer http://www.wgjz.com/database/other/20070515/89173.html
When it comes to databases, I don't think we have to talk about the data structure first. In 1996, when I first went to college to study computer programming, the teacher told us that computer programs = data structures + algorithms. Although the current development of programs has gradually transitioned from process-oriented to object-oriented, I strongly agree with the formula that the
) Design students to select the class and teacher classroom two local e-R diagram.
(2) The E-R diagram completed by the above design is merged into a global e-R diagram.
(3) Transforming the global e-R diagram into the logical structure of the database represented by the equivalent relational pattern.
A :(1) The studen
quickly. This type is more officially called "OLAP".So in other words, if you think inserting, updating, deleting data are more prominent in your program, then design a normalized table or create a flat, denormalized database structure.The following simple chart shows a simple normalized table such as the left Names and Address, how to create a flat table structure by applying an denormalized structure.Rul
.
Each row in the table should be uniquely identified (with a unique key).
Non-key information that depends on other keys should not be stored in the table.
4. Database Physical Design Phase
Select a physical structure (including storage structure and access method) that is best suited to the application environment for the logical data model. According to the ch
General permission management design (database structure design) and permission management structure designI. Preface
The application of the permission management system should be used in three different ways,
A. Permission
B. Assign permissions.
C. Grant Permissions
This article only analyzes the application levels of "Use Permission" and "assign permission", an
Basic steps of database design
According to the standard design method, considering the whole process of database and its application system development, the database design is divided into the following 6 stages
1. Demand Analys
Three major paradigms of database design and three major paradigms of Database Design
In order to establish a database with low redundancy and reasonable structure, certain rules must be followed when designing the database. In re
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.