In a database system having a primary server side (10) and a secondary
server side (30), a high availability data replicator (26, 46) transfers
log entries from the primary side (10) to the secondary side (30) and
replays the transferred log entries to synchronize the secondary side
(30) with the primary side (10). R-tree index transfer threads (54, 56)
copy user-defined routines, the user defined index, and index databases
deployed on the primary server side (10) to the secondary server side
(30) and deploy the copied user-defined routines, reconstruct the
user-defined index, and copy data pages on the secondary side (30) to
make the user-defined index consistent and usable on the secondary side
(30).