Data Center reconstruction-database design, data center reconstruction Database

Source: Internet
Author: User

Data Center reconstruction-database design, data center reconstruction Database

Database Design-conceptual design stage

This phase mainly draws an erdiagram based on requirements, as shown in the following figure. The diagram shows the erdiagram based on the requirements of the data center charging system. There are 6 entities in the diagram: teachers, students, cards, basic data, bills, and computers have a one-to-many relationship and many-to-many relationship. Teachers have many different roles, but they are not subdivided here, however, in the future, we will design security mechanisms carefully. According to the conversion principle, but when we convert an ergraph into a table, a table is extracted from the many-to-many relationship, in this way, we can obtain the corresponding 10 tables in the logical design phase (the computer has only one attribute, so it is omitted ).


Database Design-Logic Design Stage

It is the table I obtained based on the ergraph (it is first represented by the class graph here, and none of the classes correspond to one table one by one ).


There are still many things to be improved in the later stage of the database. Here we will first make a simple design. Please advise on the shortcomings.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.