How to check two schemas

Hi all,
In my environment, 2 schemas are exists on same server.
One schema is base version and other is also same as first one with little bit structural changes.
The first schema is performing very well and 2nd schema is working very poorly as performance concerned.
I was rolled back the changes 2nd schema to make it look like 1st schema and still it is performing poorly.
Please provide me suggestions on where to check for the problem?
Thanks,
Sandeep

Hi,
I do not think so schema perform badly?
You meant to say queries running on objects in Schema2 is performing badly?
If yes then look at the tkprof of some of the queries on objects of Schema2.
Most of the time when you do replication like this, there are chances that you miss out the index. But this is not in your case or is it?
Regards
Anurag

Similar Messages

  • How to check vendor schema group for info record for third party vendor

    Hi Expert,
    How to check vendor schema group that assigned in info record for third party vendor?
    Thanks

    Hi,
    Vendor schema group is not assigned in info record, It is assigned in purchasing data view of vendor master ( Check in XK03 )
    You can check in Vendor master- XK03- Purchasing data.
    hope it will help u.
    Deepak

  • How to compare two schemas in Oracle sql developer

    Hello,
    I need to compare both the data and schemas details (columns etc) between two schemas on different databases (connections).
    What is the easiest and most efficient way to do this? Hopefully in Oracle Sql Developer or Sql Plus?
    Thanks.

    In SQL Developer go to Tools -> Schema Diff !
    in SQL* Plus you will need to write PL/SQL for this.
    Amardeep Sidhu

  • How to check two internal table fields

    Hi all,
    I need to check two internal table fields are equal or not means which statement i can use.
    Not internal table ,table contents i need to check i.e
    it1-pernr = it2-pernr.
    like this
    if i put loop it'll check one table field for one loop.
    if i put two loop means some fields reflecting 2 in it1 then it'll pring 4 times like that.i want to print whatever in internal table only .
    pernr(0001) two times there in it1 means
    it1-pernr = it2-pernr then
    it's printing
    0001
    0001
    0001
    0001
    like this but actually in it1 only two records.
    Anybody know solution.tell me.
    Thanks
    Regards,
    Nandha

    Hi,
    code for your view
    data : begin of it1 occurs 0,
           z_pernr like pa9012-pernr,
           z_fac_c like pa9012-zz_fac_c,
           end of it1.
    data : it2 like Zsc1 occurs 0 with header line,
    It1 data
    pernr   FAC C
    0001   5555
    0001   5555
    0002   4444
    0003   3333
    0006   8888
    It2 data
    pernr   FAC C
    0001   5555
    0001   5555
    0005   6666
    0003   3333
    output(My code)
    loop at it2 .
    loop at it1 where pernr = it2-pernr.
      write:/01 it1-1pernr,
            10 it1-z_fac_c.
    endloop.
    endloop.
    out put i need.
    0001   5555
    0001   5555
    0002   4444
    0003   3333
    Thanks,
    Nandha

  • How to check two fields are matching in a validator?

    I have a "Password" field and a "Conform password" field. I like to check whether these two fields are matching in the password_validate(FacesContext context, UIComponent component, Object value) method. How to do that?
    Thanks.

    The actual problem is you can't get the value of one
    component into the next component's validator
    method.I do not find this to be true. For example, in the blog that I gave the URL to, you can see this code
    public void endCalendar_validate(FacesContext context, UIComponent component, Object value) {
    Date endDate = (Date)value;
    Date startDate = startCalendar.getSelectedDate();
    Here the validator for the endCalendar component is getting the value from a different component, the startCalendar component.

  • How to check in schema weather table is created by user or system?

    For list outing the tables in schema
    I will execute the any below queries
    SELECT DISTINCT OWNER, OBJECT_NAME    FROM DBA_OBJECTS   WHERE OBJECT_TYPE = 'TABLE'   AND OWNER = 'SCHEMA NAME'
    OR
    SELECT * FROM ALL_TABLES;
    or
    SELECT * FROM USER_TABLES;
    or
    SELECT * FROM USER_TABLES;
    after generating this how we find that in schema which table is created by system and user??

    leen wrote:
    For list outing the tables in schema
    I will execute the any below queries
    SELECT DISTINCT OWNER, OBJECT_NAME    FROM DBA_OBJECTS   WHERE OBJECT_TYPE = 'TABLE'   AND OWNER = 'SCHEMA NAME'
    OR
    SELECT * FROM ALL_TABLES;
    or
    SELECT * FROM USER_TABLES;
    or
    SELECT * FROM USER_TABLES;
    after generating this how we find that in schema which table is created by system and user??
    Your question makes no sense.
    Tables are ALWAYS created by a USER. That user could be SYS, SYSTEM or any other user in the DB.

  • How to check two IPs in the same subnetwork?

    It seems java.net package doesn't provide this mothod.
    thx.

    I'm not sure I understand what your asking for. You want to determine if to ip addresses are in the same subnet?
    If so, you need to know the netmask-configuration for the two addresses. Then compare the bits in the two ip-addresses in all positions where the netmask has bit its bit set.
    In many cases netmask is set to 255.255.255.0, so you can compare the leading three parts of the two ip addresses. However, this simple check will give false results when the netmask is not 255.255.255.0.

  • How to check two contitions in for loop

    Hello all
    Here I am having a for loop where I am reading from a cursor and I want to run this loop
    till the number in :P102_NO
    FOR emp_rec in emp_cur and i in 1 to :P102_NO loop
    insert into EMP(EMP_ID,DEATH_DATE) values(emp_rec.emp_id,:P102_DATE)
    end loop;
    but it is showing a error:
    ORA-06550: line 5, column 24: PLS-00103: Encountered the symbol "AND" when expecting one of the following: . ( * @ % & - + / at loop mod remainder rem .. || multiset
    do anybody have any idea about it?
    Thanks
    Tauceef

    Tauceef wrote:
    Hello all
    Here I am having a for loop where I am reading from a cursor and I want to run this loop
    till the number in :P102_NO
    FOR emp_rec in emp_cur and i in 1 to :P102_NO loop
    insert into EMP(EMP_ID,DEATH_DATE) values(emp_rec.emp_id,:P102_DATE)
    end loop;
    but it is showing a error:
    ORA-06550: line 5, column 24: PLS-00103: Encountered the symbol "AND" when expecting one of the following: . ( * @ % & - + / at loop mod remainder rem .. || multiset
    do anybody have any idea about it?
    Thanks
    TauceefYou would need 2 loops, but the ideal way to do this would be in a single SQL statement... no loops, no cursors.
    FOR emp_rec in emp_cur
    LOOP
       FOR i in 1 to :P102_NO
       LOOP
          <stuff and or things>
       END LOOP;
    END LOOP;However you aren't making reference to your variable (i) anywhere ... so what exactly are you trying to do?
    How about you show us your cursor, the data you have ... and the data you want when whatever the heck you're trying to do 'works'. We'll be in a much better-er position to help you in that case.

  • How to check two conditions while loading to target

    Hi All,
    I am New to ODI could you please help me in solving this issue.
    Actually I scenario is
    I am loading from DB2/As400 to oracle
    I have so many itemsno's in source table, and I have to check
    if count(itemno)>1 and uom='CS' then UOM_flag = 'N' else 'Y'

    Hi,
    Welcome to ODI world! lol
    At the column UOM_flag mapping use a "case when" structure (I'm assuming you Work/Stage area is at Oracle)
    I believe will be something like:
    Case when count(itemno) > 1 then 'N'
    else 'Y'
    end
    ODI will define, automatically, all necessary columns as group by expression...
    Does it help you?
    Message was edited by:
    Cezar_Santos

  • Compare two schemas in oracle 11g

    Hi All,
    Can any one please help me how to compare two schemas in oracle 11g.
    Thanks
    Edited by: 793914 on Oct 22, 2010 9:33 AM

    You can do it with gridcontrol. Look for dictionary comparisons and dictionary baselines.
    If you don't have gridcontrol, you can also use SQLDeveloper (free download on otn).
    There are two ways to do it with SQLDeveloper.
    1) Use Tools->Database Diff. However, you need a change management license to use this functionality. I've never used this.
    The free way is to...
    2) Use Tools->Database Export. Run it once for each schema and make sure the "Show Schema" option is NOT checked before exporting the schema. Also make sure you don't export data. You can choose which types of objects to export as well.
    Once you have the two export files for the two schemas then simply run a diff tool on your platform. Use the diff command line for linux or winDiff or something similar in windows.

  • Check two array collection items

    hi guys
    how to check two array collection items so that if any change
    in any of the item i can update the datagrid
    i already had refresh problem
    any idea
    karthik.k

    If the AC is made [Bindable] and if it is being used as a
    dataProvider for the DG changes to the AC should be reflected
    automatically in the DG.
    If you are trying to feed two AC into a DG and really want to
    or need to do something manually, you can have a handler for the
    collectionChange event and do the work there.
    See FB3 help sys (or LiveDocs online) on
    changeCollection.

  • How to check whether transport path exist between two systems in sld??

    Hi,
         I have two systems namely 'A' and 'B' and created business systems for both of them.Then i created transport path between the two systems.How i check whether what i have done is right in SLD.

    <b>WRT to CMS</b>
    am not sure with this but u can try:
    1. Start CMS: http://<host>:<J2EE Engine http port>/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms.
    2. Goto lansdscape configurator and check there
    Message was edited by:
            Prabhu  S

  • JAXB: How to unmarshal from xml contains two schemas?

    Hi, all.
    My question is in subject.
    Ex.)
    schema1.xsd:
    (snip)...
    <xsd:element name="xxx">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    ...(snip)
    schema2.xsd:
    (snip)...
    <xsd:element name="yyy">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="zzz" minOccurs="1" maxOccurs="1"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="zzz" type="xsd:string"/>
    if I have a xml like the following, xml validation is correct:
    sample.xml:
    (snip)...
    <ns1:xxx xmlns:ns1="...(schema1.xsd)...">
    <ns2:yyy xmlns:ns2="...(schema2.xsd)...">
    <ns2:zzz>SAMPLE</ns2:zzz>
    </ns2:yyy>
    </ns1:xxx>
    I want to unmarshal from this xml using JAXB, but actually ths xxx didn't have any tag in List class given getAny() method, because xxx doesn't know about yyy, I think.
    These schemas cannot change as requirements of customer.
    How to unmarshal from xml contains two schemas using JAXB?
    tx.

    I solved it myself.
    JAXBContext can be specified many context path at same time.
    Ex.)
    context = JAXBContext.newInstance("package1:package2:package3...");
    So, unmarshaller can know how to choose what be instanced.
    tx.

  • How to check differences between two bpel jar files

    Hi,
    Can some one please suggest, how to check the differences between two versions of a BPEL process jar files.
    Thanks in advance!

    Hi,
    Try this,
    SELECT   cons.owner AS child_owner, cons.table_name AS child_table,
             cons.constraint_name constaint_name,
             cons.constraint_type constraint_type, col.owner parent_owner,
             col.table_name parent_table, col.column_name column_name
        FROM dba_cons_columns col, dba_constraints cons
       WHERE cons.r_owner = col.owner
         AND cons.r_constraint_name = col.constraint_name
         AND col.owner = 'MY_USER'
    ORDER BY child_table;Thanks,
    Shankar

  • How to compare two xml schemas

    Hello guys,
    How to compare two xml schemas? is there any tool for that?
    Thanksinadvance
    kavita//

    XML Files may be compared with the oracle.xml.differ.XMLDiff class.
    A file consisting of the differences in the xml files gets generated. An XSLT to convert one file to the other also gets generated.

