- 浏览: 16094 次
- 性别:
- 来自: 成都
最新评论
文章列表
1.今天花了点时间看了下plsql的关联数组,可谓是几经波折啊,这个类型的格式要求非常的严格
我今天大半天的时间就花在这个格式的调整上,最后还是使用了plsql的美化器搞定.
SQL> set serveroutput on;
SQL>
SQL> declare
2 type emparr is table of scott.emp.job%type index by pls_integer;
3 arrname emparr;
4 l_currow pls_integer;
5 begin
6 for cur ...
[b]1.操作指南(摘自oracle在线帮助文档)
Step 1: Decide on Your Instance Identifier (SID)
Step 2: Establish the Database Administrator Authentication Method
Step 3: Create the Initialization Parameter File
Step 4: Connect to the Instance
Step 5: Create a Server Parameter File (Recommended)
Step 6: Start the Instanc ...
a.目标
1.定义表空间和数据文件,熟悉相关的脚本参数
2.创建表空间和管理表空间
3.使用OMF创建表空间
4.使用相关的视图查看表空间和数据文件的信息
b.数据库结构
1.一个数据库由多个表空间组成,一个表空间由多个segment(table,index and so on)组成,一个segment由多个extent组成,一个extent(不能跨多个数据文件)由逻辑上连续的oracle blocks组成。
c.表空间类型
1.一个数据库至少要有一个表空间(System),包含了数据字段,9i包含有撤销段
2.非系统表空间(permanent,undo,temporary)
d.表空间常用操作 ...
a.日志文件概要
1.Record all changes made to data
2.provide a recovery mechanism
3.can be organized into groups
4.at least two groups required
b.概念
1.同组的日志文件是完全一致的
2.LGWR
3.必须至少具有两组日志工作组合
4.log sequence numbers(lsn)
5.multiplexed redo log files 日志文件多路复用
6.log switch,日志的切换会触发检查点
7.checkpoint operation also o ...