通过GoldenGate实现oracle到mysql的实施复制1.oracle端配置oracle 打开归档日志SQL>alter database add supplemental log data;SQL>create user test identified by test;SQL>grant dba to test;2.mysql端配置$mysql -uroot -pmysql>grant all privileges on *.* to test@localhost identified by 'tes...【阅读全文】
Oracle 查看自带的Job,可以使用select * from Dba_Scheduler_Jobs;10G中,GATHER_STATS_JOB这个自动任务默认情况下在工作日22:00-6:00和周末全天开启。http://www.eygle.com/archives/2009/09/gather_stats_job.htmlGATHER_STATS_JOB是10g开始引入的自动统计数据收集功能的重要组成部分,但是这个定时任务带来的问题...【阅读全文】
并不是用了绑定变量就一定都会游标共享,下面我们介绍的就是一种例子。BIND_MISMATCH导致VERSION COUNT过多的原因解释:This is due to the bind buffer mismatch of the current child cursor. If oracle is unable to bind the current value to the existing child cursors bind buffer, oracle upg...【阅读全文】
1.无参数create or replace procedure insertTbisbegininsert into tb values('hongda',10);commit;endcall insertTb();2.有参数create or replace procedure insertTb2(country in varchar2 ,people in number)isbegininsert into tb values(country,people);commit;end insertTb2; call insertTb...【阅读全文】
现象:1.数据库无法连接,报ora-00020:maximum number of processes(1000) exceeded2.adump目录满,造成/oracle目录满,无法shutdown/startup数据库处理:1.mv adump adump_bak mkdir adump2.由于数据库无法连接,通知项目人员停止某一应用程序3.连接到数据库发现某一DATACOL...【阅读全文】