merge or break them down. In general, the relationship is divided into 3NF criteria, namely:
Each value in the table can be expressed only once.
Each row in the table should be uniquely identified (with a unique key ).
The table should not store non-key information that depends on other keys.
4. Physical database design phase
Select the physical structure (including the storage structure and access method)
Constaints (integrity constraints): prevents data inconsistency constraints in the database.
69. IS-A
Hierarchy (IS-A hierarchy): type hierarchy ).
70. Local Logical Data
Model: A data model that represents a combination of a specific user view or user view.
71. logical database
D
,,What is the design principle of nosql? Is there a paradigm similar to that of relational databases?
I also found an article:Http://www.cnblogs.com/AllenDang/p/3507821.html! CommentsBasically, the design idea is what I mentioned above: Put the blog and comments together.This reduces the number of queries.However, a problem occurs if the user's nickname changes.Isn't every blog commented by this user going
Tags: structural design database Physical design dependent applicationPhysical Design of databaseThe storage structure and access method of the database on the physical device is called the physical structure of the database, it r
nameTherefore, the commodity relations department satisfies the third normal form, the non-main attribute commodity class name passing depends on the commodity number, there will be data redundancy, data modification anomaly problem. Break down the commodity relationship into:Product (product code, product name, unit price, production date, product class number)Product Category (Product class number, product category name)2.3.3 Physical Structure DesignThe process of designing a physical struct
Link Attribute Tuples Insertion exception: when inserting data, the data cannot be inserted into the database, and the relational database cannot be operated, that is, the insertion exception.
Deletion exception: when unnecessary information in a link is deleted, the information that should not be deleted is also deleted, that is, the deletion exception.
Update exception: when updating a
8.5 use ViewContrary to the popular concept, a view is actually detrimental to performance-not necessarily because of the use of a view, but because of its common usage in a business environment. In the database model design stage, why not use the view as a performance adjustment tool? This book will explain from the perspective of database modeling.Tip:A view is
Tags: database designDatabase design process and data description1. Requirements Analysis Phase (accurate understanding and analysis of user needs including data and processing)2. Conceptual structure design phase (to form an independent DBMS conceptual model by synthesizing, generalizing and abstracting the user's needs)3. L
button on the page 3, the permission can be "visible", can be "read-only" or "Available " ( such as a button can be clicked ) is actually the WHO, what, how problem So the six tables mentioned above can actually design a table: IV, example description Here is an example of a design description. "User, role on page is permission to use" Detailed design: 1,
department 2, the domain can be a module, can be a page, or it can be a button on the page 3, the permission can be "visible", can be "read-only" or "Available " ( such as a button can be clicked ) is actually the WHO, what, how problem So the six tables mentioned above can actually design a table: IV, example description Here is an example of a design description. "User, role on page is permission t
,creating/reading/updating/deleting). This type is more officially called "OLTP".
Analytic type: This type of application, your end user more attention to data analysis, reports, trend prediction and so on functions. The "Insert" and "Update" operations of this type of database are relatively small. Their main purpose is to query and analyze data more quickly. The more official term for this type is "OLAP".
So in other words, if you think inserting,
, manage, control, and distribute data/information across the company.Inheritance (inheritance): See Attribute Inheritance (Attribute inheritance).Integrity constaints (integrity constraint): A constraint that prevents inconsistent data in the database.Is-a hierarchy (Is-a hierarchy): The same type hierarchy (type hierarchy).The local logical data model, the local logical data model, represents a combinatio
a primary key(because it has no descendants), but must have a foreign key (because it has a father).The design of primary key and foreign key plays an important role in the design of global database. When the global database design is complete, there is an American
fields in the database table are all single attributes, no further {personal understanding: like a family, there are several sons, the other sons are made up of one part, but a son needs two parts, that is, this is not a normal family, hehe, said too much}. This single attribute consists of a basic type, including Integer, real, character, logical, date, and so on. For example, for example, the following
If these two conditions are met, it can be explained that the standard of the database is still relatively high. Of course, this is a two-generalities indicator. In order to meet the requirements of database design normalization, the following five requirements are generally required.
Request One: Nullable columns should be avoided in the table.
Although emp
areas:Storage spaceImpact on the performance of the current operating systemImpact of recovery timeIf you need to save space and restore time, you need to increase the frequency of backups, but the backup operation will significantly increase the load on the currently running system. 、Oracle's recovery approachDifferent methods of recovery are used according to different backup methods.Using physical backup to restoreOracle offers three ways to recover:1, d
Tags: blog http java using OS IO file dataThis article reproduced: http://www.cnblogs.com/olartan/archive/2009/12/02/1615131.htmlChapter 1th IntroductionWhen the amount of data is large, the multiple tables are divided into different db first, then the data is distributed to different databases according to the key columns. After the library distribution, the system query, IO and other operations can have a group of multiple machines together to complete. This article is mainly aimed at, the mas
Objective:Recently started the computer room cooperation, in which they are mainly involved in the design of the D layer, but also in the document design phase mainly involved in database design. Prior to the computer room reconfiguration for the database
important credentials to communicate with the customer. 3, detailed design stage: The summary design phase of the E-r diagram into a database table, the logical design, to determine the main foreign key relationship between the tables, the use of the three-paradigm of the
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.