Goldengate:查看extract 进程状态显示No active extraction maps

环境:
源数据库:oracle database 9.2.0.4
goldengate版本
D:\Goldengate>ggsci -v
Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.4 14007863 OGGCORE_11.1.1.1.4_PLATFORMS_120503.1515
Windows (optimized), Oracle 9i on May 3 2012 18:01:12
已经配置了manager process及extract process
GGSCI (SFCTEST2) 2> view params ext
extract ext
userid gguser,password gguser
rmthost dbtest.liteonit.com, mgrport 7806
rmttrail d:\trail\tr
table SAJET.G_TEST_RESULT;目标数据库:oracle 10.2.0.5
goldgate版本
D:\goldengate>ggsci -v
Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Windows x64 (optimized), Oracle 10g on Oct  5 2011 00:28:35
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.replicat process的配置
GGSCI (DBTEST) 1> view params rep
REPLICAT rep
ASSUMETARGETDEFS
userid gguser, password gguser
map sajet.g_test_result, target sajet.g_tst_result;
然后我在源数据库开启了extract进程,对表g_test_result进行删除操作但是
查看进程状态的时候显示:
GGSCI (SFCTEST2) 3> stats extract ext
Sending STATS request to EXTRACT EXT ...
No active extraction maps.

GGSCI (SFCTEST2) 13> info trandata SAJET.G_TEST_RESULT
Logging of supplemental redo log data is disabled for table SAJET.G_TEST_RESULT.
SQL> desc g_test_result
Name                                      Null?    Type
TEST_ID                                            NUMBER
SERIAL_NUMBER                                      VARCHAR2(35)
UPDATE_TIME                                        DATE
TEST_RESULT                                        VARCHAR2(25)
PDLINE_ID                                          NUMBER
STAGE_ID                                           NUMBER
PROCESS_ID                                         NUMBER
TERMINAL_ID                                        NUMBER
WORK_ORDER                                         VARCHAR2(25)
MODEL_NAME                                         VARCHAR2(25)
PART_ID                                            NUMBER
EMP_ID                                             NUMBER
SQL>

