Database System - The Theory of Relational Database (1)
Possible problems in bad designs Data redundancy: 冗余数据。 Update anomaly: 更新时会涉及很多数据的更新,以防止数据不一致。 Insertion anomaly: TODO 插入时无法插入(?) Deletion anomaly: 删去时,将某些有用...
Possible problems in bad designs Data redundancy: 冗余数据。 Update anomaly: 更新时会涉及很多数据的更新,以防止数据不一致。 Insertion anomaly: TODO 插入时无法插入(?) Deletion anomaly: 删去时,将某些有用...
View A view is either a partial reference (i.e., not the whole table) to or a read-only view upon some table. Updatable view and read-only view If a view satisfy the following conditions, it’s u...
1.1 数据库基础 数据 数据是描述事物的符号记录。 数据库 数据库是长期存储在计算机内有组织,可共享的大量数据的集合。 数据库管理系统 数据库管理系统是基础软件。 数据库系统 数据库系统由 数据库及其管理系统,管理员 应用系统 组成。 数据库系统的基础与核心:数据模型。 数据库系统中数据的特点 结构化 共享性强 独立性强 统一由数据库...
Terminologies 短语: 句型中某非终结符通过不少于一步推导得出的字串。 简单短语: 句型中某非终结符通过一步推导得出的字串。 句柄: 句型中第一个简单短语。 求短语 法一:定义法 法二:用语法树 对于所有子树,把所有叶结点连起来,即为简单短语。 An exampl...
关系的两个不变性:实体完整性和参照完整性。 符号定义 <CONSTRAINT> (完整性约束命名子句): NOT NULL, CHECK(<EXPR>) <PROPERTY>: <KEY> <TYPE> [CONSTRAINT <CONSTRAINT_NAME> <CONSTRAINT>] ...
Encryption refers to the process of transforming data into a form that is unreadable, unless the reverse process of decryption is applied. Encryption algorithms use an en- cryption key to perform e...
自顶向下 的两个动作:匹配,推导(展开)。 从开始符出发,推导出给定的串。 Terminologies 导空:\(X\) 可导空意味着 \(X \Rightarrow^* \varepsilon\)。 FIRST set FIRST set (FIRST 集) 是由给定串能推导到的所有第一个终结符的集合。 Derive the FIRST se...
Grant privileges Syntax GRANT <OPERATION> ON <TABLE> TO <USER> [<USER1> <USER2> ...] [WITH GRANT OPTION]; <USER> 可为 PUBLIC,意为所有人。注意:使用 PUBLIC 授予权限,意味着未来创建...
Permissions: PTE_R allows page to be read. PTE_W allows page to be written. PTE_U allows page to be accessed by user. PTE_V left clear in unused PTEs, which seems to be VALID flag. Thing...
C -> Asm / processors Every processor has an associated instruction set architecture (ISA) C -> Asm (.S) -> .o files -> executables RISC-V & x86-64 x86-64 3 full books ...