Recently doing a simple quiz on the website
The following four elements are now available
person, topic, question, answer
How to design a database (MySQL)
People can focus on people, topics, problems
Problems can have multiple topic tags
The Feed Stream (Home page display) can be mixed to appear:
The topic of my concern new issues
New answers to the questions I care about
Questions raised by people
users multiple times to refine the requirements, the requirements and each change must be reflected in the database design. If the requirements are not clear, we need to analyze the uncertain factors. When designing a table, we need to reserve reserved fields ".
2. database design is not just on the page demo Surfac
users multiple times to refine the requirements, the requirements and each change must be reflected in the database design. If the requirements are not clear, we need to analyze the uncertain factors. when designing a table, we need to reserve reserved fields ".
2. database design is not just on the page demo surfac
Database Technology-database Naming and Design Specifications database development history has been using a somewhat mysterious system naming database table and field. In the original database management system (DBMS), the results
Label:"The work of physical design"① Choosing the Right Database management system: Oracle,sqlserve,mysql,pgsql② defining naming conventions for databases, tables, and fields③ Select the appropriate field type according to the selected DBMS system④ Anti-Normalization design-consider reading efficiency and adding appropriate redundancy in some tables (space change
Design tables and fields1. Check for various changesWhen designing a database, I will consider which data fields may change in the future. For example, the last name is like this (noteIt refers to the surname of a westerners, for example, the surname of a female after marriage ). Therefore, when establishing a system to store customer information, I tendStore the Last Name field in a separate data table, an
Chapter 1 design database applications
Database applications allow users to interact with information stored in the database. The database provides an information structure for different applications to share.Delphi 4 supports relational databases. Relational databases organ
same code can be merged.In order to further improve the performance of the database application system, the data model structure should be modified and adjusted appropriately under the guidance of standardization theory. This is the optimization of the data model. Determine the data dependency. Eliminate redundant connections. Determine which relationship modes belong to the nth paradigm. Determine whether to merge or break them down. In general, the
I am currently working on a simple Q A website with the following four elements: Topics, questions, and answers to questions about how to design a database (MySQL, you can have multiple topic tags to feed the stream (displayed on the homepage). The following is a question added to my topic... recently, I am working on a simple Q A website.
The following four elements are available:
People, topics, quest
Design of database ParadigmA relational database is a two-dimensional table (rows and columns) that holds data.
Entity: something that exists in the real world and can be distinguished. such as "A student", "a book", "a course" and so on. It is worth emphasizing that the word "things" here is not only the "things" that can be seen and touched, but also t
MySQL series: Database Design
Preface
Here we will re-pick up the database design knowledge that we were not very familiar with before and make a simple sorting of knowledge. Previously, I thought that database design is nothing m
recommend this method instead of opening another page.
To edit the entire table at the same time, you can use the cell editing mode of the table, such as the order editing page-Order Details table in the system]
System introduction-Permission Center
The design concept is the same as that of the same version. It uses [user], [role] =, [module], and [function] Permission control. For more information, see my previous introduction: general pe
Database Division
In the game, the most frequent data interaction is the player data. The access volume cannot be solved by a server. Therefore, we consider sharing this data among multiple servers. The sharing method is still horizontal cutting, but instead of using the database's own cutting function, the database is cut at the application logic layer. Write the modulo based on the user ID to the corres
Design of database ParadigmA relational database is a two-dimensional table (rows and columns) that holds data.
entity: something that exists in the real world and can be distinguished. such as "A student", "a book", "a course" and so on. It is worth emphasizing that the word "things" here is not only the "things" that can be seen and touched, but also the vi
attributes and cannot be divided. This single attribute consists of a basic type, including Integer, real, character, logical, date, and so on.For example, the following database tables are in accordance with the first paradigm:Field 1 Field 2 Field 3 Field 4Such database tables do not conform to the first paradigm:Field 1 Field 2 Field 3 Field 4Field 3.1 Field
can be "visible", either "read-only" or "available (If the button can be clicked )is actually the WHO, what, how problemSo the six tables mentioned above can actually design a table:650) this.width=650; "src=" http://images.cnblogs.com/cnblogs_com/leoxie2011/pri.jpg "width=" 608 "height=" 139 "style = "border:0px;"/>IV, example descriptionHere is an example of a design description. "User, role on page is p
execution and the performance of the database. Only through the non-standard design, significantly reduce the number of tables, so as to reduce the dependency on the connection operation, speed up the implementation of the database to ensure the normal performance of the database. For example, the nonstandard star pat
purpose of each field and any possible aliases. It is absolutely necessary to document SQL expressions.5) define standard object naming rulesThe names of various objects in the database must be standardized.2. Table and field design (Database Logic Design)Table Design Princ
background: The structural design part of the database design specification of the software project document should understand that the conceptual structure design, the logical structure design and the physical structure
Label: MongoDb compared to the traditional SQL relational database, the biggest difference lies in their schema design (schema) differences, it is because this level of differences derived from other aspects of the difference. we can simply think that the relational databaseconsists of three hierarchical concepts of database, table and record, while in constructi
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.