1 / 54
文档名称:

达梦数据库数据字典设计与实现.pdf

格式:pdf   页数:54
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

达梦数据库数据字典设计与实现.pdf

上传人:coconut 2014/3/17 文件大小:0 KB

下载得到文件列表

达梦数据库数据字典设计与实现.pdf

文档介绍

文档介绍:华中科技大学
硕士学位论文
达梦数据库数据字典设计与实现
姓名:张远
申请学位级别:硕士
专业:计算机软件与理论
指导教师:周英飚
2011-01-19
华中科技大学硕士学位论文
摘要
数据字典是数据库管理系统的重要组成部分。数据字典记录数据库的元数据信
息,它并不保存数据库实际的数据,而是保存管理这些实际数据的信息。任何一个
优秀的数据库管理系统,它必定也包含数据字典信息。数据库管理员和数据库用户
通过数据字典可以很方便的获得数据库中的任何表或列的相关信息,而不需要访问
实际的数据库数据。如果没有数据字典信息,数据库管理系统将无法访问数据库数
据。因此,数据字典显得尤为重要。
在数据库运行期间,数据库要核对用户访问权限和数据库对象的状态,因此会
经常性地访问数据字典。当数据库管理系统改变数据库结构、审计信息和权限信息
时,也要更新相应的数据字典信息。因此,将数据字典信息保存在高速缓存中,并
且设计出一个二级缓存模型,以保证数据库高效地访问数据字典信息。
在多用户环境下,保证每一个数据库用户访问正确的数据是一个严峻的考验。
并发控制是管理数据字典共享缓存的一个关键部分。深入研究了数据字典缓存的并
发控制,并设计出一套基于锁的并发控制机制,提高了并发度。

关键词: 数据库,数据字典,缓存,并发控制
I
华中科技大学硕士学位论文
Abstract
A data dictionary is an important part of a database, which holds information about the
meta-data of the database. Data dictionaries do not contain any actual data from the
database, only bookkeeping information for managing it. Any well-designed database will
surely include a data dictionary, it provides database administrators and other users, easy
access to the type of data that they should expect to see in every table, row and column of
the database, without actually accessing the a data dictionary, however, a
database management system cannot access data from the database. a data dictionary
es a crucial necessity.
DBMS constantly accesses the data dictionary during database operation to validate
user access and to verify the state of schema objects. DBMS also updates the data
dictionary continuously to reflect changes in database structures, auditing, grants, and
, all data dictionary information is stored in CACHE. In this paper, we
desigin a secondary cache model to access the data dictionary with high performance.
Since a database is meant to be built and used by multiple users, making sure that
everyone is aware of what types of data each field will accept es a challenge,
especially when there is a lack of consistency when assigning data types to fields. A data
dictionary is a