Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2767227
  • 博文数量: 389
  • 博客积分: 4177
  • 博客等级: 上校
  • 技术积分: 4773
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-16 23:29
文章分类

全部博文(389)

分类: Oracle

2013-09-08 20:27:59

                                           1z052-09
永久表的主要类型:heap表,iot,分区表,cluser tables
表名不能是保留字,只能以字母开头.数字不行
当表被drop时,对应的index,tigger都被drop了
constrain表示数据库可以强制一定的规则或是保证数据满足实体关系图
一个constraint violation仅rollback整个语句,而不是整个事务.
constraint的类型:primary,unique,notnull,foreign,check
外健,on delete cascade,on delete set null
constraint的状态,enable validate,enable novalidate,disable validate,disable novalidate
default constraint都是immediate,在语句执行时检查,也可以放到事务提交时,
索引两个功能:强制主健或是唯一约束,提高性能
索引两种类型:b tree和bitmap
索引的选项:unqiue,reverse key,function,composite,compress,ascending/descending
bitmap没有unqiue,reverse,compress
temporary tables的两种属性 on commit delete/preserve rows
temporary table只存在用户pga和不产生redo.但是会产生undo
阅读(1759) | 评论(0) | 转发(0) |
0

上一篇:Exadata上ASM磁盘路径格式

下一篇:1z052-019

给主人留下些什么吧!~~