search
HomeDatabaseMysql Tutorial数据库设计说明书

数据库设计说明书

Jun 07, 2016 pm 03:28 PM
databasestructuredesignillustrate

数据库设计主要是说明一些数据库的结构和设计,主要是给公司内部所有人员,公司内部部门,项目组,指定人员看的。 下面是我写的关于数据库设计的文档。 1引言...2 1.1编写目的...2 1.2背景...2 1.3定义...2 1.4参考资料...2 2外部设计...2 2.1标识符和状态..

数据库设计主要是说明一些数据库的结构和设计,主要是给公司内部所有人员,公司内部部门,项目组,指定人员看的。

下面是我写的关于数据库设计的文档。

1引言...2

1.1编写目的...2

1.2背景...2

1.3定义...2

1.4参考资料...2

2外部设计...2

2.1标识符和状态...2

2.2使用它的程序...3

2.3约定...3

2.4专门指导...3

2.5支持软件...3

3结构设计...3

3.1概念结构设计...3

3.2逻辑结构设计...3

3.3物理结构设计...4

4运用设计...4

4.1数据字典设计...4

4.2安全保密设计...4


数据库设计说明书(GB8567——88)

1引言

目前,在大多数学校里,公用的计算机机房的主要作用是安排学生的课堂学习,即安照教材和老师的安排进行学习,在课堂上没有学生自由发挥的时间。学生们的主观能动性和知识面受到很大的限制,往往是老师布置的会做,在一些实际的问题面前没有解决问题的思路而变的无计可施。计算机课程的学习是一种实践为主的学习,书本的知识必须借助实践来消化吸收,只有多上机多实践才能提高学习的效率。所以急需一套机房收费系统来高效率的管理机房里学生上机收费。该系统软件非常容易接受,它具有简单易学性,便于管理,安装简单,占用系统资源少等功能。

1.1编写目的

如今,社会已经到了一个科学技术高速发展的阶段,学校机房为了适应自身的发展要求。从具体的业务与项目的服务出发,需要更大程度的提高工作效率,减轻老师的工作强度,事实上需要一个综合的收费管理系统来对机房上机收费进行简单、便捷的管理。从而达到节约时间,提高效率,方便准确快捷的目的,同时也为自身的发展提供一个广阔的平台。在这种情况下,机房收费系统就成了一个客观需要,这份可行性报告是对机房收费系统的可行性研究分析及指出其存在的必要性。它的预期的读者是做需求分析的软件分析员、客户、维护工作人员等。

1.2背景

现代社会的校园网络环境,已经大大发生了变化,除了个人笔记本电脑,各种计算机、语音实验室机房也成为了使用频率颇高的场所,我们不能仅仅把它理解为提供上机的环境,而是应该完善此处的各种相关工作,如考勤,收费等,同时最大限度的降低机房的运营成本,提高使用率。通过建设“机房管理系统”,运用先进的技术手段和设备,满足以上应用需求。

机房管理系统是一个功能比较完善的数据管理软件,具有数据操作方便高效迅速等优点,具有很好的可移植性,可在WINDOWS系列等操作系统上使用。

说明:

A. 所建议开发的软件系统的名称:机房管理系统2.0

B. 本项目的任务提出者:米老师

开发者:邱慕夏

用户:廊坊师范学院信息技术提高班

实现该软件的计算中心或计算机网络:个人笔记本电脑

C. 该软件系统同其他系统或其他机构的基本的相互来往关系:可访问学生学籍系统的数据库

1.3定义

1.4参考资料

列出有关的参考资料,如:

A、《项目开发建议书》

B、学生管理系统

C、软件工程视频

D、SQL浙大视频

E、《需求分析说明书》

F、《概要设计说明书》

2外部设计

2.1标识符和状态

联系用途,详细说明用于唯一地标识该数据库的代码、名称或标识符,附加的描述性信息亦要给出。如果该数据库属于尚在实验中、尚在测试中或是暂时使用的,则要说明这一特点及其有效时间范围。

表名称

标识符

描述信息

使用状态

基本信息

BasicDaa_info

使用

退卡信息表

CancelCard_info

使用

日结账单表

CheckDay_info

使用

周结账单表

CheckWeek_info

使用

上机记录表

Line_info

使用

正在上机表

Online_info

使用

工作表

OnWork_info

使用

充值表

ReCharge_info

使用

学生信息表

Student_info

使用

用户表

User_info

使用

工作记录表

Worklog_info

使用

2.2使用它的程序

列出将要使用或访问此数据库的所有应用程序,对于这些应用程序的每一个,给出它的名称和版本号。

时间

名称

版本号

2013/12之前

机房收费系统

1.0

2013/12之后

机房收费系统

2.0

2.3约定

陈述一个程序员或一个系统分析员为了能使用此数据库而需要了解的建立标号、标识的约定,例如用于标识数据库的不同版本的约定和用于标识库内各个文卷、、记录、数据项的命名约定等。

A、数据库对象命名约定:

(1) 表名均以“_info”结尾

(2) 视图均以“V_”开头

(3) 存储过程均已“p_”开头,

B、 相关表明、字段名、的英文简写约定

(1) 有英文单词组合而成,且没单词首字母加下横杆。

2.4专门指导

向准备从事此数据库的生成、从事此数据库的测试、维护人员提供专门的指导,例如将被送入数据库的数据的格式和标准、送入数据库的操作规程和步骤,用于产生、修改、更新或使用这些数据文卷的操作指导。如果这些指导的内容篇幅很长,列出可参阅的文件资料的名称和章条。

2.5支持软件

