Aix5.3下Oracle 10g设置归档模式到文件系统
新建文件系统
crfs -v jfs -g rootvg -m /arch -a \ size=32768 -a frag=512 -a nbpi=8192 也可以 smit。
开启归档模式
$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 10 13:38:57 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 5016387584 bytes
Fixed Size 2027744 bytes
Variable Size 922750752 bytes
Database Buffers 4076863488 bytes
Redo Buffers 14745600 bytes
Database mounted.
Database opened.
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 62
Current log sequence 64
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 5016387584 bytes
Fixed Size 2027744 bytes
Variable Size 922750752 bytes
Database Buffers 4076863488 bytes
Redo Buffers  
相关文档:
其实这个很简单就安装三个包就可以了,分别是:
IO-Tty-1.07.tar.gz,Term-ReadLine-Gnu-1.16.tar.gz, uniread-1.01.tar.gz。
这三个包在我的空间里都有 http://fwx515354.download.csdn.net/
解压
tar -zxvf IO-Tty-1.07.tar.gz
tar -zxvf Term- ......
第一种:
select b.* from
( select a.*, rownum row_num from
(select t.* from A05_ORGANIZATION t order by org_name_en asc) a
) b
where b.row_num between 1 and 5 order by b.row_num asc
第二种(更高效):
select b.* from
( select a.*, rown ......
在我的上一个银行项目中,我接到编写ORACLE存储过程的任务,我是程序员,脑袋里只有一些如何使用CALLABLE接口调用存储过程的经验,一时不知如何下手,我查阅了一些资料,通过实践发现编写ORACLE存储过程是非常不容易的工作,即使上路以后,调试和验证非常麻烦。简单地讲,Oracle存储过程就是存储在Oracle数据库中的一个程序 ......
select dbtimezone from dual ; --查看数据库时区
select sessiontimezone from dual ; --查看会话时区
1.select u.name || '.' || o.name || '.' || c.name TSLTZcolumn
from sys.obj$ o, sys.col$ c, sys.user$ u
&nbs ......