7.4.1 关系的元数据
��关系的元数据主要是指:
��⑴�关系的名字;
��⑵�每个关系的属性的名字;
��⑶�属性的域和长度;
��⑷�在数据库上定义的视图的名字和这些视图的定义;
��⑸�完整性约束(例如码的约束等);
��⑹�……
��
7.4.2 用户的元数据
��用户元数据主要包括:
��⑴�授权用户的名字;
��⑵�关于用户的帐户信息;
��⑶�……
7.4.3 统计数据和描述数据
��统计数据和描述数据主要是指:
��⑴�每个关系中记录的大小;
��⑵�每个关系中记录的总数;
��⑶�每个关系中记录所占用的存储空间,即物理块数;
��⑷�每个关系所使用的存储方法(如簇集与非簇集等);
��⑸�……
7.4.4 索引的元数据
��索引的元数据主要包括:
��⑴�索引的名字;
��⑵�被索引的关系的名字;
��⑶�在其上定义索引的属性;
��⑷�索引的类型;
��⑸�……
7.4.5 系统表
��上述信息,即数据字典在关系数据库中用类似下面的、被称之为系统表(System Tables)的关系来存放:
System-catalog-schema = (relation-name, number-of-attributes)
Attribute-schema = (attribute-name, relation-name, domain-type, position,
length)
User-schema = (user-name, password, group)
Index-schema = (index-name, relation-name, index-type, index-attributes)
View-schema = (view-name, definition)
�� |
|
|