Schema level and table level supplemental logging

Hello,
I'm setting up bi- directional DML replication between two oracle databases. I have enabled supplemental logging database level by running this command-
SQL>alter database add supplemental log data (primary key) columns;
Database altered.
SQL> select SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI from v$database;
SUPPLEME SUP SUP
IMPLICIT YES NO
-My question is should I enable supplemental logging table level also(for DML replication only)? should I run the below command also?
GGSCI (db1) 1> DBLOGIN USERID ggs_admin, PASSWORD ggs_admin
Successfully logged into database.
GGSCI (db1) 2> ADD TRANDATA schema.<table-name>
what is the deference between schema level and table level supplemental logging?

For Oracle, ADD TRANDATA by default enables table-level supplemental logging. The supplemental log group includes one of the following sets of columns, in the listed order of priority, depending on what is defined on the table:
1. Primary key
2. First unique key alphanumerically with no virtual columns, no UDTs, no functionbased
columns, and no nullable columns
3. First unique key alphanumerically with no virtual columns, no UDTs, or no functionbased
columns, but can include nullable columns
4. If none of the preceding key types exist (even though there might be other types of keys
defined on the table) Oracle GoldenGate constructs a pseudo key of all columns that
the database allows to be used in a unique key, excluding virtual columns, UDTs,
function-based columns, and any columns that are explicitly excluded from the Oracle
GoldenGate configuration.
The command issues an ALTER TABLE command with an ADD SUPPLEMENTAL LOG DATA clause that
is appropriate for the type of unique constraint (or lack of one) that is defined for the table.
When to use ADD TRANDATA for an Oracle source database
Use ADD TRANDATA only if you are not using the Oracle GoldenGate DDL replication feature.
If you are using the Oracle GoldenGate DDL replication feature, use the ADD SCHEMATRANDATA command to log the required supplemental data. It is possible to use ADD
TRANDATA when DDL support is enabled, but only if you can guarantee one of the following:
● You can stop DML activity on any and all tables before users or applications perform DDL on them.
● You cannot stop DML activity before the DDL occurs, but you can guarantee that:
❍ There is no possibility that users or applications will issue DDL that adds new tables whose names satisfy an explicit or wildcarded specification in a TABLE or MAP
statement.
❍ There is no possibility that users or applications will issue DDL that changes the key definitions of any tables that are already in the Oracle GoldenGate configuration.
ADD SCHEMATRANDATA ensures replication continuity should DML ever occur on an object for which DDL has just been performed.
You can use ADD TRANDATA even when using ADD SCHEMATRANDATA if you need to use the COLS option to log any non-key columns, such as those needed for FILTER statements and KEYCOLS clauses in the TABLE and MAP parameters.
Additional requirements when using ADD TRANDATA
Besides table-level logging, minimal supplemental logging must be enabled at the database level in order for Oracle GoldenGate to process updates to primary keys and
chained rows. This must be done through the database interface, not through Oracle GoldenGate. You can enable minimal supplemental logging by issuing the following DDL
statement:
SQL> alter database add supplemental log data;
To verify that supplemental logging is enabled at the database level, issue the following statement:
SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;
The output of the query must be YES or IMPLICIT. LOG_DATA_MIN must be explicitly set, because it is not enabled automatically when other LOG_DATA options are set.
If you required more details refer Oracle® GoldenGate Windows and UNIX Reference Guide 11g Release 2 (11.2.1.0.0)

