Reg. Extracting DML/ DDL Stmnts.

hi ,
I dont have access to Db . So I apologise straight away for not trying out the code myself to interpret and scrutinise.
The code is to extract DML / DDL stmnts from all_procedures. and I have tried a sample (select stmnt) of it . Please let me know if its wrong or working fine.
create or replace procedure sp_identify_stmnts (i_table in varchar2)
is
i_text varchar2(32767);
begin
select REGEXP_SUBSTR(replace(text,chr(10)),'select+;$',1,1000,'i') into i_text from ALL_PROCEDURES where
PROCEDURE_NAME=i_table ;
dbms_output.put_line('text is ' || i_text);
end;
/Oracle 10g release 2

It won't work, because ALL_PROCEDURES has no TEXT column with code.
I think you have to use something like this:
select text
from all_source
where type='PROCEDURE'
  and owner=:proc_owner
  and name=:proc_name
order by line -- code is splittet in multiple lines
;

Similar Messages

  • Anyone know of a good OLAP DML/DDL  tutorial?  (and NOT reference guide)

    In addition to Analytic Workspace, I am trying to learn how to build cubes using just the OLAP DML / DDL language.
    Oracle and others have published a great deal of reference material on the language of OLAP DML / DDL but I can't find any real tutorials that guide me logically thru the process of creating cubes and all that goes with it (defining dimensions, hierarchies, measures, calculations etc..) All the reference material is spread out in bits and pieces and difficult to efficiently learn from. Does anyone have any good OLAP DML / DDL tutorial links they could recommend? Thanks.

    John W wrote:
    Oracle and others have published a great deal of reference material on the language of OLAP DML / DDL but I can't find any real tutorials that guide me logically thru the process of creating cubes and all that goes with it (defining dimensions, hierarchies, measures, calculations etc..) All the reference material is spread out in bits and pieces and difficult to efficiently learn from. Does anyone have any good OLAP DML / DDL tutorial links they could recommend? Thanks.This is a very difficult task. The OLAP DML/DDL only supports basic multidimensional variables, dimensions (very primitive), and relations. The externally visible cubes and dimensions are a construct of a lot of component objects (a dimension has many primitive dimensions and relations put together to create the higher level DIMENSION that goes with a cube; a cube has multiple variables and other pieces that get put together) in the AW, plus a bunch of metadata objects in the Oracle dictionary.
    You really don't want to try to create your own and expect them to interact with the OLAPI interfaces. It is possible to construct your own version of things, but you'd also have to do your own view generation, etc. There are applications out there that are created from scratch, but they are completely from scratch (including whatever interactions they have via SQL). Whatever you create will not work with any of the Oracle-provided interfaces, nor the recently-announced Simba MDX package.
    Jim

  • Any issue if we writing DML,DDL and TCL commands in stored functions.

    Hi,
    Is there any issue if we writing DML,DDL and TCL commands in stored function with help of PRAGMA AUTONOMOUS_TRANSACTION.

    Hi,
    Yes, Ofcourse. Using DML Statements Inside the function using PRAGMA AUTONOMOUS_TRANSACTION is not highly
    recommended. It is recommended to use AUTONOMOUS TRANSACTION for error logging purposes only, and
    when used in an disorganized way it may lead to dead locks and we will have problem when examining the
    Trace Files.
    Thanks,
    Shankar

  • Creating DML/DDL Handler

    I need to create dml/ddl handlers, i have searched a lot, but yet to find such materiel to learn. I need from beginner to advance level material with examples. Can any one help me. I have thousands of DEQUEUE MESSAGES to handle.

    thank no error code work fine.
    Mohd.hamza :)

  • Wht are best paramters for (EXTRACT & REPLICAT) DDL & DML paramters

    hi,
    I just need paramter for DDL & DML paramters for extract & replicat paramter.
    i have one schema that has 500 tables but i have to replicate only 300 tables. so kindly tell me its relative & best one paramter for these tables.
    THanks in Advance
    Regards,
    AMSII
    Edited by: AMSI on May 9, 2013 3:13 AM
    Edited by: AMSI on May 9, 2013 3:22 AM
    Edited by: AMSI on May 10, 2013 12:09 AM

    AMSI wrote:
    hi,
    I just need paramter for DDL & DML paramters for extract & replicat paramter.
    i have one schema that has 500 tables but i have to replicate only 300 tables. so kindly tell me its relative & best one paramter for these tables.
    For sample parameter files for GoldenGate, see "Oracle GoldenGate "best practices" sample parameter files" in note 1321696.1
    To replicate only 300 of 500 total tables, you would probably want to generate the list of the tables using sql, saving the result to a file, and "include" that file in the prm file. For example,
    <blockquote>
    --dirprm/capture.prm
    extract capture
    ...etc..
    include tables.prm
    </blockquote>
    And then a second file, generated by running a sql script on the tables you want to replicate,
    <blockquote>
    --dirprm/tables.prm
    table schema.table1;
    table schema.table2;
    </blockquote>

  • Best parameters setting for DML & DDL?

    hi,
    i am implementing the DDL & DML replication using OGG. i just wanted to know what should the best parameters for extract, data pump(source) & Replicate process(Target).
    while my source and target having same structure.
    & i have to replicate 277 tables.
    thanks.
    Regards,
    AMSII
    Edited by: AMSI on Apr 8, 2013 8:12 PM

    To improve the bulk DML operation via goldengate replication:
    Using BATCHSQL
    In default mode the Replicat process will apply SQL to the target database, one statement at a time. This often causes a performance bottleneck where the Replicat process cannot apply the changes quickly enough, compared to the rate at which the Extract process delivers the data. Despite configuring additional Replicat processes, performance may still be a problem.
    Configuration Options
    GoldenGate has addressed this issue through the use of the BATCHSQL Replicat configuration parameter. As the name implies, BATCHSQL organizes similar SQLs into batches and applies them all at once. The batches are assembled into arrays in a memory queue on the target database server, ready to be applied.
    Similar SQL statements would be those that perform a specific operation type (insert, update, or delete) against the same target table, having the same column list. For example, multiple inserts into table A would be in a different batch from inserts into table B, as would updates on table A or B. Furthermore, referential constraints are considered by GoldenGate where dependant transactions in different batches are executed first, depicting the order in which batches are executed. Despite the referential integrity constraints, BATCHSQL can increase Replicat performance significantly.
    BATCHSQL BATCHESPERQUEUE 100, OPSPERBATCH 2000
    Regards
    Rajabaskar

  • How to extract a ddl from a dump database.

    Hi
    I'm new to Oracle. I got a dump file from a Oracle database. I need to get from it the ddl to recreate the database on another Oracle server.
    How do i do it? Please show me details steps how to do it.
    Thanks.

    If you are in UNIX, save this code to a script and try it.
    # impshow2sql   Tries to convert output of an IMP SHOW=Y command into a
    #               usage SQL script.
    # To use:
    #               Start a Unix script session and import with show=Y thus:
    #               $ imp user/password file=exportfile show=Y log=/tmp/showfile
    #               You now have the SHOW=Y output in /tmp/showfile .
    #               Run this script against this file thus:
    #               $ ./impshow2sql /tmp/showfile > /tmp/imp.sql
    #               The file /tmp/imp.sql should now contain the main SQL for
    #               the IMPORT.
    #               You can edit this as required.
    # Note:         This script may split lines incorrectly for some statements
    #               so it is best to check the output.
    # CONSTRAINT "" problem:
    #               You can use this script to help get the SQL from an export
    #               then correct it if it includes bad SQL such as CONSTRAINT "".
    #               Eg:
    #                Use the steps above to get a SQL script and then
    #                $ sed -e 's/CONSTRAINT ""//' infile > outfile
    #               Now precreate all the objects and import the export file.
    # Extracting Specific Statements only:
    #     It is fairly easy to change the script to extract certain statements
    #     only. For statements you do NOT want to extract change N=1 to N=0
    #      Eg: To extract CREATE TRIGGER statements only:
    #          a) Change all lines to set N=0.
    #              Eg: / \"CREATE /    { N=0; }
    #                 This stops CREATE statements being output.
    #          b) Add a line (After the general CREATE line above):
    #               / \"CREATE TRIGGER/     { N=1; }
    #             This flags that we SHOULD output CREATE TRIGGER statements.
    #          c) Run the script as described to get CREATE TRIGGER statements.
    awk '  BEGIN     { prev=";" }
         / \"CREATE /      { N=1; }
         / \"ALTER /      { N=1; }
         / \"ANALYZE /      { N=1; }
         / \"GRANT /       { N=1; }
         / \"COMMENT /   { N=1; }
         / \"AUDIT /     { N=1; }
         N==1 { printf "\n/\n\n"; N++ }
         /\"$/ { prev=""
              if (N==0) next;
              s=index( $0, "\"" );
                       if ( s!=0 ) {
                   printf "%s",substr( $0,s+1,length( substr($0,s+1))-1 )
                   prev=substr($0,length($0)-1,1 );
              if (length($0)<78) printf( "\n" );
               }'  $*

  • Extract all DDL of all dbms_jobs

    Hi ,
    We did export and import of all the schemas , But it didnt import all the dbms_jobs.
    So we have to do it manually , Is there any simple way to extract DDL of all the Jobs.
    Regards
    Kumar

    And your Oracle version number is?
    Define "DDL of all dbms_jobs."
    Do you mean the job definitions (dba_jobs.what) or the procedural code executed by those jobs?

  • Extract MV DDL

    Hi all,
    I can get the DDL for the marterialized view and it's almost complete. It's missing all of the column aliases. That makes it pretty much unusable for my MVs as almost all of the columns are aggregates. Anything I can do to get it to generate the column aliases?
    Thanks,
    LewisC

    Lewis,
    Are you still having hassles with the MV DDL? I've just created a few and extracted DDL, but don't seem to duplicate your issue. Please can you drop me a note with your DDL or equivalent, so that I can look into it more?
    Regards
    Sue

  • Tool to do syntax check on DML/DDL

    Is there any tool in Toad or SQL Plus or any other IDE to do a syntax check on DDL/DML statements without executing them ?

    In my Toad Verson 7.6, there is a built in formatter namely -> Formatter Plus v4.8.0. This will format any given SQL Statement/ PL/SQL Code.
    Also if your statement is wrong syntactically, the formatter will throw an error.
    You just have to type the code and right click -> Formatting Tools -> Format Code. Alas your code gets formatted neatly!!
    Thanks,
    Jithendra

  • Undo tablespace/redo logs/ DML /DDL/ truncate/ delete

    1st scenario:Delete
    10 rows in a table
    Delete 5 rows
    5 rows in the table
    savepoint sp1
    Delete 3 rows
    2 rows in the table
    rollback to savepoint sp1
    5 rows in the table
    So all DML affected values are noted in the undotablespace and present in the undotablespace until a commit is issued.And also redo logs make note of DML statements.AM I RIGHT??????
    2nd scenario-truncate
    10 rows in table
    savepoint sp1
    truncate
    0 rows in table
    rollback to savepoint sp1 gives this error
    ORA-01086: savepoint 'SP2' never established
    So is truncate [are all DDL statements] noted in the undo tablespace and are they noted in the redologs????????
    I KNOW THAT A DML IS NOT AUTOCOMMIT AND A DDL IS AN AUTOCOMMIT

    When you issue a delete is the data really deleted ?WHen you issue a delete, there is a before image of the data recorded to the undo area. (And that undo information itself is forwarded to the redo.) Then the data is actually deleted from the 'current' block as represented in memory.
    Therefore, the data is actually deleted, but can be recovered by rolling back until a commit occurs.
    It can also be recovered using flashback techniques which simply rebuild from the undo.
    When you issue a truncate is the data really deleted
    or is the high water mark pointer for a datablock lost?The data is not deleted. Therefore there is no undo record of the data 'removal' to be rolled back.
    The high water mark pointer is reset. It's old value is in the undo, but the truncate is a DDL command, and it is preceded and followed by an implicit commit, voiding any potential rollback request.
    I mean you can always rollback a delete and not
    rollback a truncate?Correct - using standard techniques, deletes can be rolled back and truncates can not.

  • Last dml,ddl

    hi
    Can I find the last time of dml or ddl of specıfıc table?

    desc dba_objects
    Name Null? Type
    OWNER VARCHAR2(30)
    OBJECT_NAME VARCHAR2(128)
    SUBOBJECT_NAME VARCHAR2(30)
    OBJECT_ID NUMBER
    DATA_OBJECT_ID NUMBER
    OBJECT_TYPE VARCHAR2(18)
    CREATED DATE
    ---> LAST_DDL_TIME DATE
    TIMESTAMP VARCHAR2(19)
    STATUS VARCHAR2(7)
    TEMPORARY VARCHAR2(1)
    GENERATED VARCHAR2(1)
    SECONDARY VARCHAR2(1)
    Is there any chance you will ever resolve any doc question on your own by not misusing this forum structurally as a free documentation lookup service?
    Why can't you do anything on your own?
    Why are you so lazy?
    Sybrand Bakker
    Senior Oracle DBA

  • DML DDL Message

    Hello Expert,
    In My application when users press the &ldquo;Run&rdquo; it is executing the DML or DDL statement. What I am looking for it is to display the message that&rsquo;s come after executing this statement. I am want the same message which appear when you run the DML or DDL statement from SQL command prompt: For example
    SQL&gt; Create table xyx (a varchar2(1))
    Table created. --- {color:#ff0000}"I want to display this message on my application"{color}
    SQL&gt; Drop table xyx
    Table dropped. --- {color:#ff0000}"I want to display this message on my application"{color}
    SQL&gt; update tb_HR set firstname= 'SAGAR' where AGSNO = 2461059
    0 row(s) updated. --- {color:#ff0000}"I want to display this message on my application"{color}
    Hopefully my example will explain what I am looking for.
    Sagar

    Sagor,
    Your submit process can use the success message to display whatever you want. Create hidden items or application level varaibles to hold the name of the object you are working with and form the message using them.
    Keep Smiling,
    Bob R

  • Extract trigger DDL from 8i database

    Hi All,
    We are in process of migrating our 8i database's to 11g. for some reason , we excluded triggers while import. now , I need to get all the ddl's from 8i database.
    I think , dbms_metatadata is not there in 8i. using the following script did not help , as it does not append owner to trigger name. this script was taken from Mr Kyte book
    select
    'create or replace trigger ''' ||
    trigger_name || '''' || chr(10)||
    decode( substr( trigger_type, 1, 1 ),
    'A', 'AFTER', 'B', 'BEFORE', 'I', 'INSTEAD OF' ) ||
    chr(10) ||
    triggering_event || chr(10) ||
    'ON ''' || table_owner || '''.''' ||
    table_name || '' || chr(10) ||
    decode( instr( trigger_type, 'EACH ROW' ), 0, null,
    'FOR EACH ROW' ) || chr(10) ,
    trigger_body
    from dba_triggersRegards

    Thanks solomon, but , it still need some correction , I guess..
    create or replace trigger 'UFP"."UFP_TW_COST_AIUDR'
    AFTER
    INSERT OR UPDATE OR DELETE
    ON 'UFP'.'UFP_TGT_WKSHT_COST
    FOR EACH ROW
    DECLARE
       action_flag UFP.UFP_TGT_WKSHT_COST_AUDIT.ACTION%TYPE;
    BEGIN
       IF DELETING THEN
          insert into UFP.UFP_TGT_WKSHT_COST_AUDIT
             (PROJNO, REVNO, LINE_NUMBER, OPTION_NUMBER, COST, SKU_NUMBER, USERID,
             TIMESTAMP, ACTION)
             values
             (:old.PROJNO, :old.REVNO, :old.LINE_NUMBER, :old.OPTION_NUMBER, :old.COST, :old.SKU_NUMBER, USER,
             SYSDATE, 'DEL');
       ELSE
          IF INSERTING THEN
             action_flag := 'INS';
          ELSE
             action_flag := 'UPD';
          END IF;
          insert into UFP.UFP_TGT_WKSHT_COST_AUDIT
             (PROJNO, REVNO, LINE_NUMBER, OPTION_NUMBER, COST, SKU_NUMBER, USERID,
             TIMESTAMP, ACTION)
             values
             (:new.PROJNO, :new.REVNO, :new.LINE_NUMBER, :new.OPTION_NUMBER, :new.COST, :new.SKU_NUMBER, USER,
             SYSDATE, action_flag);
       END IF;
    END;
    create or replace trigger 'UFP"."UFP_TW_COST_AIUDR'
    ERROR at line 1:
    ORA-04070: invalid trigger name

  • Gg dml ddl 单线同步,replicat 进程lag出现长时间等待

    如题,进而导致源端数据库上的更新无法及时同步到目标端
    一下是目标端replicat 进程的状态信息
    GGSCI (db02) 26> info all
    Program Status Group Lag at Chkpt Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED DPE2 00:00:00 27:43:07
    EXTRACT STOPPED EXT22 00:00:00 27:43:33
    REPLICAT RUNNING REP1 03:12:01 09:18:47
    GGSCI (db02) 27> info rep1
    REPLICAT REP1 Last Started 2012-10-18 12:10 Status RUNNING
    Checkpoint Lag 03:12:01 (updated 09:18:51 ago)
    Log Read Checkpoint File /ggs/dirdat/rt000000
    2012-10-19 03:31:33.930735 RBA 95309202
    GGSCI (db02) 28> info rep1,detail
    REPLICAT REP1 Last Started 2012-10-18 12:10 Status RUNNING
    Checkpoint Lag 03:12:01 (updated 09:19:01 ago)
    Log Read Checkpoint File /ggs/dirdat/rt000000
    2012-10-19 03:31:33.930735 RBA 95309202
    Extract Source Begin End
    /ggs/dirdat/rt000000 * Initialized * 2012-10-19 03:31
    /ggs/dirdat/rt000000 * Initialized * First Record
    Current directory /ggs
    Report file /ggs/dirrpt/REP1.rpt
    Parameter file /ggs/dirprm/rep1.prm
    Checkpoint file /ggs/dirchk/REP1.cpr
    Checkpoint table ggs.checkpoint
    Process file /ggs/dirpcs/REP1.pcr
    Stdout file /ggs/dirout/REP1.out
    Error log /ggs/ggserr.log
    GGSCI (db02) 29> send rep1,status
    Sending STATUS request to REPLICAT REP1 ...
    Current status: Processing data
    Sequence #: 0
    RBA: 99742942
    12489 records in current transaction
    GGSCI (db02) 30> info rep1,showch
    REPLICAT REP1 Last Started 2012-10-18 12:10 Status RUNNING
    Checkpoint Lag 03:12:01 (updated 09:19:25 ago)
    Log Read Checkpoint File /ggs/dirdat/rt000000
    2012-10-19 03:31:33.930735 RBA 95309202
    Current Checkpoint Detail:
    Read Checkpoint #1
    GGS Log Trail
    Startup Checkpoint (starting position in the data source):
    Sequence #: 0
    RBA: 0
    Timestamp: Not Available
    Extract Trail: /ggs/dirdat/rt
    Current Checkpoint (position of last record read in the data source):
    Sequence #: 0
    RBA: 95309202
    Timestamp: 2012-10-19 03:31:33.930735
    Extract Trail: /ggs/dirdat/rt
    CSN state information:
    CRC: F9-3C-30-92
    Latest CSN: 216472052
    Latest TXN: 10.25.1410526
    Latest CSN of finished TXNs: 216472052
    Completed TXNs: 10.25.1410526
    Header:
    Version = 2
    Record Source = A
    Type = 1
    # Input Checkpoints = 1
    # Output Checkpoints = 0
    File Information:
    Block Size = 2048
    Max Blocks = 100
    Record Length = 2048
    Current Offset = 0
    Configuration:
    Data Source = 0
    Transaction Integrity = -1
    Task Type = 0
    Database Checkpoint:
    Checkpoint table = ggs.checkpoint
    Key = 3326595731 (0xc647d293)
    Create Time = 2012-10-18 11:55:42
    Status:
    Start Time = 2012-10-18 12:10:20
    Last Update Time = 2012-10-19 06:43:35
    Stop Status = A
    Last Result = 0
    SQL> select ADDR,STATUS,START_TIME,NAME,USED_UBLK from v$transaction;
    ADDR STATUS START_TIME NAME USED_UBLK
    000000052F0F7800 ACTIVE 10/19/12 06:43:35 319
    SQL> select * from v$lock where addr='000000052F0F7800';
    ADDR KADDR SID TYPE ID1 ID2 LMODE REQUEST CTIME BLOCK
    000000052F0F7800 000000052F0F7838 1079 TX 655388 1286321 6 0 29768 0
    SQL> select sid,sql_id,serial#,username from v$session;
    SQL> select SQL_ID,SQL_TEXT from v$sqltext where sql_id='fwt1pvjtrqa56' order by piece;
    SQL_ID SQL_TEXT
    fwt1pvjtrqa56 UPDATE "TEST"."TEST_HISTORY" SET "COMMUNITY" = :a0,"S
    ============================================================================
    GGSCI (db02) 31> info rep1
    REPLICAT rep1 Last Started 2012-10-18 12:10 Status RUNNING
    Checkpoint Lag 03:12:01 (updated 09:34:03 ago)
    Log Read Checkpoint File /ggs/dirdat/rt000000
    2012-10-19 03:31:33.930735 RBA 95309202
    GGSCI (db02) 32> send rep1,status
    Sending STATUS request to REPLICAT REP1 ...
    Current status: Processing data
    Sequence #: 0
    RBA: 99859919
    12817 records in current transaction
    Logdump 233 >pos 99859919
    Reading forward from RBA 99859919
    Logdump 234 >
    Logdump 234 >
    Logdump 234 >
    Logdump 234 >n
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 336 (x0150) IO Time : 2012/10/19 03:31:34.850.740
    IOType : 115 (x73) OrigNode : 255 (xff)
    TransInd : . (x01) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 0 AuditPos : 72232920
    Continued : N (x00) RecCount : 1 (x01)
    2012/10/19 03:31:34.850.740 GGSPKUpdate Len 336 RBA 99859919
    Name: TEST.TEST_HISTORY
    After Image: Partition 4 G m
    00a7 0000 0004 ffff 0000 0001 000d 0000 0009 e6b0 | ....................
    91e7 a791 e8b7 af00 0200 0700 0000 03e5 8f8c 0003 | ....................
    0010 0000 000c 3e3d 327c 7c3c 3d31 3030 3030 0004 | ......>=2||<=10000..
    000b 0000 0007 7368 676d 3034 3200 0500 1700 0000 | ......shgm042.......
    13e5 9bbd e7be 8ee5 ae9d e5b1 b1e5 b882 e58c ba31 | ...................1
    0006 0015 0000 3230 3132 2d31 302d 3139 3a30 333a | ......2012-10-19:03:
    3332 3a30 3200 0700 0c00 0000 0832 3031 3231 3031 | 32:02........2012101
    Before Image Len 169 (x000000a9)
    Logdump 235 >n
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: B (x42)
    RecLength : 172 (x00ac) IO Time : 2012/10/19 03:31:34.850.740
    IOType : 15 (x0f) OrigNode : 255 (xff)
    TransInd : . (x01) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 965 AuditPos : 72233360
    Continued : N (x00) RecCount : 1 (x01)
    2012/10/19 03:31:34.850.740 FieldComp Len 172 RBA 99860362
    Name: TEST.TEST_HISTORY
    Before Image: Partition 4 G m
    0000 0004 ffff 0000 0001 0013 0000 000f e5ae 9de9 | ....................
    92a2 e6b9 84e6 b5a6 e8b7 af00 0200 0700 0000 03e5 | ....................
    8f8c 0003 0010 0000 000c 3e3d 327c 7c3c 3d31 3030 | ..........>=2||<=100
    3030 0004 000b 0000 0007 7368 676d 3030 3200 0500 | 00........shgm002...
    1600 0000 12e5 9bbd e7be 8ee5 ae9d e5b1 b1e8 bf91 | ....................
    e983 8a00 0600 1500 0032 3031 322d 3130 2d31 393a | .........2012-10-19:
    3033 3a33 323a 3032 0007 000c 0000 0008 3230 3132 | 03:32:02........2012
    Column 0 (x0000), Len 4 (x0004)

    SQL> select ADDR,STATUS,START_TIME,NAME,USED_UBLK from v$transaction;
    ADDR STATUS START_TIME NAME USED_UBLK
    000000052F0F7800 ACTIVE 10/19/12 06:43:35 319
    由于INFO的LAG是基于checkpoint的,所以如果出现大事务的情况Long Running Transactions (LRTs),事务可能长时间不提交COMMIT。 该事务可能变成一个最老而又最无聊的数据由于一直不COMMIT而无法写出。 这将造成EXTRACT/PUMP/REPLICAT实际处理这个大事务的时间点远落后于该大事务实际commit的时间点。 对于REPLICAT可以使用MAXTRANSOPS 参数来减少LAG。

Maybe you are looking for

  • Power View can only print one sheet at a time with Power BI Mobile Apps

    I have PowerView for Excel 2013 on Power BI Preview. I have 2 reports sheet and 2 hidden data sheets on Excel. I'm getting error on Mobile Application in Windows 8 RT tablet. I should see 4 reports in preview page, but I see 2 correct reports and 2 e

  • Password reset problems in planning and shared services

    We had all our repository passwords expire today(by some default).We had to reset them(and set them to not expire!). According to the epm 11 admin guide, we have to reconfigure database for all applications using the config tool-which we did. Now in

  • Why can't Adobe Premiere Pro CC 2014 Time remap Audio and Video together?

    In case you didn't notice, my question is WHY.  I don't know why Premiere Pro can't do this.  From what I understand at the moment, the only way to time-remap audio in any way shape or form using Adobe software is through Adobe After Effects, which m

  • Could not load file or assembly 'System.EnterpriseServices

    Hello Guys, I"m new to Oracle and .Net, I'm trying to display data in a gridview but when I run my Asp.net application I get this error: "*System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=1.0.3300.0

  • External DVD +/- DL Drive & DVD SP 4

    The drive in my machine is gone and I want to purchase a drive that will allow me to burn directly from DVDSP and thus manage the layer break point. Can anyone advise a drive available in UK/Ireland that will allow me to do this. Im using a MacBook P