Read about database table design best practices, The latest news, videos, and discussion topics about database table design best practices from alibabacloud.com
The following 14 database design skills are gradually summarized by many people in a large number of database analysis and design practices. The use of these database design experience
Label:In order to build a database with small redundancy and reasonable structure, we must follow certain rules when designing database. In a relational database, this rule is called a paradigm. A paradigm is a summary of a design requirement. In order to design a relational
." Otherwise it's not a relational database.
code: table can uniquely determine one of a tuple's properties (or ), If there is more than one such code, then everyone is called candidate code, we choose one from the candidate code to do the boss, it is called main code.
If a code contains all the attributes, the code is full size.
A property is the primary attribute as long as it ap
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
(wares_width ). After a while, the boss has some new products that need to be added with "height" attributes. Do you feel that the database you designed is growing in this way, will it soon become a maze? So, is there any way to curb this unpredictability, but it is similar to repeated database expansion? I have read Agile Software Development: Principles, models, and
too many records in a table. For example, if there are more than 10 million records, the table should be divided horizontally. The method of horizontal segmentation is to use the primary key of the table
When a value of a PK is a boundary, the records of the table are divided horizontally into two tables. If you find
I. Introduction of relational database design paradigm
1.1 First normal form (1NF) no duplicate columns
The so-called first normal form (1NF) means that each column of a database table is an indivisible basic data item and cannot have multiple values in the same column, that is, an attribute in an entity cannot have m
I am a newbie. I have been confused for a long time. Today I decided to ask you the correct or common practices. Here is a simple example: id, title, content ,...... Label table: id. The two tables above the title obviously require auto-incrementing IDS as the primary key to ensure uniqueness. Design 1 next... I am a newbie. I am confused about this question for
The following fourteen skills are gradually summarized by many people in a large number of database analysis and design practices. For the use of these experiences, readers should not be able to stick to them, but should digest and understand them, be realistic, and be flexible. And gradually achieve: Development in the application and application in the developm
of flowchart
Process Division Document:
1/Realistic Business document collection
2/Document collation and combination
3/Document status changes in different periods of the functional implementation process
4/Document composition elements
5/Document split description and implementation (data source/Data flow/processing action)
6/Document user's permission description and control
7/presentation of specific documents (shown in spreadsheet format)
Document Division
database
After the file system is processed in C ++, It is appended to the table. This is the experience of designing the telecom billing system.(3) It is found that there are too many records in a table. For example, if there are more than 10 million records, the table should be divided horizontally. The horizontal s
file system is processed in C ++, the database is appended to the table. This is the experience of designing the telecom billing system.(3) It is found that there are too many records in a table. For example, if there are more than 10 million records, the table should be divided horizontally. The horizontal split meth
Summary: For database design, we generally start from the conceptual model. In the conceptual model design phase, we focus on analyzing the logical structure of data to avoid getting into the specific storage details, all designs are irrelevant to specific database products to be used in the future. This article is sui
1. Avoid empty columns in the table;
2. duplicate values or columns should not exist in the table;
III:The record in the table should have a unique identifier.When designing a database table, the database administrator should deve
. The relationships in relational databases must meet certain requirements, that is, they must meet different paradigms. Currently, relational databases have six paradigms: 1NF, 2NF, 3NF, 4NF, and 5NF) and the sixth paradigm (6NF ). The first paradigm (1NF) meets the minimum requirements ). The second Paradigm (2NF) that meets more requirements on the basis of the first paradigm, and the other paradigms are similar. Generally, databases only need to satisfy the 3NF. The following is an example o
instead of non-fixed-length field (such as char instead of varchar2), the data row size can be reduced more or less, increase the hit rate of the database buffer pool;
2. Primary keys. The selection of primary keys will have a great impact on the stability and efficiency of table indexes. Generally, we recommend that you consider the unique value that the database
Last release: CYQ. DBImport V1.0 Introduction: CYQ. DBImport reverse engineering and batch import database tool V1.0
This release of V2.0 is intended for overseas attacks. The following is a description of this release.
I. Introduction to new features of Version 2.0
1: fixed the GUID script error.
2: add processing. When the table for data import has no data, the ta
access| Tutorials | design | view | crash | Chinese
Third, design a table in Design view
To be able to design a table in Chinese Access 2000 as in Chinese visual FoxPro 6 using the Table
the database, and all kinds of constraints are actually a very consuming resource for the database. Therefore, for the performance-based database schema design, we can not completely take the canonical paradigm theory as the only guidance. In the design process, should star
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
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.