Similar Messages

  • [svn] 696: Added package level and class level javadoc, where is was missing.

    Revision: 696
    Author: [email protected]
    Date: 2008-02-29 11:49:08 -0800 (Fri, 29 Feb 2008)
    Log Message:
    Added package level and class level javadoc, where is was missing.
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AnonymousObjectGraph.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Array.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtResource.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/LineNumberMapped.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MovieClip.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Primitive.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Script.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/XML.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/XMLList.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/package.html

    Hi,
    The javadoc is generated to directory /home/usr/doc and I have added a package.html as mentioned. But no change found.
    There is also no package directory in the /doc.
    My original problem is that in the index.html, there are three frames, the right hand side frame showing the overwiew. In the overview page, there is the table of packages with two columns, the left columns showing the package name, while the right column showing blank.
    How to generate comments to the right column in the table in the right hand side frame in the index.html?
    Thanks,
    Wing

  • Dunning Old dinning level and dunning level

    Hi experts,
    I have one issue in dunning. the issue is where the dunning history for particular customer shows as old dunning level as 3 and dunning level as 2.
    i have checked  the customer master there is change in the dunning procdure. But the document and master data shows the correct dunning level with the new procdure.
    so i didnt understand what is the OLD dunning level and dunning level  for the same cusomer. the issue is only with one customer.
    I have also checked with old procdure with same customer in table MHNK. there are some notices done. but how come the current invoice shows the old dunning level for the same invoice.
    can any once explain me how to proceed.
    Regards
    Ashok

    Hi
    Thnks for the reply so we need to apply this note for making the old dunning level and dunning level makes equal after you run the program.
    Also one more doubt, since i have observed that the dunning after the parameters entered. looks like this
    Parameters were maintained
    Dunning selection executed, job deleted
    Dunning notice printed, job deleted.
    the above doesnt means that they will update the old dunning level right.
    Regards
    Ashok

  • How to load item level and location level member in demantra

    This is in context where we are not using any integration of demantra with either Ebiz or E1 system.
    Data is present in flat file.
    As per i know, integration interface can only export the data for item level and location level but can not import data for these level.
    the second thing i know is that when we create data model then load_data.bat file should have been created in Demand Planner/Desktop directory. But this didn't got created. So i am not able to use load_data.bat file for uploading data.
    The third place ,i think is from worksheet thru edit method ( i am not sure about this).
    But i want to upload the data in bulk for item level and location level. Can it be done without any customization i.e without creating any sql loader file etc ??

    Hi Abhishek,
    The standard practice to load data for items/ locations and sales is through the DATA MODEL definition only. One should use LOAD_DATA.BAT file in normal scenario for loading data into Demantra staging tables from tEXT files.
    In case you are having trouble with loading data using LOAD_DATA.BAT file, then do the following:
    - modify your DM definition to Data tables instead of flat files
    - use SQL loader to upload data in correct format into Demantra's staging tables "T_SRC_XXX"
    - Run EBS Full Download workflow to download data into demantra's main tables.
    Integration interfaces should not be used to load basic sales data into Demantra.
    Hope this helps.
    Thanks
    Raj
    (http://oracledemantra.blogspot.com)

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Owner of schema SYS_REPL and table RS_REPLICATION_COMPONENTS

    Hello Tobias,
    in your SLT guides is stated that the schema SYS_REPL gets created during the first use of SLT.
    You recommend to use the user SYSTEM or another user with similar privileges for the initial creation.
    Since i'm about to implement a proper auth.concept I just came over the database owner concept.
    Which means, if i use a non-technical user to create the schema SYS_REPL the schema belongs to that user and
    will be deleted as soon as the user is deleted from the DB.
    I'm wondering why the Schema SYS_REPL and table RS_REPLICATION_COMPONENTS aren't created as
    repository object, which is owned by _SYS_REPO after activation and could be transported in a delivery unit?
    Why is this way not used by SAP?
    Thanks for your feedback
    Johannes

    As regards the Numbers in Type column , i have posted this to Db forum....:
    Number in column Type in view Dba_ddl_locks...
    I'll be glad if you provide me with an answer.....
    Thanks......
    Sim

  • What are Header Level, Item Level and Schedule Level data?

    Hi ,
    Can anyone plz explain me what are Header Level, Item Level and Schedule Level Data in the R/3 system , means what actually is the data structure they contain. If is there any document or links available plz do send. Urgent.
    Thanks
    Prashant singhal

    Hi Prashant,
      check this link.
    [Extractors;
    Regards,
    Harold.

  • Capture Excise on Purchase through 1st Level and 2nd Level

    Dear all,
    Please clear about the  Functionality to Capture Excise on Purchase through 1st Level and 2nd Level Dealer Invices in details please.
    Regards,
    Vishal

    hi,
    for dealer invoice we first do j1iex here we capture the excise duties
    then we do migo &
    again we do j1iex to post the excise invoice.

  • DIFFERENCE BETWEEN SINGLE LEVEL AND MULTI LEVEL COSTING

    Sir,'
    Please explain the difference between Single Level and Multi Level Costing in Detail
    thanking You

    While using material ledger, we can use the single level or multi-level price determination for valuation of inventory.
    Procurement processes are used in Product Cost Controlling to determine procurement costs and to present those costs. Purchase Order, for example, is single-level procurement and Production is multilevel procurement.
    Single-level material price determination calculates the periodic unit price for a material. The standard price and the cumulative single-level differences of the period are taken into account. Single-level material price determination takes into account the differences that arise directly when a material is procured.
    Multilevel price determination calculates the periodic unit price for a material. The standard price, the single-level differences cumulated in the period, the differences between planned and actual prices, as well as input material differences (multilevel differences) are all taken into account.
    Single-level material price determination  is a prerequisite for Multi-level price determination.

  • Count at bin level and quant level?

    what is the difference between cycle count at bin level and quant level?
    Thx

    If you use cycle counting inventory at quant level, the system does not set the inventory block for the entire storage bin. It sets the block instead for the quant to be inventoried.
    You count only the selected materials, not all materials in the storage bin. If you manage storage bins with mixed storage, these storage bins are accessible for stock movements with other quants.
    There can be open transfer orders for all materials that were not flagged for cycle counting in the inventory document. You can also create transfer orders for these materials during the inventory.
    The system saves the inventory data at quant level.
    In a stock movement, if you move a quant from one storage bin to another, the system deletes the quant in the source storage bin and creates a new quant in the destination storage bin.
    Because the system stores the inventory data for the cycle counting inventory at quant level in the quant data, any inventory data that you previously entered is lost in this type of stock transfer.

  • Difference b/w mat level and Sku level in AFS

    hi
    in AFS terminology what does the term  material level and SKU level mean? and what does SKU valve mean?

    Hi
    AFS materials are attached with Grids in which using characteristics ,dimensional values are entered.
    Ex Shirt is manufactured in different sizes say L,XL,S,M and colours say blue,green and white.
    Size and colour as used as dimensions(characters)and l,xl,blue... used as dimensional values.
    If stock of shirt is say 25 pcs.out of which L Blue is 10 and XL green is 15 pcs.
    When we note stock at material level ,we say as 25
    at Grid level we say L BLUE shirt is 10 pcs which SKU level.
    Hope I am clear.
    Regards,
    Raj.K

  • Infoobject for technical level and professionel level

    Now, we want to create infoobject for technical level (e.g. high, middle, primary) and professionel level(e.g. high, middle, primary), should we create these kind of infoobject with time dependent, e.g. let's say, last year person A has technical level with middle, but this year start person A was promoted to high level.
    1) should we consider about this kind of infoobjects with time dependent?
    2) should we make 0datefrom and 0dateto as attr. of infoobject technical level and professionel level?
    which idea is correct? Pls share your experience. Thanks!
    Edited by: hi ni on Apr 19, 2008 5:37 AM

    Hi Nilesh,
    For overall release, please tick the overall release indicator for the PR document type.
    Path > MM>PUR>PR>Define Document Types. For the particular document type tick the overall release indicator.
    This can be done to the particular release group as well
    Path->MM>PUR>PR>Release Procedure>Procedure with Classification>Set Up Procedure with Classification. For the particular release group tick the Overall release indicator.
    Regards,
    Raj

  • Deletion of  the Purchase order at the item level and header level

    Hi Gurus,
    We are using SRM 7.0 system.
    In standard SRM 7.0, the PO can be deleted at header level and at line item level. I need to know the differnce between these deletions. I found that if the PO is deleted at the line item level the  deletion indicator (DEL_IND) field in BBP_PDIGP table is 'X'.
    But i could not find any clue to find the PO which is deleted at the header level. I need to code this logic in a report .
    Kindly provide your valuable inputs.
    Thanks,
    RK

    There are two ways:
    1. From the Header by clicking the DELETE button. And this is only possible when the PO is not yet output to Vendor.
    2. The second way is to delete all the items in the PO. This is possible any time irrespective of the output sent to the vendor. But provided if there are no follow-on documents for this.
    Some times we could see the Deletion icon active in Header  , it is because there is change version existing.
    When a PO is created and ordered, this is the first version of the PO. And this PO is sent to the backend and output is sent to
    the vendor.
    Now when you make a change and hold it, SRM creates the 2ndversion of this PO. Then when you delete this PO, SRM marks this 2nd
    version of PO to closed. Also you receive the pop-op confirmation that PO was deleted at this point. However, this PO deletion is never sent to the backend and output is not sent to the vendor since this PO has never been ordered. This version is the Change Version. This is shown after the PO number field if you pay attention on the screen.
    When you search for the PO, it will show you the ordered PO (No change version shown after the PO number). The system does not show you the deleted version which is version 2. That is why you see status is 'ordered'.

  • Client level, plant level and material level batch

    Hi,
    Can any body tell me wat is the actual meaning of
    !) Client level batch,
    2) plant level batch,
    3) material level batch
    with exa. please.
    Thanks
    Nilesh Ithape

    Hi,
    Below is the extract from the IMG Documentstion..
    ====================================================================
    Batch numbers can be unique at the following levels:
    at plant level
    at material level
    at client level for a material
    If you choose plant level, the batch number is unique in conjunction with the respective material and the plant. If you choose material level, the batch number is unique together with the material. At client level, the batch number is unique in the whole client.
    To change the batch level, you have to start a conversion program. This program first checks whether conversion is possible and outputs an error log containing all batch numbers that occur more than once at the new level. Now you need to manually transfer these batch records to batch numbers within Inventory Management using a transfer posting 'material to material'.
    If you change the level from plant level to a higher level, it is possible that batches with the same batch numbers in different plants are actually identical.  In this case, all you have to do is remove stocks (including previous period stocks) so that all batches with the same batch numbers, except one, can be reorganized.
    When you convert from plant level to material level, the material is then to be handled in batches in all plants in which it is defined.
    =========================================================
    Hope this helps..
    Regards,
    Siva

  • Need to know schema name and table name associated with a column-URGENT

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ……
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    Angelina,
    Your question has been discussed several times previously in this forum. Search this forum's archives for "getTableName". Oracle JDBC driver does not implement this (because "it is not feasible" -- according to Oracle).
    First of all, I would suggest that you could probably change your application's logic so that you would not need this functionality (but I guess that is not feasible either, right :-)
    Alternatively, you could try querying the Oracle database data dictionary.
    Good Luck,
    Avi.

Maybe you are looking for

  • Ipod "cannot read or write to___'s Ipod"

    Hey, I'm getting a very frustrating error... and was wondering what on earth it means... and why I can't use any more than 2.89 Gigs of my 60 gig ipod... after trying to place more on it... pretty much of anything... it says that it can't read or wri

  • How do I keep an application window hidden when not accessed?

    I have an application running constantly to control my FW audio interface outputs etc. I use system events applescripts to control it's UI with a USB controller (PowerMate) - and that by necessity brings the application window to the front every time

  • Setting cursor on particular field

    Hi, Lets take two fields as field A and Field B. Based on the input given to field A, field B will be mandatory. So if Field B is not entered then it should show error message. Its working fine. but after displaying error message, the cursor should b

  • Sharing to FLICKR

    I received Photoshop Elements for Christmas.  I cannot get photos ot share to Flickr.  Facebook was no problem.  Sometimes I get an error saying there is nternet connection problem or the firewall might be blocking access.  This doesn't make sense as

  • Best Way to Request a Feature (64 bit DNG Converter)?

    Noting my findings in this thread that the 64 bit build of Camera Raw (on a multi-core Windows 7 x64 machine) just about halves the time for converting a group of files, and assuming the same performance gains would be seen if the DNG Converter were