Linux环境下的一个rman备份的实例脚本(转载)
转载自:http://hi.baidu.com/odba/blog/item/105a4e06a852f37a03088178.html背景:目标数据库192.168.1.172 Redhat Linux AS 3.0 Oracle 9.2.0.6 &nbs...
查看表空间使用情况
select t1.tablespace_name Tablespace_name,t1.Mbyte Size_Mbytes,t2.Mbyte Used_Mbytes,to_char((t1.Mbyte-t2.Mbyte)/t1.Mbyte*100,'09.99') Free_Percent from (select tablespace_name tablespace_name,sum(...
常用10个LINUX命令说明
LS命令-作用:显示目录内容,类似DOS下的DIR-格式:LS【options】【filename】-常用参数: >-a:all,不隐藏任何以"."字符开始的文件 >-l:使用较长的格式列出信息 >-r:按照文件名的逆序打印输...
外部表的建立实例
Step1:建立目录对象。要在数据库中访问 OS文件,就必须在数据库中建立指向该 OS文件的目录对象。然后通过该目录对象访问相应的 OS文件,即用目录对象存储 OS文件的保存位置。 Sql>create&...
创建管理JOB
1.创建过程:test_p2.创建JOB:testvariable test number;begindbms_job.submit(:test,'test_p;',sysdate,'trunc(SYSDATE)+8.5/24+1');--每早8:30执行一次commit;end;/3.运行JOB:begindbms_job.run(:test);end;/...
我的PB程序数据库升级程序
create or replace directory utllobdir as '/updates';create table bfile_tab (bfile_column BFILE);create table exe (blob_column BLOB);create table dll (blob_column BLOB);create table liveupdate(VER numb...