Maybe you are looking for

  • N96 V 30.0.33 Unstable,frequent restarts, lock ups...

    Hi all. Upgraded my firmware using FOTA the day the V30 firmware was released. Ever since though I have had major issues with my N96. The previous version 20 and version 12 were stable enough and I had minimal issues with them. I have not installed a

  • Zen Micro Playli

    This is beginning to really annoy me. I can't find a simple way to create and use playlists using Windows Media 0 and my Zen Micro. While it's very easy top create a playlist in WM0 and then sync it's contents tothe Zen, how do I then play that playl

  • Trying to update the business partner using BAPI_BUPA_CENTRAL_CHANGE

    Hi all , i am tryibg to create a function module which updates the first name, last name, email id of the business partner that i already created. the return table shows zero entries and i dont find any udate being done for the business partner if i

  • Mail Crashes after Opening Window

    I bought a new MBPr with Mountain Lion (OS X 10.8.2) and migrated the data from the old MPB via a time machine backup. Everything seems to work, except for Apple Mail. When I start Mail it does not open a window; choose then "main window" in the menu

  • [SOLVED] Plymouth 0.9.2-2 prevents GDM/KDM from loading; flickers.

    Hello everyone. I just upgraded to systemd 219 (April 19, 2014) and now my system is not usable. After a reboot I am shown the Plymouth splash screen I have installed and prompted to type in my password to decrypt the disk. After doing so, the boot s