易截截图软件、单文件、免安装、纯绿色、仅160KB

ORACLE体系结构 实例

ORACLE实例有系统全局区(SGA)和一些后台进程组成.
系统全局区(SGA)有共享池(shared pool),数据库高速缓冲区(database buffer cache),重做日志缓冲区(redo log buffer).共享池又有库高速缓存(library cache)和数据字典高速缓存(dictionary cache)组成。
ORACLE 实例5个必需的后台进程:SMON,PMON,DBWR,LGWR,CKPT,少一个实例就自动关闭.


相关文档:

Oracle 高速批量速插入数据 解决方案

最近做短信群发项目有一个需求,需要客户大批量(十万级)导入数据.
开始是用insert单条数据,10万条数据要20分钟
后来发现可以用insert all 一条sql一次导入500条记录,这样10万条数据只用了1.5分钟,导入速度提高了近来20倍
下面就使用insert all的心得体会记录如下.
使用方法:
insert all into table_name(col_1,col_2) v ......

oracle启动问题一般解决方法

oracle启动问题
一:数据库没有启动
#sqlplus /nolog
sql>connect /as sysdba
sql>startup
 
二:监听出问题
登录DB服务器
使用lsnrctl start/stop开启/关闭监听
使用lsnrctl status查看状态
理应为:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ERPAP)(PORT=1521)))
STATUS of the ......

Oracle中的数组

2010-04-21 14:04
oracle中构造数组的例子:
declare
type t_varray is varray(4) of number;
arr t_varray;
begin
arr := t_varray(1,2,3,4);
for i in 1..arr.count loop
    dbms_output.put_line(arr(i));
end loop;
end;
    构造二维数组的例子:
declare
type t_varray ......

数据库oracle for update of 和for update的区别

select * from TTable1 for update 锁定表的所有行,只能读不能写
 
2  select * from TTable1 where pkid = 1 for update 只锁定pkid=1的行
3  select * from Table1 a join Table2 b on a.pkid=b.pkid for update 锁定两个表的所有记录
 
4 select * from Table1 a join Table2 b on a.pki ......

oracle服务硬件升级 调整参数

author:skate
time:2010-05-13
1)If memory increases and you're 64-bit,  e.g  8G to 16G,  Oracle SGA and related parameters need adjust; So are some the Unix kernel parameters.
2)As for CPU related configuration,  some  parameters, based on CPU_co ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号