Discover nosql database schema design, include the articles, news, trends, analysis and practical advice about nosql database schema design on alibabacloud.com
according to the overall needs of the user.
Logic Design
The task of logical structure design is to transform the basic E-r diagram designed in conceptual structure design phase into a logical structure conforming to the data model supported by the product of database management system.
Relationship
Server 2000.
工欲善其事, its prerequisite
Using the ideal database design tools, such as: SyBase Company's powerdesign, she supports the PB, VB, Delphe and other languages, through the ODBC can connect to the market popular more than 30 databases, including DBase, FoxPro, VFP, SQL Server, etc. I will highlight the use of powerdesign in the future.
Get Data Schema Res
according to the user's requirements, generate the entity of the database in the logic view, and the E-R diagram between the entities, then generate data Modeler. After confirmation, generate a table with the corresponding user in the database created by schema generation.
The detailed diagram is cumbersome and will not be shown here.
Ii. Physical
node
Advantages : Simple structure, easy to find the sub nodes
disadvantage : Finding a parent node can be tricky.
E. Document-type database design Pattern 3
Taking full advantage of the document storage schema-less, the above C scheme is used to store a large tree-shaped document, and the other information of each node is stored separately.
Advantages : Easy
Tags: blog http os using IO strong ar for fileDatabase design Specifications 1. IntroductionDatabase design refers to a given application environment, constructs the optimal database pattern, establishes the database and other application system, enables it to effectively store the data, satisfies the various user's de
Standardization | design | data | database | Database design relational database design is the process of organizing and structuring data. The core problem is the design of the relatio
Unlike the scalability design of a cache server cluster, the scalability of the data storage server cluster demands higher data durability and availability.The purpose of the cache is to speed up the data read and reduce the load pressure on the data storage server.Therefore, the loss of some cached data does not affect the normal processing of the business because the data can also be obtained from storage servers such as databases.and the data stora
second step to check these users ordered other books, so this is used in the query nested, in the nested inside the first, and then query the second, So the fourth empty should be c.bid, fifth empty c.ordernum, in orderlist this relationship mode, she is a n than N of the relationship between the conversion, so she has the book number and order number, so the book number equals 123--456, The order number equals the order number of the relationship mode, so 4 and 5 are completed, the 4th is C, a
Design of database table with tree-shaped structure
In the process of programming, we often use the tree structure to characterize the relationship of some data, such as Enterprise's subordinate departments, column structure, commodity classification and so on, usually, these tree-like structures need to use the database to complete the persistence. However, all
when conducting architecture, design, and communication. For example, we can say that "after the article is commented, the author's points will be added to 10 points". at this time, we will not consider many types of articles: blog, news, Q A, comments ......, Do not consider whether to directly change the total score, add a point record, or synchronize points ....... What do you say if there is only a table?
Of course, the structure of a table can
Here is a preliminary design with PowerDesigner, which may be modified later.1. Start PowerDesigner New physical data model2. Tool bar3. New Table Model4, add the first table, you can double-click the table or the right-click menu to open the following windowDon't forget to select the owner of dbo and switch to the Columns tabUpon completion, the form of the table was of this virtue.Follow this procedure to add additional tables in turn6. Add Table re
The original design of database data Isolation Based on SaaS architecture is nothing more than three design modes: (1) independent database (2) Share Database, independent Schema (3) Share Dat
database table schema design of tree-shaped structureIn the process of programming, we often use the tree structure to characterize some data related relations, such as enterprise subordinate departments, column structure, commodity classification, etc., usually, these tree structure need to use the database to complet
information:
Tag table:
Copy Code code as follows:
ID of TagID # tag tag
TagName #tag内容
Num #当前Tag的引用个数
Tagmap table
Copy Code code as follows:
TagID
Aid
Article table
Copy Code code as follows:
ID #文章ID
Title #文章标题
Tags #tags列表, multiple to, split
...
This form, each release content and modify the content of the time to update the tag table and Tagmap table.
The query needs to look for the response's article
A relational database is designed to conform to certain rules. In particular, database design paradigm is briefly introduced 1NF (first normal form), 2NF (second normal form), 3NF (third normal form) and BCNF, another fourth normal form and fifth normal form are left to be introduced later. When you design a
Cassandra, LinkedIn contributed Voldemort, Mixi.jp contributed Tokyo Cabinet and Tokoy Tyrant, green.jp contributed flare, including Google's bigtable.
SummarizeWriting here, I found that only these new database solutions have too much to write content, and these are more than the main content of this article, and now the content is all a primer, I write is not done. In the following will be an example of the anti-normal
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.