oracle database 12c 配置oracle goldengate 12.1.2 Integrated Capture mode

标题: oracle12c configured Integrated Capture mode

链接: http://www.traveldba.com/archives/583




[html]  view plain copy
  1. 配置归档  
  2. <pre lang="sql">  
  3. SQL> alter system set log_archive_dest_1='location=/other/archivelog';  
  4.   
  5.   
  6. System altered.  
  7.   
  8.   
  9. SQL> shutdown immediate;  
  10. Database closed.  
  11. Database dismounted.  
  12. ORACLE instance shut down.  
  13. SQL> startup mount  
  14. ORACLE instance started.  
  15.   
  16.   
  17. Total System Global Area  626327552 bytes  
  18. Fixed Size                  2291472 bytes  
  19. Variable Size             230689008 bytes  
  20. Database Buffers          390070272 bytes  
  21. Redo Buffers                3276800 bytes  
  22. Database mounted.  
  23. SQL> alter database archivelog;  
  24.   
  25.   
  26. Database altered.  
  27.   
  28.   
  29. SQL> alter database  
  30.   2  open;  
  31.   
  32.   
  33. SQL> alter database force logging;  
  34.   
  35.   
  36. Database altered.  
  37.   
  38.   
  39. SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;  
  40.   
  41.   
  42. Database altered.  
  43. </pre>  
  44. 创建用户赋权  
  45. 配置12c cdb的抽取用户必须在(cdb$root) 下  
  46. <pre lang="text">  
  47. Extract must connect to the root container (cdb$root) as a common user in order to  
  48. interact with the logmining server. To specify the root container, use the  
  49. appropriate SQL*Net connect string for the database user that you specify with the  
  50. USERID or USERIDALIAS parameter. For example: C##GGADMIN@FINANCE. See  
  51. Section 4, "Establishing Oracle GoldenGate Credentials" for how to create a user  
  52. for the Oracle GoldenGate processes and grant the correct privileges.  
  53. </pre>  
  54. <pre lang="sql">  
  55. SQL> create user c##goldengate identified by aa;  
  56.   
  57.   
  58. User created.  
  59.   
  60.   
  61. SQL> grant dba to c##goldengate  
  62.   2  ;  
  63.   
  64.   
  65. Grant succeeded.  
  66.   
  67.   
  68. SQL> exec dbms_goldengate_auth.grant_admin_privilege('c##goldengate',container=>'all');  
  69.   
  70.   
  71. PL/SQL procedure successfully completed.  
  72. </pre>  
  73.   
  74.   
  75. 创建测试用户  
  76. <pre lang="sql">  
  77. SQL> alter session set container=travel;  
  78.   
  79.   
  80. Session altered.  
  81.   
  82.   
  83. SQL> alter pluggable database travel open;  
  84.   
  85.   
  86. Pluggable database altered.  
  87.   
  88.   
  89. SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;  
  90.   
  91.   
  92. Database altered.  
  93.   
  94.   
  95. SQL> create user goldengate identified by aa;  
  96.   
  97.   
  98. User created.  
  99.   
  100.   
  101. SQL> grant dba to goldengate;  
  102.   
  103.   
  104. Grant succeeded.  
  105.   
  106.   
  107. SQL> create user test identified by aa;  
  108.   
  109.   
  110. User created.  
  111.   
  112.   
  113. SQL> grant dba to test;  
  114.   
  115.   
  116. Grant succeeded.  
  117.   
  118.   
  119. SQL> conn test/aa@travel  
  120. Connected.  
  121.   
  122.   
  123. SQL> create table test(id number,name varchar2(20));  
  124.   
  125.   
  126. Table created.  
  127. </pre>  
  128.   
  129.   
  130.   
  131.   
  132. GoldenGate 配置  
  133. <pre lang="text">  
  134. [oracle@localhost ogg]$ ./ggsci   
  135.   
  136.   
  137. Oracle GoldenGate Command Interpreter for Oracle  
  138. Version 12.1.2.0.0 17185003 OGGCORE_12.1.2.0.0_PLATFORMS_130924.1316_FBO  
  139. Linux, x64, 64bit (optimized), Oracle 12c on Sep 25 2013 02:33:54  
  140. Operating system character set identified as UTF-8.  
  141.   
  142.   
  143. Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.  
  144.   
  145.   
  146. GGSCI (localhost.localdomain) 6> view params mgr  
  147.   
  148.   
  149. PORT 7809  
  150.   
  151.   
  152. GGSCI (localhost.localdomain) 8> dblogin userid goldengate@travel password aa  
  153. Successfully logged into database TRAVEL.  
  154.   
  155.   
  156. GGSCI (localhost.localdomain) 9> add trandata test.test  
  157.   
  158.   
  159. 2013-10-24 15:36:58  WARNING OGG-06439  No unique key is defined for table TEST. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.  
  160.   
  161.   
  162. Logging of supplemental redo data enabled for table TRAVEL.TEST.TEST.  
  163. TRANDATA for scheduling columns has been added on table 'TRAVEL.TEST.TEST'  
  164.   
  165.   
  166.   
  167.   
  168. GGSCI (localhost.localdomain) 38> ADD EXTRACT ext1, INTEGRATED TRANLOG,BEGIN now  -- Integrated Capture mode  
  169. EXTRACT added.  
  170.   
  171.   
  172.   
  173.   
  174. GGSCI (localhost.localdomain) 39> ADD EXTTRAIL ./dirdat/lt, EXTRACT ext1  
  175. EXTTRAIL added.  
  176.   
  177.   
  178.   
  179.   
  180. GGSCI (localhost.localdomain) 40> edit params ext1  
  181.   
  182.   
  183.   
  184.   
  185.   
  186.   
  187. GGSCI (localhost.localdomain) 41> register EXTRACT ext1 databas  
  188. ERROR: Invalid syntax for REGISTER command.  
  189.   
  190.   
  191.   
  192.   
  193. GGSCI (localhost.localdomain) 42> REGISTER EXTRACT ext1 DATABASE  
  194. ERROR: One or more containers must be specified when registering Extract for a container database.  
  195.   
  196.   
  197.   
  198.   
  199. GGSCI (localhost.localdomain) 43> REGISTER EXTRACT ext1 DATABASE CONTAINER (travel)  
  200. Extract EXT1 successfully registered with database at SCN 1099496843998.  
  201.   
  202.   
  203.   
  204.   
  205. GGSCI (localhost.localdomain) 51> start ext1  
  206.   
  207.   
  208. Sending START request to MANAGER ...  
  209. EXTRACT EXT1 starting  
  210.   
  211.   
  212.   
  213.   
  214. GGSCI (localhost.localdomain) 52> info all  
  215.   
  216.   
  217. Program     Status      Group       Lag at Chkpt  Time Since Chkpt  
  218.   
  219.   
  220. MANAGER     RUNNING                                             
  221. EXTRACT     RUNNING     EXT1        00:04:51      00:00:07      
  222.   
  223.   
  224.   
  225.   
  226. GGSCI (localhost.localdomain) 53> view parameter ext1  
  227. ERROR: Invalid command.  
  228.   
  229.   
  230. GGSCI (localhost.localdomain) 54> view params ext1  
  231.   
  232.   
  233. EXTRACT ext1  
  234. USERID c##goldengate password aa  
  235. TRANLOGOPTIONS MININGUSER c##goldengate MININGPASSWORD aa  
  236. --TRANLOGOPTIONS INTEGRATEDPARAMS (MAX_SGA_SIZE 164, DOWNSTREAM_REAL_TIME_MINE y)  
  237. LOGALLSUPCOLS  
  238. UPDATERECORDFORMAT COMPACT  
  239. EXTTRAIL ./dirdat/lt  
  240. SOURCECATALOG travel  
  241. TABLE test.test;  
  242. </pre>  
  243.   
  244.   
  245. 测试  
  246. <pre lang="text">  
  247. [oracle@localhost ~]$ sqlplus test/aa@travel     
  248.   
  249.   
  250. SQL*Plus: Release 12.1.0.1.0 Production on Thu Oct 24 16:02:51 2013  
  251.   
  252.   
  253. Copyright (c) 1982, 2013, Oracle.  All rights reserved.  
  254.   
  255.   
  256. Last Successful login time: Thu Oct 24 2013 15:27:13 +08:00  
  257.   
  258.   
  259. Connected to:  
  260. Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production  
  261. With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options  
  262.   
  263.   
  264.   
  265.   
  266. USERNAME             INST_NAME    HOST_NAME                 SID   SERIAL#  VERSION    STARTED  SPID            OPID  CPID            SADDR            PADDR  
  267. -------------------- ------------ ------------------------- ----- -------- ---------- -------- --------------- ----- --------------- ---------------- ----------------  
  268. TEST                 orcl         localhost.localdomain     77    121      12.1.0.1.0 20131024 5093            7     5089            0000000084EE9F88 000000008523EB88  
  269.   
  270.   
  271.   
  272.   
  273. SQL> select * from tab;  
  274.   
  275.   
  276. TNAME                                                                                                                            TABTYPE  CLUSTERID  
  277. -------------------------------------------------------------------------------------------------------------------------------- ------- ----------  
  278. TEST                                                                                                                             TABLE  
  279.   
  280.   
  281.   
  282.   
  283. SQL> @desc test  
  284.            Name                            Null?    Type  
  285.            ------------------------------- -------- ----------------------------  
  286.     1      ID                                       NUMBER  
  287.     2      NAME                                     VARCHAR2(20)  
  288.   
  289.   
  290.   
  291.   
  292. SQL> insert into test values  (1,'trave');  
  293.   
  294.   
  295. 1 row created.  
  296.   
  297.   
  298. SQL> commit;  
  299.   
  300.   
  301.   
  302.   
  303. SQL> insert into test values  (2,'trave');  
  304.   
  305.   
  306. 1 row created.  
  307.   
  308.   
  309. SQL> insert into test values  (3,'trave');  
  310.   
  311.   
  312. 1 row created.  
  313.   
  314.   
  315. SQL> insert into test values  (4,'trave');  
  316.   
  317.   
  318. 1 row created.  
  319.   
  320.   
  321. SQL> commit;  
  322.   
  323.   
  324. Commit complete.  
  325.   
  326.   
  327. ogg 信息  
  328.   
  329.   
  330. Extracting from TRAVEL.TEST.TEST to TRAVEL.TEST.TEST:  
  331.   
  332.   
  333. *** Total statistics since 2013-10-24 16:03:42 ***  
  334.         Total inserts                                      1.00  
  335.         Total updates                                      0.00  
  336.         Total deletes                                      0.00  
  337.         Total discards                                     0.00  
  338.         Total operations                                   1.00  
  339.   
  340.   
  341. *** Daily statistics since 2013-10-24 16:03:42 ***  
  342.         Total inserts                                      1.00  
  343.         Total updates                                      0.00  
  344.         Total deletes                                      0.00  
  345.         Total discards                                     0.00  
  346.         Total operations                                   1.00  
  347.   
  348.   
  349. *** Hourly statistics since 2013-10-24 16:03:42 ***  
  350.         Total inserts                                      1.00  
  351.         Total updates                                      0.00  
  352.         Total deletes                                      0.00  
  353.         Total discards                                     0.00  
  354.         Total operations                                   1.00  
  355.   
  356.   
  357. *** Latest statistics since 2013-10-24 16:03:42 ***  
  358.         Total inserts                                      1.00  
  359.         Total updates                                      0.00  
  360.         Total deletes                                      0.00  
  361.         Total discards                                     0.00  
  362.         Total operations                                   1.00  
  363.   
  364.   
  365. End of Statistics.  
  366.   
  367.   
  368. GGSCI (localhost.localdomain) 57>  stats ext1  
  369.   
  370.   
  371. Sending STATS request to EXTRACT EXT1 ...  
  372.   
  373.   
  374. Start of Statistics at 2013-10-24 16:05:08.  
  375.   
  376.   
  377. Output to ./dirdat/lt:  
  378.   
  379.   
  380. Extracting from TRAVEL.TEST.TEST to TRAVEL.TEST.TEST:  
  381.   
  382.   
  383. *** Total statistics since 2013-10-24 16:03:42 ***  
  384.         Total inserts                                      4.00  
  385.         Total updates                                      0.00  
  386.         Total deletes                                      0.00  
  387.         Total discards                                     0.00  
  388.         Total operations                                   4.00  
  389.   
  390.   
  391. *** Daily statistics since 2013-10-24 16:03:42 ***  
  392.         Total inserts                                      4.00  
  393.         Total updates                                      0.00  
  394.         Total deletes                                      0.00  
  395.         Total discards                                     0.00  
  396.         Total operations                                   4.00  
  397.   
  398.   
  399. *** Hourly statistics since 2013-10-24 16:03:42 ***  
  400.         Total inserts                                      4.00  
  401.         Total updates                                      0.00  
  402.         Total deletes                                      0.00  
  403.         Total discards                                     0.00  
  404.         Total operations                                   4.00  
  405.   
  406.   
  407. *** Latest statistics since 2013-10-24 16:03:42 ***  
  408.         Total inserts                                      4.00  
  409.         Total updates                                      0.00  
  410.         Total deletes                                      0.00  
  411.         Total discards                                     0.00  
  412.         Total operations                                   4.00  
  413.   
  414.   
  415. End of Statistics.  
  416. </pre>  
  417.   
  418.   
  419.   
  420.   
  421. ogg  ggserr.log   
  422. <pre lang="text">  
  423. 2013-10-24 15:59:52  INFO    OGG-06495  Oracle GoldenGate Capture for Oracle, ext1.prm:  OGG created a session pool with SESSIONPOOLMAX 10, SESSIONPOOLMIN 2 and SESSIONPOOLINCR 2.  
  424. 2013-10-24 15:59:52  INFO    OGG-02089  Oracle GoldenGate Capture for Oracle, ext1.prm:  Source redo compatibility version is: 12.1.0.0.  
  425. 2013-10-24 15:59:55  WARNING OGG-02045  Oracle GoldenGate Capture for Oracle, ext1.prm:  Database does not have streams_pool_size initialization parameter configured.  
  426. 2013-10-24 16:00:21  INFO    OGG-02068  Oracle GoldenGate Capture for Oracle, ext1.prm:  Integrated capture successfully attached to logmining server OGG$CAP_EXT1 using OGGCapture API.  
  427. 2013-10-24 16:00:21  INFO    OGG-02086  Oracle GoldenGate Capture for Oracle, ext1.prm:  Integrated Dictionary will be used.  
  428. 2013-10-24 16:00:21  INFO    OGG-00993  Oracle GoldenGate Capture for Oracle, ext1.prm:  EXTRACT EXT1 started.  
  429. 2013-10-24 16:00:21  INFO    OGG-01052  Oracle GoldenGate Capture for Oracle, ext1.prm:  No recovery is required for target file ./dirdat/lt000000, at RBA 0 (file not opened).  
  430. 2013-10-24 16:00:21  INFO    OGG-01478  Oracle GoldenGate Capture for Oracle, ext1.prm:  Output file ./dirdat/lt is using format RELEASE 12.1.  
  431. 2013-10-24 16:00:22  INFO    OGG-03522  Oracle GoldenGate Capture for Oracle, ext1.prm:  Setting session time zone to source database time zone 'GMT'.  
  432. 2013-10-24 16:00:53  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI command (oracle): info all.  
  433. </pre>  
  434. 数据库alert  
  435. <pre lang="text">  
  436. Logminer Bld: Lockdown Complete.  DB_TXN_SCN is 255 4280182584 LockdownSCN is 1099496843064  
  437. Thu Oct 24 15:54:50 2013  
  438. Archived Log entry 1 added for thread 1 sequence 19 ID 0x5095899f dest 1:  
  439. Thu Oct 24 15:55:03 2013  
  440. Thu Oct 24 15:55:03 2013  
  441. Logminer Bld: Done  
  442. Thu Oct 24 15:55:03 2013  
  443. Logminer Bld: Build started  
  444. Thu Oct 24 15:55:03 2013  
  445. Logminer Bld: Lockdown Complete.  DB_TXN_SCN is 255 4280183518 LockdownSCN is 1099496843998  
  446. Thu Oct 24 15:55:14 2013  
  447. Thu Oct 24 15:55:14 2013  
  448. Logminer Bld: Done  
  449. Thu Oct 24 15:55:14 2013  
  450. ALTER SYSTEM ARCHIVE LOG  
  451. Thu Oct 24 15:55:15 2013  
  452. Thread 1 advanced to log sequence 21 (LGWR switch)  
  453.   Current log# 3 seq# 21 mem# 0: /oradata/orcl/redo03.log  
  454. Thu Oct 24 15:55:20 2013  
  455. Archived Log entry 2 added for thread 1 sequence 20 ID 0x5095899f dest 1:  
  456. Thu Oct 24 15:55:30 2013  
  457. GoldenGate Capture: OGG$CAP_EXT1 CAPTURE Created  
  458. Thu Oct 24 15:55:30 2013  
  459. CAPTURE OGG$CAP_EXT1: Start SCN: 1099496843998 (0xff1e6ade.000000ff)  
  460. Thu Oct 24 15:55:30 2013  
  461. CAPTURE OGG$CAP_EXT1: First SCN: 1099496843064 (0xff1e6738.000000ff)  
  462. Thu Oct 24 15:55:30 2013  
  463. CAPTURE OGG$CAP_EXT1: Required Checkpoint SCN: 0 (0x0000.00000000)  
  464. Thu Oct 24 15:55:30 2013  
  465. CAPTURE OGG$CAP_EXT1: Captured SCN: 0 (0x0000.00000000)  
  466. Thu Oct 24 15:55:30 2013  
  467. CAPTURE OGG$CAP_EXT1: Applied SCN: 0 (0x0000.00000000)  
  468. Thu Oct 24 15:55:30 2013  
  469. CAPTURE OGG$CAP_EXT1: Capture Type: LOCAL  
  470. Thu Oct 24 15:55:30 2013  
  471. CAPTURE OGG$CAP_EXT1: Logminer Id: 1  
  472. Thu Oct 24 15:55:30 2013  
  473. CAPTURE OGG$CAP_EXT1: Source Database: TRAVEL  
  474. Thu Oct 24 15:55:30 2013  
  475. CAPTURE OGG$CAP_EXT1: Source Root Name: ORCL  
  476. Thu Oct 24 15:55:35 2013  
  477. GoldenGate Apply: OGG$EXT1 APPLY Created  
  478. Thu Oct 24 15:55:35 2013  
  479. APPLY OGG$EXT1: Apply User: C##GOLDENGATE  
  480. Thu Oct 24 15:55:35 2013  
  481. APPLY OGG$EXT1: Apply Tag: 00  
  482. alter database add supplemental log data(PRIMARY KEY,UNIQUE INDEX,FOREIGN KEY) columns  
  483. Completed: alter database add supplemental log data(PRIMARY KEY,UNIQUE INDEX,FOREIGN KEY) columns  
  484. Thu Oct 24 15:55:38 2013  
  485. Setting XOUT_CLIENT_EXISTS to Y for Capture: OGG$CAP_EXT1  
  486. Thu Oct 24 15:55:40 2013  
  487. ALTER SYSTEM ARCHIVE LOG  
  488. Thu Oct 24 15:55:40 2013  
  489. Thread 1 cannot allocate new log, sequence 22  
  490. Checkpoint not complete  
  491.   Current log# 3 seq# 21 mem# 0: /oradata/orcl/redo03.log  
  492. Thu Oct 24 15:55:42 2013  
  493. Thread 1 advanced to log sequence 22 (LGWR switch)  
  494.   Current log# 1 seq# 22 mem# 0: /oradata/orcl/redo01.log  
  495. Thu Oct 24 15:55:42 2013  
  496. Archived Log entry 3 added for thread 1 sequence 21 ID 0x5095899f dest 1:  
  497. Thu Oct 24 15:55:42 2013  
  498. GoldenGate CAPTURE CP01 for OGG$CAP_EXT1 started with pid=45, OS id=4632  
  499. Thu Oct 24 15:55:42 2013  
  500. CAPTURE OGG$CAP_EXT1: Start SCN: 1099496843998 (0xff1e6ade.000000ff)  
  501. Thu Oct 24 15:55:42 2013  
  502. CAPTURE OGG$CAP_EXT1: First SCN: 1099496843064 (0xff1e6738.000000ff)  
  503. Thu Oct 24 15:55:42 2013  
  504. CAPTURE OGG$CAP_EXT1: Required Checkpoint SCN: 0 (0x0000.00000000)  
  505. Thu Oct 24 15:55:42 2013  
  506. CAPTURE OGG$CAP_EXT1: Captured SCN: 0 (0x0000.00000000)  
  507. Thu Oct 24 15:55:42 2013  
  508. CAPTURE OGG$CAP_EXT1: Applied SCN: 0 (0x0000.00000000)  
  509. Thu Oct 24 15:55:42 2013  
  510. CAPTURE OGG$CAP_EXT1: Capture Type: LOCAL  
  511. Thu Oct 24 15:55:42 2013  
  512. CAPTURE OGG$CAP_EXT1: Logminer Id: 1  
  513. Thu Oct 24 15:55:42 2013  
  514. CAPTURE OGG$CAP_EXT1: Source Database: TRAVEL  
  515. Thu Oct 24 15:55:42 2013  
  516. CAPTURE OGG$CAP_EXT1: Source Root Name: ORCL  
  517. Thu Oct 24 15:55:44 2013  
  518. First applied SCN of the GoldenGate path from capture (OGG$CAP_EXT1) to propagation () to apply (OGG$EXT1) is set to SCN: 1099496843064 (0xff1e6738.000000ff)  
  519. Thu Oct 24 15:55:47 2013  
  520. GoldenGate CAPTURE CP01 for OGG$CAP_EXT1 with pid=45, OS id=4632 is in combined capture and apply mode.  
  521. Thu Oct 24 15:55:47 2013  
  522. Capture OGG$CAP_EXT1 is handling 1 applies.  
  523. Thu Oct 24 15:55:47 2013  
  524.   -- capture is running in apply-state checkpoint mode.  
  525. Thu Oct 24 15:55:51 2013  
  526. Starting persistent Logminer Session with sid = 1 for GoldenGate Capture OGG$CAP_EXT1  
  527. LOGMINER: Parameters summary for session# = 1  
  528. LOGMINER: Number of processes = 0, Transaction Chunk Size = 1  
  529. LOGMINER: Memory Size = 30M, Checkpoint interval = 1000M  
  530. LOGMINER: SpillScn 0, ResetLogScn 1720082  
  531. Thu Oct 24 15:55:51 2013  
  532. LOGMINER: summary for session# = 1  
  533. LOGMINER: StartScn: 1099496844939 (0x00ff.ff1e6e8b)  
  534. LOGMINER: EndScn: 0  
  535. LOGMINER: HighConsumedScn: 1099496843998 (0x00ff.ff1e6ade)  
  536. LOGMINER: session_flag: 0xb0  
  537. LOGMINER: DDL CKPT is on.  
  538. LOGMINER: Read buffers: 64  
  539. LOGMINER: Memory LWM limit: 10M, LWM 20M, 69%  
  540. LOGMINER: Memory Release Limit: 15000  
  541. LOGMINER: LowCkptScn: 0 (0x0000.00000000)  
  542. LOGMINER: HighCkptScn: 0 (0x0000.00000000)  
  543. LOGMINER: SkipScn: 1099496843064 (0x00ff.ff1e6738)  
  544. Thu Oct 24 15:55:52 2013  
  545. LOGMINER: Begin mining logfile during dictionary load for session 1 thread 1 sequence 20, /other/archivelog/1_20_824217892.dbf  
  546. Thu Oct 24 15:55:55 2013  
  547. LOGMINER: Preparing to load 2 dictionaries for session 1  
  548. Thu Oct 24 15:56:03 2013  
  549. Thread 1 cannot allocate new log, sequence 23  
  550. Checkpoint not complete  
  551.   Current log# 1 seq# 22 mem# 0: /oradata/orcl/redo01.log  
  552. Thu Oct 24 15:56:06 2013  
  553. Thread 1 advanced to log sequence 23 (LGWR switch)  
  554.   Current log# 2 seq# 23 mem# 0: /oradata/orcl/redo02.log  
  555. Thu Oct 24 15:56:11 2013  
  556. Archived Log entry 4 added for thread 1 sequence 22 ID 0x5095899f dest 1:  
  557. Thu Oct 24 15:56:20 2013  
  558. Thread 1 advanced to log sequence 24 (LGWR switch)  
  559.   Current log# 3 seq# 24 mem# 0: /oradata/orcl/redo03.log  
  560. Thu Oct 24 15:56:26 2013  
  561. Archived Log entry 5 added for thread 1 sequence 23 ID 0x5095899f dest 1:  
  562. Thu Oct 24 15:56:33 2013  
  563. LOGMINER: Preparing to load next dictionary for session 1  
  564. Thu Oct 24 15:56:34 2013  
  565. Thread 1 advanced to log sequence 25 (LGWR switch)  
  566.   Current log# 1 seq# 25 mem# 0: /oradata/orcl/redo01.log  
  567. Thu Oct 24 15:56:42 2013  
  568. Archived Log entry 6 added for thread 1 sequence 24 ID 0x5095899f dest 1:  
  569. Thu Oct 24 15:56:48 2013  
  570. Thread 1 advanced to log sequence 26 (LGWR switch)  
  571.   Current log# 2 seq# 26 mem# 0: /oradata/orcl/redo02.log  
  572. Thu Oct 24 15:56:57 2013  
  573. Archived Log entry 7 added for thread 1 sequence 25 ID 0x5095899f dest 1:  
  574. Thu Oct 24 15:57:02 2013  
  575. Thread 1 advanced to log sequence 27 (LGWR switch)  
  576.   Current log# 3 seq# 27 mem# 0: /oradata/orcl/redo03.log  
  577. Thu Oct 24 15:57:14 2013  
  578. LOGMINER: Finalizing dictionary load for session 1  
  579. Thu Oct 24 15:57:14 2013  
  580. Archived Log entry 8 added for thread 1 sequence 26 ID 0x5095899f dest 1:  
  581. Thu Oct 24 15:57:27 2013  
  582. Thread 1 advanced to log sequence 28 (LGWR switch)  
  583.   Current log# 1 seq# 28 mem# 0: /oradata/orcl/redo01.log  
  584. Thu Oct 24 15:57:33 2013  
  585. Archived Log entry 9 added for thread 1 sequence 27 ID 0x5095899f dest 1:  
  586. Thu Oct 24 15:57:45 2013  
  587. LOGMINER: Gathering statistics on logminer dictionary.  
  588. TABLE SYS.WRI$_OPTSTAT_HISTHEAD_HISTORY: ADDED INTERVAL PARTITION SYS_P366 (41570) VALUES LESS THAN (TO_DATE(' 2013-10-25 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  
  589. Thu Oct 24 15:58:34 2013  
  590. LOGMINER: Completed dictionary load for session 1  
  591. Thu Oct 24 15:58:35 2013  
  592. LOGMINER: End mining logfiles during dictionary load for session 1  
  593. Thu Oct 24 15:59:05 2013  
  594. CAPTURE OGG$CAP_EXT1: Session Restart SCN: 1099496843064  
  595. Thu Oct 24 15:59:07 2013  
  596. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 20, /other/archivelog/1_20_824217892.dbf  
  597. Thu Oct 24 15:59:11 2013  
  598. LOGMINER: End   mining logfile for session 1 thread 1 sequence 20, /other/archivelog/1_20_824217892.dbf  
  599. knlbmEnq: all subscribers are inactive - stop enqueuing. Capture Name: OGG$CAP_EXT1  
  600. Thu Oct 24 15:59:13 2013  
  601. CAPTURE OGG$CAP_EXT1: Start SCN: 1099496843998 (0xff1e6ade.000000ff)  
  602. Thu Oct 24 15:59:13 2013  
  603. CAPTURE OGG$CAP_EXT1: First SCN: 1099496843064 (0xff1e6738.000000ff)  
  604. Thu Oct 24 15:59:13 2013  
  605. CAPTURE OGG$CAP_EXT1: Required Checkpoint SCN: 0 (0x0000.00000000)  
  606. Thu Oct 24 15:59:13 2013  
  607. CAPTURE OGG$CAP_EXT1: Captured SCN: 1099496843064 (0xff1e6738.000000ff)  
  608. Thu Oct 24 15:59:13 2013  
  609. CAPTURE OGG$CAP_EXT1: Applied SCN: 0 (0x0000.00000000)  
  610. Thu Oct 24 15:59:13 2013  
  611. CAPTURE OGG$CAP_EXT1: Capture Type: LOCAL  
  612. Thu Oct 24 15:59:13 2013  
  613. CAPTURE OGG$CAP_EXT1: Logminer Id: 1  
  614. Thu Oct 24 15:59:13 2013  
  615. CAPTURE OGG$CAP_EXT1: Source Database: TRAVEL  
  616. Thu Oct 24 15:59:13 2013  
  617. CAPTURE OGG$CAP_EXT1: Source Root Name: ORCL  
  618. Thu Oct 24 15:59:14 2013  
  619. CAPTURE OGG$CAP_EXT1: Bytes of Redo Mined: 35043788  
  620. Thu Oct 24 15:59:14 2013  
  621. CAPTURE OGG$CAP_EXT1: SGA Used: 11048152  
  622. Thu Oct 24 15:59:14 2013  
  623. CAPTURE OGG$CAP_EXT1: SGA Allocated: 31997944  
  624. Thu Oct 24 15:59:14 2013  
  625. GoldenGate CAPTURE CP01 for OGG$CAP_EXT1 with pid=45, OS id=4632 stopped  
  626. Thu Oct 24 15:59:15 2013  
  627. GoldenGate Capture:OGG$CAP_EXT1 cleared _SKIP_LCR_FOR_ASSERT  
  628. Thu Oct 24 15:59:15 2013  
  629. GoldenGate Capture: OGG$CAP_EXT1  
  630. setting IGNORE_UNSUPPORTED_TABLE for table (*)  
  631. Thu Oct 24 15:59:15 2013  
  632. GoldenGate Capture:OGG$CAP_EXT1 setting _FILTER_PARTIAL_ROLLBACK:  
  633. Thu Oct 24 15:59:15 2013  
  634.   
  635.   
  636. Thu Oct 24 15:59:15 2013  
  637. Setting XOUT_CLIENT_EXISTS to Y for Capture: OGG$CAP_EXT1  
  638. Thu Oct 24 15:59:54 2013  
  639. GoldenGate Capture:OGG$CAP_EXT1 cleared _SKIP_LCR_FOR_ASSERT  
  640. Thu Oct 24 15:59:54 2013  
  641. GoldenGate Capture: OGG$CAP_EXT1  
  642. setting IGNORE_UNSUPPORTED_TABLE for table (*)  
  643. Thu Oct 24 15:59:54 2013  
  644. GoldenGate Capture:OGG$CAP_EXT1 setting _FILTER_PARTIAL_ROLLBACK:  
  645. Thu Oct 24 15:59:54 2013  
  646.   
  647.   
  648. Thu Oct 24 15:59:54 2013  
  649. Setting XOUT_CLIENT_EXISTS to Y for Capture: OGG$CAP_EXT1  
  650. Thu Oct 24 15:59:56 2013  
  651. Starting persistent Logminer Session with sid = 1 for GoldenGate Capture OGG$CAP_EXT1 (OS id=4932).  
  652. LOGMINER: Parameters summary for session# = 1  
  653. LOGMINER: Number of processes = 4, Transaction Chunk Size = 1  
  654. LOGMINER: Memory Size = 449M, Checkpoint interval = 1000M  
  655. LOGMINER: SpillScn 0, ResetLogScn 1720082  
  656. Thu Oct 24 15:59:56 2013  
  657. LOGMINER: summary for session# = 1  
  658. LOGMINER: StartScn: 1099496843064 (0x00ff.ff1e6738)  
  659. LOGMINER: EndScn: 0  
  660. LOGMINER: HighConsumedScn: 1099496843998 (0x00ff.ff1e6ade)  
  661. LOGMINER: session_flag: 0x4f0  
  662. LOGMINER: DDL CKPT is on.  
  663. LOGMINER: Read buffers: 64  
  664. LOGMINER: Memory LWM limit: 10M, LWM 435M, 96%  
  665. LOGMINER: Memory Release Limit: 15000  
  666. LOGMINER: LowCkptScn: 0 (0x0000.00000000)  
  667. LOGMINER: HighCkptScn: 0 (0x0000.00000000)  
  668. LOGMINER: SkipScn: 1099496843064 (0x00ff.ff1e6738)  
  669. Thu Oct 24 15:59:56 2013  
  670. LOGMINER: session#=1 (OGG$CAP_EXT1), reader MS00 pid=58 OS id=4936 sid=59 started  
  671. Thu Oct 24 15:59:56 2013  
  672. LOGMINER: session#=1 (OGG$CAP_EXT1), builder MS01 pid=59 OS id=4940 sid=62 started  
  673. Thu Oct 24 15:59:56 2013  
  674. LOGMINER: session#=1 (OGG$CAP_EXT1), preparer MS02 pid=60 OS id=4944 sid=65 started  
  675. Thu Oct 24 15:59:56 2013  
  676. LOGMINER: session#=1 (OGG$CAP_EXT1), preparer MS03 pid=61 OS id=4948 sid=69 started  
  677. Thu Oct 24 16:00:21 2013  
  678.   
  679.   
  680. OGG Capture client successfully attached to GoldenGate Capture OGG$CAP_EXT1 to receive uncommitted changes with pid=57 OS id=4932.  
  681. Thu Oct 24 16:00:21 2013  
  682. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 20, /other/archivelog/1_20_824217892.dbf  
  683. Thu Oct 24 16:00:22 2013  
  684. LOGMINER: End   mining logfile for session 1 thread 1 sequence 20, /other/archivelog/1_20_824217892.dbf  
  685. Thu Oct 24 16:00:22 2013  
  686. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 21, /other/archivelog/1_21_824217892.dbf  
  687. Thu Oct 24 16:00:25 2013  
  688. LOGMINER: End   mining logfile for session 1 thread 1 sequence 21, /other/archivelog/1_21_824217892.dbf  
  689. Thu Oct 24 16:00:25 2013  
  690. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 22, /other/archivelog/1_22_824217892.dbf  
  691. Thu Oct 24 16:00:40 2013  
  692. Thread 1 advanced to log sequence 29 (LGWR switch)  
  693.   Current log# 2 seq# 29 mem# 0: /oradata/orcl/redo02.log  
  694. Thu Oct 24 16:00:47 2013  
  695. Archived Log entry 10 added for thread 1 sequence 28 ID 0x5095899f dest 1:  
  696. Thu Oct 24 16:00:53 2013  
  697. LOGMINER: End   mining logfile for session 1 thread 1 sequence 22, /other/archivelog/1_22_824217892.dbf  
  698. Thu Oct 24 16:00:53 2013  
  699. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 23, /other/archivelog/1_23_824217892.dbf  
  700. Thu Oct 24 16:00:59 2013  
  701. LOGMINER: End   mining logfile for session 1 thread 1 sequence 23, /other/archivelog/1_23_824217892.dbf  
  702. Thu Oct 24 16:00:59 2013  
  703. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 24, /other/archivelog/1_24_824217892.dbf  
  704. Thu Oct 24 16:01:07 2013  
  705. LOGMINER: End   mining logfile for session 1 thread 1 sequence 24, /other/archivelog/1_24_824217892.dbf  
  706. Thu Oct 24 16:01:07 2013  
  707. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 25, /other/archivelog/1_25_824217892.dbf  
  708. Thu Oct 24 16:01:13 2013  
  709. LOGMINER: End   mining logfile for session 1 thread 1 sequence 25, /other/archivelog/1_25_824217892.dbf  
  710. Thu Oct 24 16:01:13 2013  
  711. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 26, /other/archivelog/1_26_824217892.dbf  
  712. Thu Oct 24 16:01:22 2013  
  713. LOGMINER: End   mining logfile for session 1 thread 1 sequence 26, /other/archivelog/1_26_824217892.dbf  
  714. Thu Oct 24 16:01:22 2013  
  715. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 27, /oradata/orcl/redo03.log  
  716. Thu Oct 24 16:01:22 2013  
  717. LOGMINER: End   mining logfile for session 1 thread 1 sequence 27, /oradata/orcl/redo03.log  
  718. Thu Oct 24 16:01:22 2013  
  719. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 28, /oradata/orcl/redo01.log  
  720. Thu Oct 24 16:01:28 2013  
  721. LOGMINER: End   mining logfile for session 1 thread 1 sequence 28, /oradata/orcl/redo01.log  
  722. Thu Oct 24 16:01:28 2013  
  723. LOGMINER: Begin mining logfile for session 1 thread 1 sequence 29, /oradata/orcl/redo02.log  
  724. </pre>  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Oracle Database 12c的安装步骤如下: 1. 下载Oracle Database 12c安装文件并解压缩。 2. 运行安装程序,选择“Install database software only”选项。 3. 选择安装类型,可以选择“Enterprise Edition”或“Standard Edition”。 4. 选择安装位置和Oracle Home。 5. 配置Oracle Inventory。 6. 配置Oracle Base。 7. 配置Oracle Database。 8. 选择数据库类型和字符集。 9. 配置数据库身份验证。 10. 配置数据库存储选项。 11. 配置数据库网络选项。 12. 配置数据库安全选项。 13. 配置数据库管理选项。 14. 配置数据库备份和恢复选项。 15. 配置数据库性能选项。 16. 配置数据库高可用性选项。 17. 配置数据库扩展选项。 18. 配置数据库完成后,进行安装。 19. 安装完成后,进行数据库初始化和配置。 20. 完成数据库安装和配置后,可以开始使用Oracle Database 12c。 ### 回答2: Oracle Database 12c是一款运行于多种平台上的关系型数据库管理系统。在安装Oracle Database 12c之前,我们需要准备好以下一些东西: 1. 确定安装平台:Oracle Database 12c安装程序可在Windows、Linux、Unix等多种平台上运行,需要选择与该平台相对应的安装程序。 2. 下载安装程序:我们需要从Oracle官网上下载安装程序,下载后需要进行解压。 3. 准备安装前置条件:Oracle Database 12c的安装前需要进行必要的系统设置和安装前置包。这些安装前置条件包括创建Oracle用户、设置环境变量、安装依赖包等。 4. 准备安装目录:在安装程序运行之前,需要确保所创建的Oracle用户有足够的权限来创建所需的目录和文件。 完成这些准备工作后,可以开始进行Oracle Database 12c的安装了。安装过程大致分为以下几步: 1. 运行安装程序:通过命令行或图形界面运行解压后的安装程序。 2. 设置安装选项:在安装程序开始运行后,需要进行一些基本的设置,如选择安装类型、指定安装目录、设置数据库字符集、指定SYSDBA密码等。 3. 安装软件:进行安装程序操作后,开始安装软件,在这一过程中需要进行多项配置和设置。 4. 创建数据库:安装程序完成后,需要创建一个Oracle Database 12c实例。在创建数据库时,我们可以指定数据库名、数据文件和日志文件路径等。 5. 设置监听器:安装完成后,需要配置一个监听程序来接收与Oracle Database 12c实例的通信。 6. 测试数据库:在完成上述步骤后,需要对Oracle Database 12c进行测试。 总之,安装Oracle Database 12c需要进行多项准备工作,安装过程中需要根据提示进行一系列设置和配置,安装成功后,需要对数据库进行测试以确保其正常运行。 ### 回答3: Oracle Database 12c是一种高可用性的企业级数据库,它可以在很多不同的操作系统中运行。只要按照以下步骤,您就可以成功地安装Oracle Database 12c。 1. 首先要安装VMware或VirtualBox。这样可以在一台主机上同时运行不同操作系统的虚拟机。 2. 在虚拟机中选择您想要安装Oracle Database 12c的操作系统版本,如Windows Server 2012、CentOS等。 3. 下载并解压Oracle Database 12c软件。这个软件包包含了安装Oracle Database系统的所有必要文件。 4. 在虚拟机上运行“setup.exe”来开始安装系统。在安装过程中,系统会提示您输入数据库名称和系统管理员密码等信息。请务必牢记这些信息。 5. 确认完所有设置后,请继续处理安装并等待安装完毕。 6. 安装完成后,您需要配置Oracle Database 12c。请使用DBCA(Database Configuration Assistant)工具来配置系统。在这个配置过程中,您可以选择要创建哪些表和访问权限,并设置性能参数。 7. 当您的Oracle Database 12c成功配置后,请检查网络连接和数据安全设置。这将确保数据库的正常运作和安全性。 总之,Oracle Database 12c的安装是一个复杂而耗时的过程。但只要通过逐一遵循上述步骤并留意安全性设置,在正确的指导下安装和配置,您就可以成功地构建并使用一个高可用性的企业级数据库系统。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值