GGSCI (hxdevdb) 6> view report ex_tdas
………….略
Database Language and Character Set:
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "AL32UTF8"
2019-01-07 14:35:54 INFO OGG-03522 Setting session time zone to source database time zone 'GMT'.
2019-01-07 14:35:54 INFO OGG-06604 Database HXDEVDB CPU info: CPU Count 16, CPU Core Count 4, CPU Socket Count 0.
2019-01-07 14:35:59 INFO OGG-02248 Logmining server DDL filtering enabled.
Source Context :
SourceModule : [er.redo.oraxo]
SourceID : [/scratch/jkrath/view_storage/jkrath_oggaix123vw/oggcore/OpenSys/src/app/er/redo/oracle/redooraix.c]
SourceMethod : [REDOORAIX_abend_if_missing_logfile(ORAConnection &, char *)]
SourceLine : [8360]
2019-01-07 14:36:00 ERROR OGG-00868 Error code 1291, error message: ORA-01291: missing logfile
--丢失日志文件,到底丢失还是没丢失需要我们确认
(Missing Log File WAITING FOR REDO: FILE NA, THREAD 1, SEQUENCE 0, SCN 0x0000000000358097. Read Position SCN: 0.3506328 (3506328)).
2019-01-07 14:36:00 ERROR OGG-01668 PROCESS ABENDING.
查看数据库
SQL> show parameter keep_time
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_file_record_keep_time integer 7
--这个参数特别重要,需要大家脑补一下,要深刻理解,修改成31天,自己查命令吧。
SQL>
SQL> col name for a50
SQL> l
1* select name,sequence# from v$archived_log
SQL> /
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_62_995217010.dbf 62
/ora12data/arch/1_63_995217010.dbf 63
/ora12data/arch/1_64_995217010.dbf 64
/ora12data/arch/1_65_995217010.dbf 65
/ora12data/arch/1_66_995217010.dbf 66
/ora12data/arch/1_67_995217010.dbf 67
/ora12data/arch/1_68_995217010.dbf 68
/ora12data/arch/1_69_995217010.dbf 69
/ora12data/arch/1_70_995217010.dbf 70
/ora12data/arch/1_71_995217010.dbf 71
/ora12data/arch/1_72_995217010.dbf 72
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_73_995217010.dbf 73
/ora12data/arch/1_74_995217010.dbf 74
/ora12data/arch/1_75_995217010.dbf 75
/ora12data/arch/1_76_995217010.dbf 76
/ora12data/arch/1_77_995217010.dbf 77
/ora12data/arch/1_78_995217010.dbf 78
/ora12data/arch/1_79_995217010.dbf 79
/ora12data/arch/1_80_995217010.dbf 80
/ora12data/arch/1_81_995217010.dbf 81
/ora12data/arch/1_82_995217010.dbf 82
/ora12data/arch/1_83_995217010.dbf 83
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_84_995217010.dbf 84
/ora12data/arch/1_85_995217010.dbf 85
/ora12data/arch/1_86_995217010.dbf 86
/ora12data/arch/1_87_995217010.dbf 87
/ora12data/arch/1_88_995217010.dbf 88
/ora12data/arch/1_89_995217010.dbf 89
/ora12data/arch/1_90_995217010.dbf 90
/ora12data/arch/1_91_995217010.dbf 91
/ora12data/arch/1_92_995217010.dbf 92
/ora12data/arch/1_93_995217010.dbf 93
/ora12data/arch/1_94_995217010.dbf 94
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_95_995217010.dbf 95
/ora12data/arch/1_96_995217010.dbf 96
/ora12data/arch/1_97_995217010.dbf 97
/ora12data/arch/1_98_995217010.dbf 98
/ora12data/arch/1_99_995217010.dbf 99
/ora12data/arch/1_100_995217010.dbf 100
/ora12data/arch/1_101_995217010.dbf 101
/ora12data/arch/1_102_995217010.dbf 102
/ora12data/arch/1_103_995217010.dbf 103
/ora12data/arch/1_104_995217010.dbf 104
/ora12data/arch/1_105_995217010.dbf 105
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_106_995217010.dbf 106
/ora12data/arch/1_107_995217010.dbf 107
/ora12data/arch/1_108_995217010.dbf 108
/ora12data/arch/1_109_995217010.dbf 109
/ora12data/arch/1_110_995217010.dbf 110
/ora12data/arch/1_111_995217010.dbf 111
/ora12data/arch/1_112_995217010.dbf 112
/ora12data/arch/1_113_995217010.dbf 113
/ora12data/arch/1_114_995217010.dbf 114
/ora12data/arch/1_115_995217010.dbf 115
/ora12data/arch/1_116_995217010.dbf 116
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_117_995217010.dbf 117
/ora12data/arch/1_118_995217010.dbf 118
/ora12data/arch/1_119_995217010.dbf 119
/ora12data/arch/1_120_995217010.dbf 120
/ora12data/arch/1_121_995217010.dbf 121
/ora12data/arch/1_122_995217010.dbf 122
/ora12data/arch/1_123_995217010.dbf 123
/ora12data/arch/1_124_995217010.dbf 124
/ora12data/arch/1_125_995217010.dbf 125
/ora12data/arch/1_126_995217010.dbf 126
/ora12data/arch/1_127_995217010.dbf 127
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_128_995217010.dbf 128
/ora12data/arch/1_129_995217010.dbf 129
/ora12data/arch/1_130_995217010.dbf 130
/ora12data/arch/1_131_995217010.dbf 131
/ora12data/arch/1_132_995217010.dbf 132
/ora12data/arch/1_133_995217010.dbf 133
/ora12data/arch/1_134_995217010.dbf 134
/ora12data/arch/1_135_995217010.dbf 135
/ora12data/arch/1_136_995217010.dbf 136
/ora12data/arch/1_137_995217010.dbf 137
/ora12data/arch/1_138_995217010.dbf 138
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_139_995217010.dbf 139
/ora12data/arch/1_140_995217010.dbf 140
/ora12data/arch/1_141_995217010.dbf 141
/ora12data/arch/1_142_995217010.dbf 142
/ora12data/arch/1_143_995217010.dbf 143
/ora12data/arch/1_144_995217010.dbf 144
/ora12data/arch/1_145_995217010.dbf 145
/ora12data/arch/1_146_995217010.dbf 146
/ora12data/arch/1_147_995217010.dbf 147
/ora12data/arch/1_148_995217010.dbf 148
/ora12data/arch/1_149_995217010.dbf 149
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_150_995217010.dbf 150
/ora12data/arch/1_151_995217010.dbf 151
/ora12data/arch/1_152_995217010.dbf 152
/ora12data/arch/1_153_995217010.dbf 153
/ora12data/arch/1_154_995217010.dbf 154
/ora12data/arch/1_155_995217010.dbf 155
/ora12data/arch/1_156_995217010.dbf 156
/ora12data/arch/1_157_995217010.dbf 157
/ora12data/arch/1_158_995217010.dbf 158
/ora12data/arch/1_159_995217010.dbf 159
/ora12data/arch/1_160_995217010.dbf 160
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_161_995217010.dbf 161
/ora12data/arch/1_162_995217010.dbf 162
/ora12data/arch/1_163_995217010.dbf 163
/ora12data/arch/1_164_995217010.dbf 164
/ora12data/arch/1_165_995217010.dbf 165
/ora12data/arch/1_166_995217010.dbf 166
/ora12data/arch/1_167_995217010.dbf 167
/ora12data/arch/1_168_995217010.dbf 168
/ora12data/arch/1_169_995217010.dbf 169
/ora12data/arch/1_170_995217010.dbf 170
/ora12data/arch/1_171_995217010.dbf 171
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_172_995217010.dbf 172
/ora12data/arch/1_173_995217010.dbf 173
/ora12data/arch/1_174_995217010.dbf 174
/ora12data/arch/1_175_995217010.dbf 175
/ora12data/arch/1_176_995217010.dbf 176
/ora12data/arch/1_177_995217010.dbf 177
/ora12data/arch/1_178_995217010.dbf 178
/ora12data/arch/1_179_995217010.dbf 179
/ora12data/arch/1_180_995217010.dbf 180
/ora12data/arch/1_181_995217010.dbf 181
/ora12data/arch/1_182_995217010.dbf 182
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_183_995217010.dbf 183
/ora12data/arch/1_184_995217010.dbf 184
/ora12data/arch/1_185_995217010.dbf 185
/ora12data/arch/1_186_995217010.dbf 186
/ora12data/arch/1_187_995217010.dbf 187
/ora12data/arch/1_188_995217010.dbf 188
/ora12data/arch/1_189_995217010.dbf 189
/ora12data/arch/1_190_995217010.dbf 190
/ora12data/arch/1_191_995217010.dbf 191
/ora12data/arch/1_192_995217010.dbf 192
/ora12data/arch/1_193_995217010.dbf 193
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_194_995217010.dbf 194
/ora12data/arch/1_195_995217010.dbf 195
/ora12data/arch/1_196_995217010.dbf 196
/ora12data/arch/1_197_995217010.dbf 197
/ora12data/arch/1_198_995217010.dbf 198
--查看归档日志,发现所有的日志都在啊,没有丢啊
<hxdevdb:hxdevdb:/ora12data/arch>$ls -atl
total 64940176
-rw-r----- 1 oracle oinstall 168465408 Jan 07 15:22 1_200_995217010.dbf
drwxr-xr-x 2 oracle oinstall 12288 Jan 07 15:22 .
-rw-r----- 1 oracle oinstall 175252480 Jan 07 15:21 1_199_995217010.dbf
-rw-r----- 1 oracle oinstall 164952064 Jan 07 14:46 1_198_995217010.dbf
-rw-r----- 1 oracle oinstall 164826112 Jan 07 14:06 1_197_995217010.dbf
-rw-r----- 1 oracle oinstall 167567872 Jan 07 13:28 1_196_995217010.dbf
-rw-r----- 1 oracle oinstall 167946752 Jan 07 12:49 1_195_995217010.dbf
-rw-r----- 1 oracle oinstall 167238656 Jan 07 12:09 1_194_995217010.dbf
-rw-r----- 1 oracle oinstall 167838720 Jan 07 11:30 1_193_995217010.dbf
-rw-r----- 1 oracle oinstall 164986880 Jan 07 10:51 1_192_995217010.dbf
-rw-r----- 1 oracle oinstall 166265856 Jan 07 10:11 1_191_995217010.dbf
-rw-r----- 1 oracle oinstall 167339520 Jan 07 09:34 1_190_995217010.dbf
-rw-r----- 1 oracle oinstall 167055872 Jan 07 08:55 1_189_995217010.dbf
-rw-r----- 1 oracle oinstall 167464448 Jan 07 08:15 1_188_995217010.dbf
-rw-r----- 1 oracle oinstall 164891648 Jan 07 07:36 1_187_995217010.dbf
-rw-r----- 1 oracle oinstall 166944256 Jan 07 06:57 1_186_995217010.dbf
-rw-r----- 1 oracle oinstall 167315456 Jan 07 06:17 1_185_995217010.dbf
-rw-r----- 1 oracle oinstall 167137280 Jan 07 05:38 1_184_995217010.dbf
-rw-r----- 1 oracle oinstall 165368832 Jan 07 04:59 1_183_995217010.dbf
-rw-r----- 1 oracle oinstall 167174656 Jan 07 04:20 1_182_995217010.dbf
-rw-r----- 1 oracle oinstall 164855296 Jan 07 03:41 1_181_995217010.dbf
-rw-r----- 1 oracle oinstall 165188608 Jan 07 03:02 1_180_995217010.dbf
-rw-r----- 1 oracle oinstall 167220224 Jan 07 02:23 1_179_995217010.dbf
-rw-r----- 1 oracle oinstall 167651840 Jan 07 01:44 1_178_995217010.dbf
-rw-r----- 1 oracle oinstall 166304256 Jan 07 01:04 1_177_995217010.dbf
-rw-r----- 1 oracle oinstall 167191552 Jan 07 00:25 1_176_995217010.dbf
-rw-r----- 1 oracle oinstall 167656960 Jan 06 23:46 1_175_995217010.dbf
-rw-r----- 1 oracle oinstall 167893504 Jan 06 23:06 1_174_995217010.dbf
-rw-r----- 1 oracle oinstall 166922240 Jan 06 22:26 1_173_995217010.dbf
-rw-r----- 1 oracle oinstall 165087232 Jan 06 21:48 1_172_995217010.dbf
-rw-r----- 1 oracle oinstall 166237696 Jan 06 21:08 1_171_995217010.dbf
-rw-r----- 1 oracle oinstall 165005824 Jan 06 20:30 1_170_995217010.dbf
-rw-r----- 1 oracle oinstall 167676416 Jan 06 20:00 1_169_995217010.dbf
-rw-r----- 1 oracle oinstall 167480320 Jan 06 19:21 1_168_995217010.dbf
-rw-r----- 1 oracle oinstall 164839424 Jan 06 18:42 1_167_995217010.dbf
-rw-r----- 1 oracle oinstall 166502400 Jan 06 18:02 1_166_995217010.dbf
-rw-r----- 1 oracle oinstall 166295040 Jan 06 17:23 1_165_995217010.dbf
-rw-r----- 1 oracle oinstall 165129216 Jan 06 16:45 1_164_995217010.dbf
-rw-r----- 1 oracle oinstall 165897728 Jan 06 16:05 1_163_995217010.dbf
-rw-r----- 1 oracle oinstall 165216256 Jan 06 15:26 1_162_995217010.dbf
-rw-r----- 1 oracle oinstall 165223424 Jan 06 14:48 1_161_995217010.dbf
-rw-r----- 1 oracle oinstall 166408704 Jan 06 14:08 1_160_995217010.dbf
-rw-r----- 1 oracle oinstall 164947456 Jan 06 13:30 1_159_995217010.dbf
-rw-r----- 1 oracle oinstall 166076928 Jan 06 12:51 1_158_995217010.dbf
-rw-r----- 1 oracle oinstall 165006848 Jan 06 12:11 1_157_995217010.dbf
-rw-r----- 1 oracle oinstall 167561728 Jan 06 11:32 1_156_995217010.dbf
-rw-r----- 1 oracle oinstall 166948864 Jan 06 10:53 1_155_995217010.dbf
-rw-r----- 1 oracle oinstall 167198208 Jan 06 10:13 1_154_995217010.dbf
-rw-r----- 1 oracle oinstall 167550464 Jan 06 09:34 1_153_995217010.dbf
-rw-r----- 1 oracle oinstall 164934144 Jan 06 08:56 1_152_995217010.dbf
-rw-r----- 1 oracle oinstall 165017600 Jan 06 08:16 1_151_995217010.dbf
-rw-r----- 1 oracle oinstall 167206400 Jan 06 07:37 1_150_995217010.dbf
-rw-r----- 1 oracle oinstall 166912000 Jan 06 06:58 1_149_995217010.dbf
-rw-r----- 1 oracle oinstall 167179776 Jan 06 06:18 1_148_995217010.dbf
-rw-r----- 1 oracle oinstall 167029248 Jan 06 05:39 1_147_995217010.dbf
-rw-r----- 1 oracle oinstall 165381120 Jan 06 05:00 1_146_995217010.dbf
-rw-r----- 1 oracle oinstall 164876288 Jan 06 04:21 1_145_995217010.dbf
-rw-r----- 1 oracle oinstall 167605248 Jan 06 03:42 1_144_995217010.dbf
-rw-r----- 1 oracle oinstall 166597632 Jan 06 03:02 1_143_995217010.dbf
-rw-r----- 1 oracle oinstall 167051776 Jan 06 02:23 1_142_995217010.dbf
-rw-r----- 1 oracle oinstall 167643648 Jan 06 01:44 1_141_995217010.dbf
-rw-r----- 1 oracle oinstall 166306304 Jan 06 01:04 1_140_995217010.dbf
-rw-r----- 1 oracle oinstall 167284736 Jan 06 00:25 1_139_995217010.dbf
-rw-r----- 1 oracle oinstall 165268480 Jan 05 23:46 1_138_995217010.dbf
-rw-r----- 1 oracle oinstall 166694400 Jan 05 23:06 1_137_995217010.dbf
-rw-r----- 1 oracle oinstall 167173120 Jan 05 22:27 1_136_995217010.dbf
-rw-r----- 1 oracle oinstall 167556608 Jan 05 21:48 1_135_995217010.dbf
-rw-r----- 1 oracle oinstall 166655488 Jan 05 21:08 1_134_995217010.dbf
-rw-r----- 1 oracle oinstall 167534592 Jan 05 20:29 1_133_995217010.dbf
-rw-r----- 1 oracle oinstall 166919680 Jan 05 19:59 1_132_995217010.dbf
-rw-r----- 1 oracle oinstall 167124480 Jan 05 19:19 1_131_995217010.dbf
-rw-r----- 1 oracle oinstall 167522304 Jan 05 18:40 1_130_995217010.dbf
-rw-r----- 1 oracle oinstall 166478336 Jan 05 18:00 1_129_995217010.dbf
-rw-r----- 1 oracle oinstall 164903936 Jan 05 17:21 1_128_995217010.dbf
-rw-r----- 1 oracle oinstall 167612416 Jan 05 16:42 1_127_995217010.dbf
-rw-r----- 1 oracle oinstall 166665728 Jan 05 16:02 1_126_995217010.dbf
-rw-r----- 1 oracle oinstall 167016448 Jan 05 15:23 1_125_995217010.dbf
-rw-r----- 1 oracle oinstall 167545344 Jan 05 14:44 1_124_995217010.dbf
-rw-r----- 1 oracle oinstall 166439936 Jan 05 14:04 1_123_995217010.dbf
-rw-r----- 1 oracle oinstall 167241216 Jan 05 13:25 1_122_995217010.dbf
-rw-r----- 1 oracle oinstall 165238784 Jan 05 12:46 1_121_995217010.dbf
-rw-r----- 1 oracle oinstall 166516224 Jan 05 12:06 1_120_995217010.dbf
-rw-r----- 1 oracle oinstall 167324160 Jan 05 11:27 1_119_995217010.dbf
-rw-r----- 1 oracle oinstall 167640576 Jan 05 10:48 1_118_995217010.dbf
-rw-r----- 1 oracle oinstall 166646272 Jan 05 10:08 1_117_995217010.dbf
-rw-r----- 1 oracle oinstall 167165440 Jan 05 09:29 1_116_995217010.dbf
-rw-r----- 1 oracle oinstall 166882816 Jan 05 08:50 1_115_995217010.dbf
-rw-r----- 1 oracle oinstall 167196672 Jan 05 08:10 1_114_995217010.dbf
-rw-r----- 1 oracle oinstall 165148160 Jan 05 07:31 1_113_995217010.dbf
-rw-r----- 1 oracle oinstall 166885888 Jan 05 06:52 1_112_995217010.dbf
-rw-r----- 1 oracle oinstall 167305728 Jan 05 06:12 1_111_995217010.dbf
-rw-r----- 1 oracle oinstall 166987264 Jan 05 05:33 1_110_995217010.dbf
-rw-r----- 1 oracle oinstall 165716480 Jan 05 04:54 1_109_995217010.dbf
-rw-r----- 1 oracle oinstall 166894592 Jan 05 04:15 1_108_995217010.dbf
-rw-r----- 1 oracle oinstall 165050880 Jan 05 03:36 1_107_995217010.dbf
-rw-r----- 1 oracle oinstall 166990848 Jan 05 02:57 1_106_995217010.dbf
-rw-r----- 1 oracle oinstall 166259200 Jan 05 02:17 1_105_995217010.dbf
-rw-r----- 1 oracle oinstall 165159936 Jan 05 01:39 1_104_995217010.dbf
-rw-r----- 1 oracle oinstall 166153216 Jan 05 01:00 1_103_995217010.dbf
-rw-r----- 1 oracle oinstall 165617664 Jan 05 00:20 1_102_995217010.dbf
-rw-r----- 1 oracle oinstall 164790784 Jan 04 23:42 1_101_995217010.dbf
-rw-r----- 1 oracle oinstall 166662144 Jan 04 23:02 1_100_995217010.dbf
-rw-r----- 1 oracle oinstall 165889024 Jan 04 22:23 1_99_995217010.dbf
-rw-r----- 1 oracle oinstall 165141504 Jan 04 21:45 1_98_995217010.dbf
-rw-r----- 1 oracle oinstall 166231040 Jan 04 21:05 1_97_995217010.dbf
-rw-r----- 1 oracle oinstall 164903936 Jan 04 20:26 1_96_995217010.dbf
-rw-r----- 1 oracle oinstall 166450688 Jan 04 19:56 1_95_995217010.dbf
-rw-r----- 1 oracle oinstall 164864000 Jan 04 19:17 1_94_995217010.dbf
-rw-r----- 1 oracle oinstall 167224320 Jan 04 18:38 1_93_995217010.dbf
-rw-r----- 1 oracle oinstall 167462912 Jan 04 17:59 1_92_995217010.dbf
-rw-r----- 1 oracle oinstall 164903936 Jan 04 15:01 1_91_995217010.dbf
-rw-r----- 1 oracle oinstall 164792320 Jan 04 10:20 1_90_995217010.dbf
-rw-r----- 1 oracle oinstall 164789760 Jan 04 05:33 1_89_995217010.dbf
-rw-r----- 1 oracle oinstall 164820992 Jan 04 01:06 1_88_995217010.dbf
-rw-r----- 1 oracle oinstall 183695360 Jan 03 20:22 1_87_995217010.dbf
-rw-r----- 1 oracle oinstall 166230016 Jan 03 16:16 1_86_995217010.dbf
-rw-r----- 1 oracle oinstall 166699008 Jan 03 11:31 1_85_995217010.dbf
-rw-r----- 1 oracle oinstall 164976128 Jan 03 06:46 1_84_995217010.dbf
-rw-r----- 1 oracle oinstall 191650304 Jan 03 02:46 1_83_995217010.dbf
-rw-r----- 1 oracle oinstall 165398528 Jan 02 22:01 1_82_995217010.dbf
-rw-r----- 1 oracle oinstall 186508288 Jan 02 21:05 1_81_995217010.dbf
-rw-r----- 1 oracle oinstall 191642112 Jan 02 21:05 1_80_995217010.dbf
-rw-r----- 1 oracle oinstall 191646720 Jan 02 21:05 1_79_995217010.dbf
-rw-r----- 1 oracle oinstall 170061824 Jan 02 21:04 1_78_995217010.dbf
-rw-r----- 1 oracle oinstall 166600704 Jan 02 20:01 1_77_995217010.dbf
-rw-r----- 1 oracle oinstall 164941312 Jan 02 15:11 1_76_995217010.dbf
-rw-r----- 1 oracle oinstall 165471232 Jan 02 10:36 1_75_995217010.dbf
-rw-r----- 1 oracle oinstall 165326848 Jan 02 05:51 1_74_995217010.dbf
-rw-r----- 1 oracle oinstall 164900864 Jan 02 01:01 1_73_995217010.dbf
-rw-r----- 1 oracle oinstall 175074304 Jan 01 20:21 1_72_995217010.dbf
-rw-r----- 1 oracle oinstall 166595072 Jan 01 16:16 1_71_995217010.dbf
-rw-r----- 1 oracle oinstall 164791808 Jan 01 11:31 1_70_995217010.dbf
-rw-r----- 1 oracle oinstall 166010880 Jan 01 06:41 1_69_995217010.dbf
-rw-r----- 1 oracle oinstall 165236736 Jan 01 01:56 1_68_995217010.dbf
-rw-r----- 1 oracle oinstall 164789760 Dec 31 21:06 1_67_995217010.dbf
-rw-r----- 1 oracle oinstall 166502912 Dec 31 17:26 1_66_995217010.dbf
-rw-r----- 1 oracle oinstall 164789760 Dec 31 12:41 1_65_995217010.dbf
-rw-r----- 1 oracle oinstall 165241344 Dec 31 07:51 1_64_995217010.dbf
-rw-r----- 1 oracle oinstall 166477312 Dec 31 03:01 1_63_995217010.dbf
-rw-r----- 1 oracle oinstall 166149632 Dec 30 22:11 1_62_995217010.dbf
-rw-r----- 1 oracle oinstall 166509568 Dec 30 18:36 1_61_995217010.dbf
-rw-r----- 1 oracle oinstall 165735936 Dec 30 13:46 1_60_995217010.dbf
-rw-r----- 1 oracle oinstall 165028352 Dec 30 08:56 1_59_995217010.dbf
-rw-r----- 1 oracle oinstall 165927424 Dec 30 04:06 1_58_995217010.dbf
-rw-r----- 1 oracle oinstall 166142976 Dec 29 23:26 1_57_995217010.dbf
-rw-r----- 1 oracle oinstall 165950464 Dec 29 20:11 1_56_995217010.dbf
-rw-r----- 1 oracle oinstall 166343680 Dec 29 15:21 1_55_995217010.dbf
-rw-r----- 1 oracle oinstall 165988864 Dec 29 10:36 1_54_995217010.dbf
-rw-r----- 1 oracle oinstall 164814336 Dec 29 05:49 1_53_995217010.dbf
-rw-r----- 1 oracle oinstall 165430784 Dec 29 01:00 1_52_995217010.dbf
-rw-r----- 1 oracle oinstall 172631040 Dec 28 20:19 1_51_995217010.dbf
-rw-r----- 1 oracle oinstall 165081088 Dec 28 16:51 1_50_995217010.dbf
-rw-r----- 1 oracle oinstall 167340544 Dec 28 12:00 1_49_995217010.dbf
-rw-r----- 1 oracle oinstall 191649792 Dec 28 10:15 1_48_995217010.dbf
-rw-r----- 1 oracle oinstall 170574336 Dec 28 10:15 1_47_995217010.dbf
-rw-r----- 1 oracle oinstall 191650304 Dec 28 10:14 1_46_995217010.dbf
-rw-r----- 1 oracle oinstall 191647232 Dec 28 10:14 1_45_995217010.dbf
-rw-r----- 1 oracle oinstall 191644672 Dec 28 10:14 1_44_995217010.dbf
-rw-r----- 1 oracle oinstall 199196160 Dec 28 10:14 1_43_995217010.dbf
-rw-r----- 1 oracle oinstall 192896512 Dec 28 10:14 1_42_995217010.dbf
-rw-r----- 1 oracle oinstall 177579008 Dec 28 10:14 1_41_995217010.dbf
-rw-r----- 1 oracle oinstall 191647232 Dec 28 10:14 1_40_995217010.dbf
-rw-r----- 1 oracle oinstall 191647744 Dec 28 10:14 1_39_995217010.dbf
-rw-r----- 1 oracle oinstall 183992320 Dec 28 10:13 1_38_995217010.dbf
-rw-r----- 1 oracle oinstall 193933312 Dec 28 09:54 1_37_995217010.dbf
-rw-r----- 1 oracle oinstall 165366784 Dec 28 07:21 1_36_995217010.dbf
-rw-r----- 1 oracle oinstall 173535232 Dec 28 02:46 1_35_995217010.dbf
-rw-r----- 1 oracle oinstall 164981760 Dec 27 22:41 1_34_995217010.dbf
-rw-r----- 1 oracle oinstall 166205440 Dec 27 18:21 1_33_995217010.dbf
-rw-r----- 1 oracle oinstall 164791296 Dec 27 13:39 1_32_995217010.dbf
-rw-r----- 1 oracle oinstall 165108736 Dec 27 10:37 1_31_995217010.dbf
-rw-r----- 1 oracle oinstall 169881088 Dec 27 10:35 1_30_995217010.dbf
-rw-r----- 1 oracle oinstall 194884608 Dec 27 10:33 1_29_995217010.dbf
-rw-r----- 1 oracle oinstall 195913728 Dec 27 10:33 1_28_995217010.dbf
-rw-r----- 1 oracle oinstall 191648768 Dec 27 10:32 1_27_995217010.dbf
-rw-r----- 1 oracle oinstall 191651328 Dec 27 10:32 1_26_995217010.dbf
-rw-r----- 1 oracle oinstall 191650304 Dec 27 10:32 1_25_995217010.dbf
-rw-r----- 1 oracle oinstall 168937984 Dec 27 10:31 1_24_995217010.dbf
-rw-r----- 1 oracle oinstall 193077248 Dec 27 10:29 1_23_995217010.dbf
-rw-r----- 1 oracle oinstall 165506048 Dec 26 21:00 1_22_995217010.dbf
-rw-r----- 1 oracle oinstall 167168512 Dec 25 19:00 1_21_995217010.dbf
-rw-r----- 1 oracle oinstall 165813760 Dec 24 16:00 1_20_995217010.dbf
-rw-r----- 1 oracle oinstall 167138304 Dec 23 13:00 1_19_995217010.dbf
-rw-r----- 1 oracle oinstall 164789760 Dec 22 09:17 1_18_995217010.dbf
-rw-r----- 1 oracle oinstall 166609408 Dec 21 06:00 1_17_995217010.dbf
-rw-r----- 1 oracle oinstall 164791808 Dec 20 05:05 1_16_995217010.dbf
-rw-r----- 1 oracle oinstall 169848832 Dec 19 17:25 1_15_995217010.dbf
-rw-r----- 1 oracle oinstall 165029888 Dec 19 17:05 1_14_995217010.dbf
-rw-r----- 1 oracle oinstall 22435840 Dec 19 16:42 1_13_995217010.dbf
-rw-r----- 1 oracle oinstall 1536 Dec 19 16:42 1_12_995217010.dbf
-rw-r----- 1 oracle oinstall 134899712 Dec 19 16:42 1_11_995217010.dbf
-rw-r----- 1 oracle oinstall 165204992 Dec 19 16:26 1_10_995217010.dbf
-rw-r----- 1 oracle oinstall 190625280 Dec 19 16:24 1_9_995217010.dbf
-rw-r----- 1 oracle oinstall 165655552 Dec 19 16:23 1_8_995217010.dbf
-rw-r----- 1 oracle oinstall 191647744 Dec 19 16:21 1_7_995217010.dbf
-rw-r----- 1 oracle oinstall 191647232 Dec 19 16:18 1_6_995217010.dbf
-rw-r----- 1 oracle oinstall 191648768 Dec 19 16:16 1_5_995217010.dbf
-rw-r----- 1 oracle oinstall 169197568 Dec 19 16:10 1_4_995217010.dbf
-rw-r----- 1 oracle oinstall 9282048 Dec 19 10:31 1_3_995217010.dbf
drwxr-xr-x 6 oracle oinstall 256 Dec 19 09:37 ..
-rw-r----- 1 oracle oinstall 1024 Dec 19 09:30 1_2_995217010.dbf
-rw-r----- 1 oracle oinstall 139763712 Dec 19 09:30 1_1_995217010.dbf
<hxdevdb:hxdevdb:/ora12data/arch>$
注册归档日志
RMAN> catalog start with '/ora12data/arch';
using target database control file instead of recovery catalog
searching for all files that match the pattern /ora12data/arch
List of Files Unknown to the Database
=====================================
File Name: /ora12data/arch/1_1_995217010.dbf
File Name: /ora12data/arch/1_2_995217010.dbf
File Name: /ora12data/arch/1_3_995217010.dbf
File Name: /ora12data/arch/1_4_995217010.dbf
略........
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /ora12data/arch/1_1_995217010.dbf
File Name: /ora12data/arch/1_2_995217010.dbf
File Name: /ora12data/arch/1_3_995217010.dbf
File Name: /ora12data/arch/1_4_995217010.dbf
略.......
RMAN>
注册成功
SQL> set lines 120
SQL> col name for a50
SQL> select name,sequence# from v$archived_log order by sequence#;
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_1_995217010.dbf 1
/ora12data/arch/1_2_995217010.dbf 2
/ora12data/arch/1_3_995217010.dbf 3
/ora12data/arch/1_4_995217010.dbf 4
/ora12data/arch/1_5_995217010.dbf 5
/ora12data/arch/1_6_995217010.dbf 6
/ora12data/arch/1_7_995217010.dbf 7
/ora12data/arch/1_8_995217010.dbf 8
/ora12data/arch/1_9_995217010.dbf 9
/ora12data/arch/1_10_995217010.dbf 10
/ora12data/arch/1_11_995217010.dbf 11
NAME SEQUENCE#
-------------------------------------------------- ----------
/ora12data/arch/1_12_995217010.dbf 12
/ora12data/arch/1_13_995217010.dbf 13
/ora12data/arch/1_14_995217010.dbf 14
/ora12data/arch/1_15_995217010.dbf 15
……………略
/ora12data/arch/1_196_995217010.dbf 196
/ora12data/arch/1_197_995217010.dbf 197
/ora12data/arch/1_198_995217010.dbf 198
/ora12data/arch/1_199_995217010.dbf 199
/ora12data/arch/1_200_995217010.dbf 200
198 rows selected.
重启进程:
<hxdevdb:hxdevdb:/ora12data/ogg>$./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.3.0.1.4 OGGCORE_12.3.0.1.0_PLATFORMS_180415.0359_FBO
AIX 6, ppc, 64bit (optimized), Oracle 12c on Apr 19 2018 09:40:59
Operating system character set identified as US-ASCII.
Copyright (C) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
GGSCI (hxdevdb) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT ABENDED EX_TDAS 00:00:00 269:02:50
EXTRACT RUNNING P_TDAS 00:00:00 00:00:00
GGSCI (hxdevdb) 2> start ex_tdas
Sending START request to MANAGER ...
EXTRACT EX_TDAS starting
GGSCI (hxdevdb) 3> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EX_TDAS 00:00:00 269:02:56
EXTRACT RUNNING P_TDAS 00:00:00 00:00:06
--恢复正常
GGSCI (hxdevdb) 4> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EX_TDAS 00:00:00 269:02:58
EXTRACT RUNNING P_TDAS 00:00:00 00:00:07
由于control_file_record_keep_time 为7天,实际设置的有些小。过期的日志记录条目可能会被删除重新利用存放日志的空间,但是真的物理日志文件没有被删除,从新注册还是可以使用的。这样的问题大部分发生在测试环境,日常监控检查不到位,不重视。
OGG-00868
原创
©著作权归作者所有:来自51CTO博客作者roidba的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
OGG 监控AGENT 安装步骤
OGG OEM监控添加
oracle ogg 监控 -
ogg之trail文件操作
ogg
检查点 oracle 删除文件 -
OGG
OGG "Loading data from file to Replicat"table数据的静态同步配置过程
oracle 命令行 sed .net 数据 -
OGG配置处理_ERROR OGG-01875
OGG-01875问题说明
OGG ogg-01875