Jd/Replicate

From J Wiki
Jump to navigation Jump to search
Jd | Overview | General | Docs | Ops | Admin | Server | Replicate | Guide | Technical | Release | License | Support

An application can require a DB to be available for quick updates and slow queries would interfere with this. A solution is to replicate the DB for queries.

Run tutorial for more info:

   jdrt'replicate'

The rlog arg is the folder that holds info from the src DB required to replicate the DB in the snk DB.

jdrepinfo

jdrepinfo

report db rep status

jdrepkill

jdrepkill

stops db (either src or snk) use of rlog folder

jdrepsrc

jdrepsrc_jd_ rlog

initializes rlog folder with copy of db and sets up for logging new change ops

jdrepsnk

jdrepsnk_jd_ rlog

db ops first update as required from rlog file updates db from folder