Similar Messages

  • EC (environment Compliance ) Extraction mapping for calculations Variables

    Hello BI Gurus,
    Currently I am implementing EC (3.0) to SAP BI 7.3, part of this implementation after activating all the out box standard content running into a problem where not able to bring in Extraction mapping for calculations variables from EC to BI. I added the mapping values in EC side (BI Mapping info objects) but we dont know where this values flows into BW side. Can tell me in which data source will this mapping comes in? or do i need to add it manually or activate ? if i need to do then how can we activate??
    I went thorugh the SAP Implementaiton guide but i am not able to find any answers for my questions or sample methods on how we can do the mapping.
    Any inputs or document will be highly apperciated. Looking forward for your response.
    Kali

    Hello Experts,
    I am looking forward for response..  We are in very tight schedule to finish the project.
    Kali

  • Goldengate Extracts reads slow during Table Data Archiving and Index Rebuilding Operations.

    We have configured OGG on a  near-DR server. The extracts are configured to work in ALO Mode.
    During the day, extracts work as expected and are in sync. But during any dialy maintenance task, the extracts starts lagging, and read the same archives very slow.
    This usually happens during Table Data Archiving (DELETE from prod tables, INSERT into history tables) and during Index Rebuilding on those tables.
    Points to be noted:
    1) The Tables on which Archiving is done and whose Indexes are rebuilt are not captured by GoldenGate Extract.
    2) The extracts are configured to capture DML opeartions. Only INSERT and UPDATE operations are captured, DELETES are ignored by the extracts. Also DDL extraction is not configured.
    3) There is no connection to PROD or DR Database
    4) System functions normally all the time, but just during table data archiving and index rebuild it starts lagging.
    Q 1. As mentioned above, even though the tables are not a part of capture, the extracts lags ? What are the possible reasons for the lag ?
    Q 2. I understand that Index Rebuild is a DDL operation, then too it induces a lag into the system. how ?
    Q 3. We have been trying to find a way to overcome the lag, which ideally shouldn't have arised. Is there any extract parameter or some work around for this situation ?

    Hi Nick.W,
    The amount of redo logs generated is huge. Approximately 200-250 GB in 45-60 minutes.
    I agree that the extract has to parse the extra object-id's. During the day, there is a redo switch every 2-3 minutes. The source is a 3-Node RAC. So approximately, 80-90 archives generated in an hour.
    The reason to mention this was, that while reading these archives also, the extract would be parsing extra Object ID's, as we are capturing data only for 3 tables. The effect of parsing extract object id's should have been seen during the day also. The reason being archive size is same, amount of data is same, the number of records to be scanned is same.
    The extract slows down and read at half the speed. If normally it would take 45-50 secs to read an archive log of normal day functioning, then it would take approx 90-100 secs to read the archives of the mentioned activities.
    Regarding the 3rd point,
    a. The extract is a classic extract, the archived logs are on local file system. No ASM, NO SAN/NAS.
    b. We have added  "TRANLOGOPTIONS BUFSIZE" parameter in our extract. We'll update as soon as we see any kind of improvements.

  • GoldenGate extract from DB2 in rollforward pending mode

    Hi,
    Could anyone tell me whether it would be possible to use GoldenGate extract to extract transactions from a DB2 database in "rollforward pending mode"?
    Thanks!

    (answering this just to learn something about DB2)
    "By default, if archive logging was enabled for a database, when you issue the restore command, the database is left in a rollforward pending state. The database or tablespace in a rollforward pending state cannot be used until it is brought out of this state by applying the rollforward command."
    I would say no.

  • Unable to do Repliaction?No active ext Maps

    hi,
    All the process are running fine.but no synch. not doing replication.
    when i check the stats * then it throws the follows message.
    GGSCI (serv1) 62> stats *
    Sending STATS request to EXTRACT EMASTR ...
    No active extraction maps.
    Sending STATS request to EXTRACT PMASTR ...
    No active extraction maps.
    Regards,
    AMSII

    Source
    ----Process Manager
    PORT 7809
    PURGEOLDEXTRACTS ./dirdat/sa*, USECHECKPOINTS, MINKEEPHOURS 2
    --Extract Process
    extract emastr
    userid orclgg, password Ogg1234
    exttrail ./dirdat/em
    DBOPTIONS ALLOWUNUSEDCOLUMN
    table crisp.test_ogg;
    --Data Pump Process param
    extract pmastr
    rmthost 172.100.11.48, mgrport 7809
    rmttrail ./dirdat/pm
    passthru
    table crisp.test_ogg;
    Target
    --Replicat
    replicat rmastr
    userid orclgg, password Ogg1234
    handlecollisions
    assumetargetdefs
    allownoopupdates
    map crisp.test_ogg, target crisp.test_ogg;
    Thanks

  • Problem while activating message mapping

    Hi all,
       I am facing a problem while activating message mapping in IR.It says Object being edited by XXXX and cannot be activated.It's giving my user name itself and even it doesn't allow to go to edit mode even.But I am not opening  it twice.How to monitor all the XI users logged into the XI system and find the users using IR and ID objects.Please help in this regard.
    Thanks.

    Hi Jaya
    It is .....
    http://<host:port>/rep/support/public/LockAdminService
    Hope this helps !!!
    Regards,
    J Augastine

  • SAP data extraction mapping, where the JCO files need to be copied?

    Hi All,
    I have the following environment.
    OWB client: Windows7
    OWB server: Linux x86_64
    SAP Server: Windows Server 2003
    I need to create OWB mapping to extract data from SAP to Oracle target.
    Please let me know what are the JCO files required and where do i need to copy them?
    Do i need to copy them on both the owb client and server or is it enough to copy them on the client machine alone?
    Thanks and Regards,
    Pnreddy.

    OWB client isn't supported on Windows 64-bit, just wanted to let you know since you mentioned Windows 7..
    For the windows you will require 3 files sapjcorfc.dll, librfc32.dll and sapjco.jar. You can get them from the SAP install cd or download them from http://service.sap.com/connectors for your SAP version. You will need to have a SAPnet account to do that.
    You can place the files sapjcorfc.dll and sapjco.jar in OWB_HOME\owb\lib\int, and librfc32.dll in OWB_HOME\owb\bin and also set the PATH to reference this directories.
    For linux you will need librfcccm.so, libsapjcorfc.so and sapjco.jar. Also set the LD_LIBRARY_PATH to reference these files locations.
    If you are only extracting metadata from SAP then you need it only on the OWB client but if you plan to execute ABAP programs on the SAP system you will need to set it up on the server side.

  • GoldenGate extract in Batch mode

    I like to configure the Goldengate in a scheduler. Hence I don't want to change parameter file every time for BEGIN and END commands in the extract.
    Is there any way to sent the parameter values from unix to process the extract for only specific time
    Example
    I want to run the batch weekly
    Special run (intial load) for extract - End 14-Jan-2012 23:59
    Next run for extract Begin 15-Jan-2012 00:00 End 15-Jan-2012 23:59
    Next run for extract Begin 16-Jan-2012 00:00 End 16-Jan-2012 23:59
    Next run for extract Begin 17-Jan-2012 00:00 End 17-Jan-2012 23:59
    Please let me know how to automate the Begin and End in the the parameter file
    Thanks
    Balu S

    Script an obey file and call it along with the command line invocations you use to start manager and everything else.

  • GoldenGate Extract Process will not read from redo log with manual help

    Here is my issue.
    I have GoldenGate replication successfully setup one-way from 1 Source to Many Targets. There is 1 source extract on the DB and many pumps that push the trail file data to the Targets. Replication does work but after manual help with starting up the Source Extract process.
    If I execute the command:
    GGSCI> alter extract <source extract name> begin now
    GGSCI> view report <source extract name>
    The extract starts and reads the source trail file but will not process data, I continually see in the ggserr.log file "OGG-01515: Positioning to begin time MMM DD, YYYY, HH:MM:SS" The date and time are irrevelant for this problem.
    When I see this, I SQ*Plus into the database and look in the v$log table for the current log and sequence #.
    I return to GGSCI and issue the following command:
    GGSCI> alter extract <source extract name> thread 1 extseqno <sequence # from v$log query>
    GGSCI> start <source extract name>
    It then works as expected. Why is this so? I thought the alter extract <source extract name> begin now would do the same output.
    We do use ASM but like I said when I issue the:
    GGSCI> alter extract <source extract name> thread 1 extseqno <sequence # from v$log query>
    It works like it should.
    Very weird.
    - Jason

    Yes, supplemental logging is enabled on both the source and the targets, but why would supplemental logging on the targets have any affect on why the Source Extract on the source can't read from the source redo log?
    This is not a RAC database, rather single-instance with one thread. Also, we are using DBLOGREADER functionality as it is an 11.2.0.3 database.
    My issue is simply, when I start the source extract from being down, meaning it isn't running, I issue this command:
    alter <source extract> begin now
    start <source extract>
    view report <source extract>
    OGG-01515 Positioning to begin time <today's date and time> ie Mar 4, 2013, 3:26:39 PM. (this is repeated over and over and over)
    If I perform a
    info <source extract> detail---> I see the following:
    Log Read Checkpoint Oracle Redo Logs 2013-03-04 15:26:39 Thread 1, Seqno 0, RBA 0 (why is it showing 0, becuase it can't read the redo, WHY NOT?)
    Extract Source BEGIN END
    Not Available <today's date> <today's date> (repeat....)
    However, if I retreive the Redo Log number and I issue:
    alter spe thread 1 extseqno (redo log sequence #)
    start spe.
    Then it works okay. I have to manually tell it what redo log to begin reading from. Why?
    - Jason
    Edited by: 924317 on Mar 4, 2013 9:03 AM

  • Goldengate extracting from Archive log

    Dear All,
    We are conducting a replication of Oracle Database. Due to high load on Production server, the client is providing us a near DR database server for extraction. This database server is using Oracle Data Guard to be in Sync with Production server. Hence we will be using Archive logs shipped from Production to DR to Extract changed data. I have searched on the Net and read manuals, but I am unable to understand the how to configure OGG for this scenario. I understand that we can used Tranlogoptions parameter to extract data from Archive logs, but since the near DR database is in Mount state, how can we Log in the database using userid /password in extract process. Also we need to have Select any dictionary privileges on the database, but database is in mount state, so how to work on it??
    Awaiting eagerly for the reply.l

    For a physical standby, you can configure GG to read the archived standby logs in archive log only (ALO) mode.
    ARCHIVEDLOGONLY causes Extract to read from the archived logs exclusively, without querying or validating the logs from system views such as v$log and v$archived_log. This parameter puts Extract into Archived Log Only mode (ALO). For more information, see the Oracle GoldenGate Oracle Installation and Setup Guide.
    You can configure the Extract process to read exclusively from the archived logs. This is
    known as Archived Log Only (ALO) mode. In this mode, Extract only reads from archived
    logs that are stored in a specified location. ALO mode allows Oracle GoldenGate to use
    production logs that are shipped over to a secondary database (such as a standby) as the
    data source for Oracle GoldenGate. The online logs will not be used. Oracle GoldenGate
    will connect to the secondary database to get metadata and other required data as needed.
    As an alternative, ALO mode is supported on the production system.
    Extract automatically operates in ALO mode if it detects that the database is a physical standby.
    Lots of other info in the Oracle install guide.

  • Goldengate Extract  Hang Issue

    OS = AIX
    DB = ORACLE 11.2.0.4.0
    OGG = 11.2.1.0.6_03
    3 Primary Extract  (EXTA, EXTB, EXTC)
    oracle database instance down
    EXTA ABEND connection lost
    report : OGG-00665 OCI error Excuting single row select status (3135 connection lost
    EXTB, EXTC didn't ABNED ...... HANG , increase Time Since Chkpt
    report : OGG-00665 OCI error describe for query status (3135
    Kill EXTB, EXTC and restart,,, Running Recovery Archive.....
    Help Me
    What is the cause?

    Hi,
    You can check in the golden gate error.log ?
    Check what is extract doing whether moving ?
         e.g. SEND EXTRACT EXT* SHOWTRANS
    Did you check on Oracle Support site ?
    hth,
    Pradeep

  • Instance crash on RAC will impact goldengate extract process?

    Dear All,
    DB Version: 11.2.0.3
    GG version: 11.2.0.1
    Could you please let me know, how gg works when a instance crashes in a RAC cluster. Will extract proess get abend or extract will continue to capture
    Thank you very much in advance
    Regards
    Mvk

    If GG is configured properly for the RAC, the GG manager should start extract on the living node and there should not be any data loss.
    Please refer to Oracle documentation on how to configure GG in RAC.

  • Goldengate extract error

    when extract process starts then it has got error that is " Could not find archived log 444.arc" when ı look for that log(444),last log file is 443.arc so 444.arc is not be formed...
    have anybody got a idea why that extract process want not be formed archive log....
    Edited by: user9059707 on 28-Apr-2010 15:19

    Thanks for your respone steven !!!
    Yes, i run the extract process in GGSCI command line enviroment.
    i am trying to run this process on single machine.
    while i am trying on two different machine it display TCP/IP error 10060 ( A connection attempt failed becuase the connected party didnot propelry respond after a period of time, or establish connection failed becuase connected host has failed to respond).
    please help Steve!!!
    Regards,
    Abhishek

  • GoldenGate extract issue -  TCP/IP error 113 (No route to host)

    Hi All,
    I have created a new replicat process on a new server. The old server is to be de-commissioned. after I created the replicat process on the new server (I copied the replicat prm file from the existing server - which is to be de-commissioned to new server and changed old encrypted password with new one and DISCARDFILE location), I modified the extract parameter file on source server. I changed RMTHOST and RMTTRAIL from older server name to new server name and old location to new location. once done , I stopped the extract and ran below command:
    ADD RMTTRAIL /u01/app/ggs/dirdat/db, EXTRACT Ext1
    and then started the extract process after which I am getting this error:
    *2012-03-16 02:24:39 GGS ERROR 150 TCP/IP error 113 (No route to host).*
    *2012-03-16 02:24:39 GGS ERROR 190 PROCESS ABENDING.*
    I can very well ping both servers from both source and target. Any thoughts?
    -Onkar

    got the answer. It was firewall issue. When i turned the firewall down "service iptables stop", everything was smooth. I have raised request with the proper team to add the source ip in the target system firewall.
    -Onkar

  • Error while activating message mapping

    Hi,
    We are trying to activate message mappings and getting error as CHECK_EXCEPTION and in error details its showing that usr/sap/server.........................../classpath_resolver/Map.......................no such file or directory.........
    What can be the issue?We can activate all other objects(DT,MT,IM,etc)
    Best Regards,
    Harleen Kaur Chadha

    Hi
    Check this thread you can find the reason for this error CHECK_EXCEPTION solved here
    Activating Object in IR - Getting Null Pointer Exception
    Re: mapping test error
    Internal error while checking object Message Mapping...
    Problem Activating Mappings in the IR
    Message Mapping activation Error
    Regards
    Abhishek

Maybe you are looking for