{"id":320,"date":"2010-11-15T16:17:16","date_gmt":"2010-11-15T07:17:16","guid":{"rendered":"http:\/\/www.climb.co.jp\/blog_dbmoto\/?p=320"},"modified":"2024-05-09T18:51:04","modified_gmt":"2024-05-09T09:51:04","slug":"oracle-log-miner-%e3%81%a8-redo-log%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%90%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%83%ac%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/320","title":{"rendered":"Oracle Log Miner \u3068 Redo Log\u306b\u3064\u3044\u3066\u3010\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30ebDBMoto\u3011"},"content":{"rendered":"<p>Oracle \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u307e\u305f\u306f\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u4e2d\u306bDBMoto \u306f<br \/>Oracle Redo \u30ed\u30b0\u3067\u8a18\u9332\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306e\u5909\u66f4\u3092\u8b58\u5225\u3059\u308b\u305f\u3081\u306bOracle<br \/>LogMiner \u7d4c\u7531\u3067Oracle \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u30ea\u30fc\u30c9\u3057\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u306aredo<br \/>\u30ed\u30b0\u306f\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u305f\u3081\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u8aad\u307f\u51fa\u3059\u305f\u3081\u306b\u305d\u308c\u305e\u308c\u306e\u30df\u30e9\u30fc\u30ea<br \/>\u30f3\u30b0\u30fb\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u30aa\u30fc\u30d7\u30f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306bDBMoto \u306f\u30a2\u30fc\u30ab\u30a4\u30d6\u30fb\u30ed\u30b0\u3092\u30ed\u30fc<br \/>\u30c9\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>Oracle \u304c\u5de1\u56de\u65b9\u5f0f\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u30ed\u30b0\u3057\u3001\u305d\u308c\u306f\u9806\u756a\u306bredo \u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u306b\u4f7f<br \/>\u7528\u3055\u308c\u307e\u3059\u3002\u73fe\u72b6\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u6700\u5927\u5024\u306b\u5c4a\u3044\u305f\u6642\u3001Oracle \u306f\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30a4\u30f3\u30a2\u30af\u30c6\u30a3\u30d6<br \/>\u306b\u8a2d\u5b9a\u3057\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u3078\u66f8\u304d\u8fbc\u307f\u3092\u7d9a\u3051\u307e\u3059\u3002\u3082\u3057\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u30c7\u30fc\u30bf\u3092\u542b\u3093\u3067\u3044\u308b\u6642<br \/>\u306f\u3001\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002\u3082\u3057\u3059\u3079\u3066\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30fb\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u304c\uff11DBMoto \u30ea\u30fc\u30c9\u3068\u6b21<br \/>\u30ea\u30fc\u30c9\uff08DBMoto \u3067\u8a2d\u5b9a\u3057\u305f\u30ea\u30fc\u30c9\u9593\u9694\uff09\u9593\u3067\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\uff08\u4f8b\uff1a\u305d\u308c\u305e\u308c\u3067\u6307\u5b9a\u3057\u305f<br \/>\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u8fbc\u307f\u9806\u5e8f\uff09\u3092\u5909\u66f4\u3055\u308c\u305f\u6642\u3001\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u306f\u5bb9\u91cf\u4e0d\u8db3\u304b\u3001\u30ed\u30b0\u3059\u308b<br \/>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u91cf\u3092\u518d\u8003\u3059\u308b\u304b\u3001\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u304c\u5c11\u306a\u3059\u304e\u308b\u304b\u3067\u3059\u3002<\/p>\n<p>\u901a\u5e38\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3068\u3057\u3066\u30ed\u30b0\u306e\u30b5\u30a4\u30ba\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u751f\u6210\u3055\u308c\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u6570\u3068<br \/>\u30ea\u30c6\u30f3\u30b7\u30e7\u30f3\u6642\u9593\u3092\u30d9\u30fc\u30b9\u306b\u8a08\u7b97\u3057\u307e\u3059\u3002\u4f8b\u3048\u307072 \u6642\u9593\u306e\u30ea\u30ab\u30d0\u30ea\u30fc\u3092\u78ba\u5b9f\u306b\u3057\u305f\u3044\u6642\u3001<br \/>3 \u65e5\u9593\u306b\u751f\u6210\u3055\u308c\u308b\u3059\u3079\u3066\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u542b\u3080\u30ed\u30b0\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>Oracle \u306e\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u306f\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u5897\u3084\u3059\u304b\u3001\u65b0\u305f\u306b\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd<br \/>\u52a0\u3059\u308b\u304b\u306e\u3069\u3061\u3089\u304b\u3067\u30b5\u30a4\u30ba\u5909\u66f4\u304c\u53ef\u80fd\u3067\u3059\u3002\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u5bfe\u5fdc\u304c\u96e3\u3057\u3044\u91cf<br \/>\uff08\u4f8b\uff1a100MB \u4ee5\u4e0a\uff09\u306b\u5897\u52a0\u3055\u305b\u308b\u3088\u308a\u4e2d\u898f\u6a21\u306a\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u3066\u304f<br \/>\u3060\u3055\u3044\u3002\u3082\u3057\u3053\u306e\u65b9\u6cd5\u3067\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u6210\u3057\u3001DBMoto \u3092\u7d76\u3048\u305a\u7a3c\u52d5\u3055\u305b\u3066\u3001\u30ec\u30d7\u30ea<br \/>\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u30fb\u30ed\u30b0\u306e\u30aa\u30fc\u30d7\u30f3\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002\u8a73\u3057\u3044\u3053\u3068<br \/>\u306fOracle \u306eDBA \u3068\u76f8\u8ac7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3082\u3057\u3001\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u304c\u4e00\u676f\u306b\u306a\u308b\u304b\u3001\u4e0a\u66f8\u304d\u3092\u59cb\u3081\u308b\u3053\u3068\u3092\u8a31\u3057\u3066\u3044\u308b\u5834\u5408\u306bDBMoto<br \/>\u306f\u30d7\u30ed\u30bb\u30b9\u3059\u308b\u6b21\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u898b\u3064\u3051\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u308c\u304c\u767a\u751f\u3057\u305f\u6642\u306f\u3001<br \/>\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3092\u518d\u5ea6\u59cb\u3081\u308b\u524d\u306b\u30d5\u30eb\u30fb\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u30fb\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>DBMoto \u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306aredo \u30ed\u30b0\u3092\u30ea\u30fc\u30c9\u3057\u305f\u6642\u3001LogMiner \u306f\u30ed\u30b0\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u305f\u6642\u306b<br \/>\u30d3\u30e5\u30fc\uff08view\uff09\u3092\u751f\u6210\u3057\u307e\u3059\u3002\uff08\u305d\u308c\u306f\u30d5\u30a3\u30b8\u30ab\u30eb\u306a\u30c6\u30fc\u30d6\u30eb\u3084\u5b9f\u969b\u306e\u30ed\u30b0\u306f\u30aa\u30fc\u30d7\u30f3\u3057<br \/>\u307e\u305b\u3093\u3002\uff09\u3053\u308c\u306fOracle \u306e\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u305b\u3093\u304c\u3001\u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u8981\u6c42<br \/>\u3092\u8d77\u3059\u305f\u3081\u3001Oracle \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3059\u3002\uff08\u7279\u306bLogMiner \u304c\u30aa\u30fc\u30d7\u30f3\u306e<br \/>\u305f\u3081\u306b\u30d3\u30e5\u30fc\u3092\u6e96\u5099\u3057\u305f\u6642\u306b\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u30fb\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6700\u521d\u306e\u30d5\u30a7\u30fc\u30ba\u306b\u304a\u3044\u3066\uff09<\/p>\n<p>DBMoto \u3067Oralce \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7528\u306e\u30bd\u30fc\u30b9\u63a5\u7d9a\u3092\u8a2d\u5b9a\u3057\u305f\u6642\u306b\u3001Oracle \u30b5\u30fc\u30d0\u306b\u306f\u4f55\u3082<br \/>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u305b\u3093\u3002\u3057\u304b\u3057DBMoto \u306f\u8a8d\u8a3c\u30ad\u30fc\u30fb\u30ed\u30ae\u30f3\u30b0\u7528\u306eSUPPLEMENTAL<br \/>LOGS \u304c\u53ef\u80fd\u306a\u3053\u3068\u3092\u8981\u6c42\u3057\u3001\u305d\u308c\u306fDBMoto \u63a5\u7d9a\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30aa\u30da\u30ec<br \/>\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u81ea\u52d5\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002SUPPLEMENTAL LOGS \u306fOracle \u30ed\u30b0\u306b\u5bfe\u3057\u3066\u3055\u3089\u306b<br \/>\u8a73\u7d30\u306a\u30ed\u30b0\u60c5\u5831\u3092\u8ffd\u52a0\u3057\u307e\u3059\u304c\u3001\u540c\u6642\u306b\u305d\u308c\u305e\u308c\u306eDML \u30b3\u30de\u30f3\u30c9\u3067\u3001redo \u30ed\u30b0\u306b\u66f8\u304d\u8fbc<br \/>\u3080\u8ffd\u52a0\u306e\u30c7\u30fc\u30bf\u3092\u8981\u6c42\u3059\u308b\u305f\u3081\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u4f4e\u4e0b\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>OracleDBA \u304c\u884c\u3046\u30ed\u30b0\u306e\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u306f\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30a2\u30a4\u30c9\u30eb\u6642\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb<br \/>\u3067\u5b9f\u884c\u304c\u5fc5\u8981\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u3082\u3057\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u304c\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30bb\u30b9\u4e2d\u306b\u524a\u9664\u3055<br \/>\u308c\u305f\u6642\u3001DBMoto \u306f\u30a8\u30e9\u30fc\u304b\u3089\u306e\u30ea\u30ab\u30d0\u30ea\u30fc\u304c\u53ef\u80fd\u3067\u3001\u6b21\u306e\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u30fb\u30bb\u30c3\u30b7\u30e7\u30f3\u306b<br \/>\u304a\u3044\u3066\u3001\u30c7\u30fc\u30bf\u3092\u5931\u3046\u3053\u3068\u306a\u304f\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7372\u5f97\u3067\u304d\u307e\u3059\u3002<br \/>\u65b0\u305f\u306a\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u30ed\u30b0\u3092\u30a2\u30af\u30bb\u30b9\u3057\u305f\u6642\u3001\u30a2\u30fc\u30ab\u30a4\u30d6redo \u30ed\u30b0<br \/>\u306b\u542b\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u30bd\u30fc\u30b9\u63a5\u7d9a\u306e\u300cConnection Properties\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u5229\u7528\u53ef\u80fd\u306a\u300cthe Setup Info\u300d<br \/>\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u300cRead Archived Logs\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u3082\u3057Oracle \u30c7\u30fc\u30bf<br \/>\u30d9\u30fc\u30b9\u304cARCHIVELOG \u30e2\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u3001\u3053\u306e\u624b\u6cd5\u306f\u6709\u52b9\u3067\u3059\u3002\u3082\u3057\u3001\u30c8<br \/>\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u30aa\u30f3\u30e9\u30a4\u30f3redo \u30ed\u30b0\u3067\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u6642\u306f\u3001DBMoto \u306f\u30a2\u30fc\u30ab\u30a4\u30d6<br \/>redo \u30ed\u30b0\u3092\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\uff11\uff0e Enterprise Manager \u30c4\u30ea\u30fc\u304b\u3089\u305d\u308c\u3092\u9078\u629e\u3057\u3066\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30a3\u30bb\u30a4\u30d6\u30eb<br \/>\uff08\u7121\u52b9\uff09\u306b\u3057\u3066\u3001\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u3092\u5916\u3059\u3088\u3046\u306bEnable Replication \u30e1\u30cb\u30e5\u30fc\u30fb\u30a2\u30a4\u30c6\u30e0\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff12\uff0e Enterprise Manager \u30c4\u30ea\u30fc\u306e\u30bd\u30fc\u30b9\u63a5\u7d9a\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\uff13\uff0e \u30de\u30a6\u30b9\u306e\u53f3\u30dc\u30bf\u30f3\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cConnection Properties\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\uff14\uff0e Connection Properties \u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089Transactional Support \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u30b9\u30af<br \/>\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\uff15\uff0e Transaction Log Type \u30d5\u30a3\u30fc\u30eb\u30c9\u7528\u306e\u5024\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff16\uff0e \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff17\uff0e Setup Info \u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u3001Read Archived Logs \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff18\uff0e Setup Info \u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u9078\u629e\u3057\u3001ok \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff19\uff0e Connection Properties \u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u9078\u629e\u3057\u3001ok \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\uff11\uff10\uff0e Enterprise Manager \u30c4\u30ea\u30fc\u3067\u305d\u308c\u3092\u9078\u629e\u3057\u3066\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53ef\u80fd\u306b\u3057\u3066\u3001<br \/>\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u304c\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306bEnable Replication \u30e1\u30cb\u30e5\u30fc\u30fb\u30a2\u30a4\u30c6\u30e0\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u3010\u539f\u6587\u3011<br \/>During mirroring or synchronization from an Oracle database, DBMoto reads<br \/>Oracle transactions through the Oracle LogMiner to identify changes in the<br \/>source database recorded in Oracle redo logs. All active redo logs are opened at<br \/>each mirroring session to retrieve transactions to replicate. Additionally, DBMoto<br \/>provides a setting to load archived logs.<br \/>Oracle logs its transactions in circular fashion, that is, it uses the redo log files in<br \/>sequence. When the current file reaches its maximum size, Oracle will set its<br \/>status to inactive and will keep writing to the next file. If the next file already<br \/>contains data, it could be overwritten. If all online log files have changed<br \/>sequence number (i.e. the writing sequence of each specific log file) in the period<br \/>between one DBMoto read and the next (Read Interval setting in DBMoto), the<br \/>log files may be underdimensioned, considering the amount of transactions to<br \/>log, or there may be too few log files.<br \/>As a general guideline, the size of the log should be based on the number of<br \/>transactions generated in the database and based on the retention time. For<br \/>example, if you want to be sure you can recover for 72 hours, you should define<br \/>your logs to contain all the transactions that can be generated in 3 days. Oracle<br \/>log files can be re-dimensioned by either increasing the log file size or by adding<br \/>new log files. You may want to consider creating more medium-size log files<br \/>rather than increasi<br \/>\nng log file size to a value that could make it difficult to handle<br \/>(i.e. not greater than 100MB.) If you organize your log files in this way, and if<br \/>you keep DBMoto constantly running and aligned with the replications you may<br \/>be able to avoid opening the archived logs. Contact your Oracle database<br \/>administrator for more information. Your DBA has the best understanding of your<br \/>Oracle environment.<br \/>If you allow the log files to fill up and begin overwriting, DBMoto may not be able<br \/>to locate the next transaction to process. If this occurs, you need to perform a<br \/>full refresh replication before resuming the mirroring.<br \/>When DBMoto reads the active redo logs, the LogMiner actually generates a view<br \/>when it opens the log (it does not open a physical table nor the log itself.) This<br \/>does not affect Oracle operations, but it can affect Oracle performance in general,<br \/>because it is making a demand on the server (especially in the initial phase of<br \/>the mirroring sessions, when the log miner prepares the view to open).<br \/>When creating a source connection for an Oracle database in DBMoto, nothing is<br \/>installed on the Oracle server. However, DBMoto requires that SUPPLEMENTAL<br \/>LOGS for identification key logging are enabled and this is performed<br \/>automatically during the Install operation from the DBMoto connection dialog.<br \/>Supplemental logs add more detailed logging information to the Oracle logs but<br \/>at the same time can degrade the server performance by requiring additional<br \/>data to be written into the redo logs for each DML command.<br \/>Log cleanup operations by your Oracle DBA should be performed at scheduled<br \/>times when replications are idle. If, however, a log file is removed while a<br \/>replication is in progress, DBMoto should be able to recover from the error and<br \/>pick up replication during the next mirroring session with no data loss.<br \/>Including Archived Redo Logs when Accessing Logs to Identify New<br \/>Transactions<br \/>Check the Read Archived Logs option in the Setup Info dialog available from the<br \/>Connection Properties dialog of the source connection. This approach is useful<br \/>only if your Oracle database uses ARCHIVELOG mode. It enables DBMoto to<br \/>search archived redo logs if transactions cannot be found in the online redo logs.<br \/>1. Disable the replication by selecting it in the Enterprise Manager tree, and<br \/>clicking the Enable Replication menu item to remove the checkmark.<br \/>2. Select the source connection in the Enterprise Manager tree.<br \/>3. From the right mouse button menu, choose Connection Properties.<br \/>4. In the Connection Properties dialog, scroll to the Transactional Support<br \/>section.<br \/>5. Click on the value for the Transaction Log Type field.<br \/>6. Click the ellipsis button.<br \/>7. In the Setup Info dialog, check the option Read Archived Logs.<br \/>8. Click OK to close the Setup Info dialog.<br \/>9. Click OK to close the Connection Properties dialog.<br \/>10.Enable the replication by selecting it in the Enterprise Manager tree, and<\/p>\n<p>clicking the Enable Replication menu item so that it displays a checkmark.<br \/>See Also<br \/>KB Article 1572 Errors in creating dictionary file in Oracle 8.1.7<br \/>KB Article 1584 &gt;Handling a Missing Transaction ID in the Oracle Redo Log<\/p>\n<p>http:\/\/www.hitsw.com\/support\/kbase\/DBMoto\/DBMoto_1641_OracleRedoLogExpl.htm<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u307e\u305f\u306f\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u4e2d\u306bDBMoto \u306fOracle Redo \u30ed\u30b0\u3067\u8a18\u9332\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306e\u5909\u66f4\u3092\u8b58\u5225\u3059\u308b\u305f\u3081\u306bOracleLogMiner \u7d4c\u7531\u3067Oracle &hellip; <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/320\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-syniti"],"_links":{"self":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/comments?post=320"}],"version-history":[{"count":1,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/320\/revisions"}],"predecessor-version":[{"id":7333,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/320\/revisions\/7333"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}