The database design paradigm is the specification that the database design needs to satisfy, the database that satisfies these specifications is concise, the structure is clear, at the same time, insert (insert), delete (delete) and update operation exception are not occurre
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
Relationship Type: Mysql, Oracle
non-relational: Mongodb, Redis
Database Design
Reduces data redundancy, avoids data maintenance anomalies, saves storage space, and efficiently accesses
Design Steps
Requirements Analysis: What the data is, what attributes it has, the characteristics of the data and attributes (storage features), and the lifecycle of the data
Lo
Label:The establishment of a master-slave database is generally based on the following three considerations:1. Disaster recovery: The repository is offsite, the main library does not exist, the repository can be immediately taken over, no restoration time;2. Load balancing: The main library to do additions and deletions, prepare the library to do queries, so many query services do not occupy the main library resources;3. Data centralization and distri
Design method of database table structure
When we design a database storage mode, we need to analyze the data pattern carefully and not put all the data together in a single brain. In that case, the availability of the system, efficiency, scalability will have a serious impact. Of course, the system you designed is ve
In general, we mainly judge whether the design of the Oracle database is standardized from two main aspects. The first is to check the number of narrow tables, and the second is to check the number of tables. The actual number of wide tables. If the two conditions are met, the standardization level of the database is still relatively high.
Of course, these are tw
Tags: define database Security buffer software development detailed logic by cost name1 Introduction 1.1 Purpose of writingExplain the purpose of compiling this database design manual and indicate the intended audience.1.2 BackgroundDescription A Describe the name of the database to be developed and the name of the sof
customers and their related orders may have two tables: customerAnd order. The Order table is not a package.Contains any information about the customer associated with the order, but the table stores a key value that points to the customer table containing the customer information.There are also higher levels of standardization, but will higher standards be better? The answer is not necessarily. In fact, for some projectsEven 3nf can introduce too much complexity to the
Label:SceneWhen we use the database, we often encounter menu options, such as the Personal information table: "Gender": male, female, "education": Junior college, College, undergraduate, master and above; English level: English four, English six, professional eight; These menu options must be maintained in the database, When there are many data tables, the menu options may reach hundreds, so how do you
Database Design-semi-structured storage and database structured storage
Business scenario: the user fills in some documents, reports them, and approves them. There are several fields in the document that need statistics, and the business is not complicated.
In a seemingly simple scenario, when the developer came up with the PDM
In the design of a relational database, it is usually necessary to specify a primary key for each table, and a primary key is a property or group of attributes that uniquely identifies a row of records in a table, and a table can have only one primary key, but may have multiple candidate indexes. Because a primary key can uniquely identify a row of records, you can ensure that no errors occur when you perfo
The entity Association design language of nbearv3. The new syntax can more clearly express all common object associations. The new implementation version implements both database integrity constraints detection and automatic cascade updates.
All nbearv3 tutorials have been updated to reflect the latest changes.
Online tutorial directory:Nbearv3 Chinese tutorial directory
The latest version of nbearv3.2
, etc.malling_goods_category: Classification, classification number, name, higher class number, etc.Malling_goods_comment: A review of a product, a user who has purchased a productbefore you can comment on this product .malling_orders: Order, order number, owner, Total Price, payment method, etc.Malling_orders_item: Order item, an order can have more than one order item, order number, owner, product ID, item quantity, total price, commodity PriceLog RelatedMalling_op_log: Operations logs, such a
In general, two aspects can be used to determine whether the database design of the comparison specification. One is to see whether there is a large number of narrow tables, and the second is that the number of wide tables is small enough. If these two conditions are met, it can be explained that the standard of the database is still relatively high. Of course, t
Tags: Time table transaction post customer service sharing cannot SSI"The beginning of the database design classic", is now learning this book, although the previous read a similar book, may be due to previous experience, some of the book said something only digested part, now relive side understood more. So read the first time read do not understand it does not matter, after a a year to read again, or will
check list.With this data, is it difficult to write the interface?
Sometimes it is not possible to open a burglary, may be less than the experience of their own summary, really embarrassed.
I'm going to design this:
ID Product name Product ID model color Price inventory quantity
ID pro_name pro_id pro_type pro_color pro_price pro_num
1 Kids Summer 0 kids_001 Red 95 100
2 1 Blue 98 100
3 1 Purple 92
Storing tree-structured data in a database is a very common requirement, typically such as the Forum system's section relationship. In the traditional relational database, a variety of solutions have been created.
In this paper, the storage tree structure data is used as the requirement, and several design patterns are described, which use relational
The structure of a database (such as tables, relationships, views, and triggers) is called a database schema . You can use SQL statements to create these elements and arrange them in the way you want, but it can be confusing if you don't use graphical tools.
PowerDesigner provides a graphical representation of the structure of a database. You can better modify th
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.