外部表及oracle数据库内存

create table alert
1 (log varchar2(1000))
2 organization external
3 (type oracle_loader
4 default directory alert
5 access parameters
6 (records delimited by newline)
7 location ('alert_PROD.log'))
8 reject limit unlimited;

外部表
create  directory alert as '/u01/oracle/diag/rdbms/orcl/orcl/trace';


不确定具体影响啥
grant read,write on directory alert to jw_user;

create table alert
(log varchar2(1000))
organization external
(type oracle_loader
default directory alert
access parameters
(records delimited by newline)
location ('alert_orcl.log'))
reject limit unlimited;

查看报错信息
select * from alert where log like '%ORA-%'; s's's
 
数据库内存参数
参考网站:http://blog.csdn.net/xiaoyankevin/article/details/54177668

备注:随笔中内容来源于网上资料整理,仅供参考。

posted @ 2017-12-19 18:55  Alanf  阅读(237)  评论(0编辑  收藏  举报