---问题描述
几个存过,比对丢失的充值卡,都是几亿的表,在不同的数据库,存储过程用DB_LINK实现比对,并且将丢失的数据插入表种,写了几个存过,执行了十几天,用shell脚本实现存过后台执行
---shell脚本
--money_test1 为存储过程名字
sqlplus username/password@ORA01 <<EOF;
set echo off;
set serveroutput on;
set timing on;
exec money_test1;
commit;
exit;
nohup sh migr.sh &