简单介绍同此数据库直接有关的支持软件,如数据库管理系统、存储定位程序和用于装入、生成、修改、更新数据库的程序等。说明这些软件的名称、版本号和主要功能特性,如所用数据模型的类型、允许 的数据容量等。列出这些支持软件的技术文件的标题、编号及来源。

软件名称

版本号

功能

操作系统

WindowXP window7

操作系统

机房收费系统

2.0

可以直接对数据库进行修改

SQL Server 2008

存储数据

3结构设计

3.1概念结构设计

说明本数据库将反映的现实世界中的实体、属性和它们之间的关系等的原始数据形式,包括各数据项、记录、系、文卷的标识符、定义、类型、度量单位和值域,建立本数据库的每一幅用户视图。

基本数据:

\

喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+zcu/qNDFz6KjujwvcD4KPHA+PC9wPgo8cD7I1b3h1cu1paO6PC9wPgo8cD48L3A+CjxwPtbcveHVy7Wlo7o8L3A+CjxwPjwvcD4KPHA+yc+7+rzHwryjujwvcD4KPHA+PC9wPgo8cD7V/dTayc+7+tGnyfqjujwvcD4KPHA+PC9wPgo8cD7V/dTauaTX97zHwryjujwvcD4KPHA+PC9wPgo8cD6z5CYjMjA1NDA7vMfCvKO6PC9wPgo8cD48L3A+CjxwPtGnyfrRp7yuse2jujwvcD4KPHA+PC9wPgo8cD7Tw7unse2jujwvcD4KPHA+PC9wPgo8cD65pNf3vMfCvLHto7o8L3A+CjxwPjwvcD4KPGgyPjMuMsLfvK294bm5yei8xjwvaDI+CjxwPsu1w/ew0cnPyvbUrcq8yv2+3b340NC31r3ioaK6z7KiuvPW2NDC1+nWr8bwwLS1xMr9vt2/4sirvtbC37ytveG5uaOssPzAqMv5yLe2qLXEudi8/NfWus3K9NDUoaLW2NDCyLe2qLXEvMfCvL3hubm6zc7Evu294bm5oaLL+b2owaK1xLj3uPbOxL7t1q685LXEz+C7pbnYz7WjrNDOs8mxvsr9vt2/4rXEyv2+3b/iudzA7dSxytPNvKGjPC9wPgo8cD5FLVLNvDwvcD4KPHA+Cjx0YWJsZSBjZWxscGFkZGluZz0="0" cellspacing="0" align="left"> \


3.3物理结构设计

建立系统程序员视图,包括:

a. 数据在内存中的安排,包括对索引区、缓冲区的设计;

b. 所使用的外存设备及外存空间的组织,包括索引区、数据块的组织与划分;

c. 访问数据的方式方法。

数据表关系图

4运用设计

4.1数据字典设计

对数据库设计中涉及到的各种项目,如数据项、记录、系、文卷、模式、子模式等一般要建立起数据字典,以说明它们的标识符、同义名及有关信息。在本节中要说明对此数据字典设计的基本考虑。

(这里是具体些的每一个表中的字段、属性等)

4.2安全保密设计

说明在数据库的设计中,将如何通过区分不同的访问者、不同的访问类型和不同的数据对象,进行分别对待而获得的数据库安全保密的设计考虑。


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Explain the InnoDB Buffer Pool and its importance for performance.Explain the InnoDB Buffer Pool and its importance for performance.Apr 19, 2025 am 12:24 AM

InnoDBBufferPool reduces disk I/O by caching data and indexing pages, improving database performance. Its working principle includes: 1. Data reading: Read data from BufferPool; 2. Data writing: After modifying the data, write to BufferPool and refresh it to disk regularly; 3. Cache management: Use the LRU algorithm to manage cache pages; 4. Reading mechanism: Load adjacent data pages in advance. By sizing the BufferPool and using multiple instances, database performance can be optimized.

MySQL vs. Other Programming Languages: A ComparisonMySQL vs. Other Programming Languages: A ComparisonApr 19, 2025 am 12:22 AM

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages ​​such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages ​​have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

Learning MySQL: A Step-by-Step Guide for New UsersLearning MySQL: A Step-by-Step Guide for New UsersApr 19, 2025 am 12:19 AM

MySQL is worth learning because it is a powerful open source database management system suitable for data storage, management and analysis. 1) MySQL is a relational database that uses SQL to operate data and is suitable for structured data management. 2) The SQL language is the key to interacting with MySQL and supports CRUD operations. 3) The working principle of MySQL includes client/server architecture, storage engine and query optimizer. 4) Basic usage includes creating databases and tables, and advanced usage involves joining tables using JOIN. 5) Common errors include syntax errors and permission issues, and debugging skills include checking syntax and using EXPLAIN commands. 6) Performance optimization involves the use of indexes, optimization of SQL statements and regular maintenance of databases.

MySQL: Essential Skills for Beginners to MasterMySQL: Essential Skills for Beginners to MasterApr 18, 2025 am 12:24 AM

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL: Structured Data and Relational DatabasesMySQL: Structured Data and Relational DatabasesApr 18, 2025 am 12:22 AM

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL: Key Features and Capabilities ExplainedMySQL: Key Features and Capabilities ExplainedApr 18, 2025 am 12:17 AM

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

The Purpose of SQL: Interacting with MySQL DatabasesThe Purpose of SQL: Interacting with MySQL DatabasesApr 18, 2025 am 12:12 AM

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

MySQL for Beginners: Getting Started with Database ManagementMySQL for Beginners: Getting Started with Database ManagementApr 18, 2025 am 12:10 AM

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.