Casually say:
1, I think it is best not to use a system on a database, the business application and system database separation, such as exception handling, the program error log records are built in a separate database. Ease of management to make the structure clear, while controlling the volume of a single database t
inconvenient to ask the administrator to assign the system operation permissions to the employees. Therefore, the concept of "group" is put forward in the system, the people who have the same rights are programmed into the same group, and then the group is assigned permissions.
The Rights management system should be extensible . It should be added to any system with rights management capabilities. Just as a component can be reused continuously, rather than developing a set of management system
1. Design investigation Option processing- time to use Hibernate to assign values to objects 1) Add the order-by attribute in the 2) because the option of the problem is saved in the database as a string (the option is separated by "\ r \ n"), the string is split before the problem option is displayed on the page. When should the execution time of the string split be better? (Video 16: Survey Management Sy
columns are dispensable. If the Oracle Database Administrator encounters this situation, I suggest creating another sub-table to save these columns. Then, the master table is associated with the sub-table by using the keyword. Storing data in two independent tables makes the design of the winner table easier and meets the needs of storing null values.
Requirement 2: duplicate values or columns should not e
text fields, more data can be stored on each page of the original data page ], and then stored in other tables
for example, contentdescription , TOC separate fields and place them in a separate table , the two fields are nvarchar (max) type
Vertical table shardingCodeExample:
---Separate large text fields
Select a. contentdescription, A. TOC, A. ID
Into book_detail
From book
---Delete the original large text field from the original table
Alter table book
Drop
Three major database design paradigms and three database paradigmsDatabase design paradigm
What is paradigm: Simply put, database design has a great relationship with data storage performance and data operations by developers. The
I'm here to introduce you to some of the most commonly used fields, such as int, float, double, decimal, varchar, char, date, DateTime, and eight commonly used types.
In the database design process we should be in line with the principle of sufficient, if blindly set the data field to the maximum or default value, will lead to a large amount of storage space waste. In the case of a particularly large amount
Design paradigm of relational databases and database design paradigm
1. 1NF)The first paradigm is the basis of the second and third paradigm and the most basic paradigm. databases that do not meet the first paradigm are not relational databases.Guiding principles of the first paradigm:1) Each attribute of a Data Group can only contain one value.2) Each array in
Label:To build a Web rights configuration system, you need the following five data tables: People table, grouping table, page table, table of contents, Operation permission table. The IDs used in each data table are the identity of the self-increment 1, and each data table is defined as follows:1.1 Personnel table (Operatorinfo)1.2 Grouping table (Operatorgroup)1.3 Page Table (PageInfo)1.4 Table of Contents (catalog)1.5 Permissions table (rightlist)1.6 Mapping relationshipsUser tables can be map
possible.2.4 Design2.4.1 ParadigmIf there is no performance necessary reason, should use the relational database theory, achieves the high paradigm, avoids the data redundancy, but if in the data quantity and the performance does not have the special request, considers the realization convenience to have the appropriate data redundancy, But basically to reach 3NF. If necessary, avoid the practice of storing multiple flags in a field. A value of 11101
After we have cleared up the object relationship, let's proceed to the design of the database. When modeling a database, the relationship between N and N is generally required to include an association table to indicate the relationship between the two. Preliminary estimate, this system needs at least 10 tables, namely: Permission table, user table, Role table, G
1. In the development of a system, must first do the overall system research
It is necessary to master the main functional modules of the application system;
2. According to the system function module's row to arrange the suitable personnel to go
Carry out detailed business process research work, need the researcher to put
The analysis of customer's daily business process arrangement
3. Design Database
4
Designing a database is actually a design table (multiple tables)Database Design 3 paradigm (3NF): Paradigm, the norm, refers to the principle that the design database needs to be followed.Each paradigm is used to specify a str
Implementation of design features:----does not have a business layer that calls DAO directly from the servlet, so there is no transactional operation, so get the connection object directly from the DAO----using MVC Design PatternsThe technology used in----。 MVC design Pattern, Jsp,servlet,pojo。 Database using MySQL。
After the project is published to the server, if the structure of the database changes at a later stage, how to update to the server?First, right click on the database and export the structure script fileCopy the script files and Mr.e.rar to the server, unzip the MR.E on the server, and run the "Update database structure. bat"Select the script file, select the
The process of database design
Database technology is the most effective means of information resource management. Database design refers to a given application environment, constructs the best database model, establishes the
Label:In terms of WinForm, based on the different business, we can use the efficiency of the tool, quickly do a lot of different business systems, a defect management system, want to put the unit Test business specifications, statistics and analysis of each version of the defect information, this chapter to collate these database design and interface design relat
Database Design Process and database Process
Get started with user requirements
Main functions of the software:
Because users are divided into average users, operators, and administrators. The first column is the administrator's function, the second column is the operator's function, and the third column is the general user's function.
Atitit. database-the difference between catalog and schema design and the actual use of obtaining all database tables in the database java jdbc p. atitit. database ----- differences between catalog and schema design and how to obt
Curriculum needs, the need to develop a talent referral system, so designed this database, only for learning.This project has built up 11 tables, namely user table T_user, User Role table t_role, User Rights table T _permission, role and permission relation table t_role_permission, Department table t_department, function table t_job, resume table t _resume, recruitment information Form t_recruit, recruitment process table t_recommend, talent pool t_ta
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.