OracleÓÃÓαê·Ö½âºÅÂë´ÎÊý
drop table tb_wjf_xh_dg100_50_tmp4 purge;
create table tb_wjf_xh_dg100_50_tmp4
(
servnumber varchar(11)
)
;
declare
vv_cusor_servnumber varchar2(32);
vv_cusor_lost_cnt integer;
vv_servnumber_tmp varchar2(32);
vv_lost_cnt_tmp integer;
cursor v_cursor is
select servnumber,lost_cnt from tb_wjf_xh_dg100_50_tmp3;
begin
open v_cursor;
loop
fetch v_cursor into vv_cusor_servnumber, vv_cusor_lost_cnt;
exit when v_cursor%notfound;
vv_servnumber_tmp := vv_cusor_servnumber;
vv_lost_cnt_tmp := vv_cusor_lost_cnt;
while(vv_lost_cnt_tmp > 0) loop
insert into tb_wjf_xh_dg100_50_tmp4 values(vv_servnumber_tmp);
commit;
vv_lost_cnt_tmp := vv_lost_cnt_tmp-1;
end loop;
end loop;
close v_cursor;
end;
/
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
server A: 10.85.10.44 SID=orcl
target server B: 10.85.10.43
oracle version:10.2.0.1
OS platform : windows XP
Data GuardĬÈÏÊÇmaximize performance£¬ ¿ÉÒÔÓÃÒÔÏÂÓï¾äÀ´½øÐÐģʽ¼äµÄÇл»¡£
ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE {PROTECTION | AV ......
½ñÌìÔÚÍøÉÏ¿´µ½Ò»Æª¹ØÓÚBLOCK CLEANOUT²»´íµÄÎÄÕ£¬ËäÈ»ÀïÃæµÄÓиö±ðµØ·½±È½ÏÄѶ®£¬¿É»¹ÊÇÏÈת¹ýÀ´£¬µÈÒԺ󶮵öàһЩÁË×Ô¼ºÒ²×ö×öʵÑé²Ù×÷²Ù×÷¡£
=========================================================
Oracle £¨block cleanout£©
CleanoutÓÐ2ÖÖ£¬Ò»ÖÖÊÇfast commit cleanout,ÁíÒ»ÖÖÊÇdelayed block cleanout.
......
ÄúÈç¹ûÊìϤOracleÊý¾Ý¿â£¬ÎÒÏëÄú¶ÔThomas KyteµÄ´óÃûÒ»¶¨²»»áÄ°Éú¡£TomasÖ÷³ÖµÄasktom.oracle.comÍøÕ¾ÏíÓþOracle½çÊýÊ®Ä꣬¾ø·ÇÐÒÖ¡£×î½üÔÚͼÊé¹Ý½èµ½ÕâλOracle¾ø¶¥¸ßÊÖ±àÖøµÄ¡¶Expert Oracle Database Architecture-9i and 10g programming Techniques and Solutions¡·£¬·ÔÄ֮ϣ¬¹ûȻʢÃûÎÞÐ飬ËäȻ˵²»ÉÏ×Ö×ÖÖéçᣬµ« ......
1¡¢´¥·¢Æ÷µÄ¸ÅÄî
´¥·¢Æ÷Ò²ÊÇÒ»ÖÖ´øÃûµÄPL/SQL¿é¡£´¥·¢Æ÷ÀàËÆÓÚ¹ý³ÌºÍº¯Êý£¬ÒòΪËüÃǶ¼ÊÇÓµÓÐÉùÃ÷¡¢Ö´ÐкÍÒì³£´¦Àí¹ý³ÌµÄ´øÃûPL/SQL¿é¡£Óë°üÀàËÆ£¬´¥·¢Æ÷±ØÐë´æ´¢ÔÚÊý¾Ý¿âÖв¢ÇÒ²»Äܱ»¿é½øÐб¾µØ»¯ÉùÃ÷¡£
¶ÔÓÚ´¥·¢Æ÷¶øÑÔ£¬µ±´¥·¢Ê¼þ·¢ÉúµÄʱºò¾Í»áÏÔʽµØÖ´Ðиô¥·¢Æ÷£¬²¢ÇÒ´¥·¢Æ÷²»½ÓÊܲÎÊý¡£
´´½¨´¥·¢Æ÷µÄÓï·¨È ......