数据库迁移与粒子群优化算法技术研究
1. 数据库迁移相关技术
在数据库迁移领域,IBMS(Incremental Backup - Migration - Synchronization)算法是一种重要的解决方案。该算法旨在实现主数据库(Primary DB)和从数据库(Secondary DB)的同步。
IBMS算法伪代码及步骤 :
Algorithm:
IBMS
Input: Lowest System Change Number (SCN).
Output: Primary DB and Secondary DB gets in sync.
Step 1:
Start
Step 2:
In Secondary DB: Cancel (MRP);
Step 3:
In Secondary DB: i=Get min(checkpoint_Change#) from v$datafile_header;
Step 4:
In Primary DB: b=Trigger (RMAN incremental backup between (scn=i) and Current SCN;
Step 5:
t=1;
Step 6:
while (t)
Step 7:
if (Primary: total datafiles == Secondary:total datafiles)
Step 8:
In Secondary DB: Catalog(b);
Step 9:
In Secondary DB: recover (DB) noredo;
Step 10:
t = 0
超级会员免费看
订阅专栏 解锁全文
30

被折叠的 条评论
为什么被折叠?



