Database replication, a feature fails in replica

Hi all

I'm trying to duplicate a database. I exported/imported a few patterns to make it work without any problem, but I have a package feature fails in its execution.

The function has a slider that is used in a statement. The query looks like:

SELECT number_field as Field1, trim(mun_nom2_part||) e '|| mun_nom2) LIKE Field2, field3 as varchar2_4length_field
FROM table1...
Union
SELECT number_field as Field1, trim(mun_nom2_part||) e '|| mun_nom2) LIKE Field2, field3 as varchar2_4length_field
from table2...
Union
SELECT number_field as Field1, trim(mun_nom2_part||) e '|| mun_nom2) LIKE Field2, field3 as varchar2_4length_field
table 3...
order of Field2

Results look like:
     0             ADMINISTRATOR                     0
     8995386    Btenhs je Cas                     7185
     1421397    Hracolters                             7370
     16919       Grntdetf t Xrists                     7446
     1             [Ftwiccpt rs Ryexa]             1
     12683904  Trageà gr Gpm                     7510
     625498      Feng Tguagóz gw Kcgis        8981
     2492617    Hyxte Ivloya ef Plahogtt     8993
It runs OK in the original database, but it fails in the replica with an ORA-06502 error. If I execute select, it is OK on both databases and the result is both equal, but when the slider looped it fails on line 7 in the copy.

Any idea?

Thanks in advance.

Published by: Eva VL on June 2, 2009 06:01

I am trying to duplicate a database

Instead of walking a road heavy, why not use this approach:

http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1432274900346100233

Tags: Database

Similar Questions

  • ACS appliance 4.2 - database replication internal problem

    HelloW

    I'm yunchoul jung in Korea

    now I'm setting up ACS unit 1113 ver4.2

    in internal, primary and secondary database replication server ACS cannot repliacate the database due to the configuration of SELF (127.0.0.1) by default in the configuration of the network.

    so I have a guestion, how do I replace 127.0.0.1 address to the ip address you want or delete SELF (127.0.0.1) address

    I don't understand a procedure of solution in the documentation below.

    Thank you for your help in advance

    Problem: 127.0.0.1 is a reserved address

    You have two units of the ACS SE 1113 and replicate the database internal from the primary to the secondary.

    but you notice this error message in the secondary unit:

    Replication of database of ACS denied - incompatibility of secret shared incoming

    When you try to change the key of course AAA under Network Configuration Server error message is

    returned.

    This is due to a known bug,

    Symptom: 127.0.0.1 address appears in ACS and the replication fails

    Conditions:

    Install Acs S/W version 4.2.0.124

    Disable the network adapter

    Enable network card

    * Go to the network settings page.

    * Should see the AA server IP to be a return loop

    Workaround solution:

    For windows: remove the 127.0.0.1 entry

    For the device: back up the database, install ACS on windows, restore, delete

    the entry, make a backup and restore on the device

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?caller=pluginredirector&method=fetchBugDetails&bugId=CSCso39795

    Kind regards

    ~ JG

    Note the useful messages

  • Browsing databases of Virtual Center failed: could not connect to server NFC, can any body help me how to solve this problem please

    Browsing databases of Virtual Center failed: could not connect to server NFC, can any body help me how to solve this problem please

    Hi Mallik7, please try the following steps, you must succeed to solve the problem.

    To connect a client to vCenter directly to the ESX host error-free work.

    Files/etc/vmware/config the ESX host contain the lines:

    ------------------------------------

    authd.soapServer = 'TRUE '.

    prefvmx.consolidateDeleteNFSLocks = "TRUE" authd.proxy.vpxa - nfc = "vmware - vpxa:vpxa - nfc.

    Authd.proxy.vpxa - nfcssl = ' vmware - vpxa:vpxa - nfcssl.

    ------------------------------------

    This problem occurs when a carriage return is missing from/etc/vmware/config. To resolve this issue, go to edit/etc/vmware/config:

    1 make a backup of this file from the path - / etc/vmware/config, by running the following command:

    CP/etc/vmware/config/var/tmp /.

    2. edit/etc/vmware/config so that there is a return transport after the line:

    prefvmx.consolidateDeleteNFSLocks = 'TRUE '.

    While he reads the following:

    ---------------------------------------------

    authd.soapServer = 'TRUE '.

    prefvmx.consolidateDeleteNFSLocks = 'TRUE '.

    Authd.proxy.vpxa - nfc = "vmware - vpxa:vpxa - nfc.

    Authd.proxy.vpxa - nfcssl = ' vmware - vpxa:vpxa - nfcssl.

    ---------------------------------------------

    3. restart the management agent spend.

    Note: Make sure that you are not in your environment name resolution problems.

  • Adding to the ACS database replication

    I want to install a backup ACS4.1, the principal server has no replication of database configured on it.

    I would like to add this feature, because I have to make the primary and to replicate its database to the new backup box I put in place, to which I was able to add the feature during installation.

    So I guess my question is: how to add the functionality of replication of database on Cisco ASC4.1 - post install?

    Help, please

    Happy to help.

    Please mark the thread solved, so that others can enjoy

    Kind regards

    Prem

  • Problem with ACS 4.2 database replication

    Greetings,

    I'm not able to replicate data between two ACS SE 4.2. I get the following error:

    Inbound replication of database of ACS 'ACS_BEX_001' denied - shared secret mismatch.

    Apparently, the configuration is ok. I enclose the configuration of these two ACS.

    Hello

    The problem you see are because of the Self entered on each ACS is set to 127.0.0.1.  For replication to work, you must set all 4 entries of ACS at the same shared secret, even the self ones.  The problem is when you try to change these entries, it will tell you that you can't use 127.0.0.1, but it also won't let you change the ip address.

    The bug Id for this problem is CSCso36620.  Workaround declares that the CLI, you can use the "set ip" command to put the IP address in the initial INVESTIGATION period and it should update the self entry in the GUI.  At this point, you should be able to update the secret shared on all 4 devices.

    Let me know if you have problems to make it work.

    Thank you

    Nevin

  • Database enrollment 11.2 fails against 12.1 CRS

    I'm not able to register the database with 12cR1 CRS. Gettting error as follows,

    3.2 - bash$ /opt/oracle/product/11.2.0/db3/bin/srvctl add the d 11gr2tstdb o /opt/oracle/product/11.2.0/db3 database

    RPRC-1006: cannot add resources ora.nishtest.db for nishtest

    PRCD-1184: failed to update the configuration of the type of database to version 11.2.0.3.0

    RPRC-1071: cannot save or update resource type ora.database.type

    CRS-0245: user has insufficient privileges to perform the operation

    3.2 - bash$ /opt/oracle/product/11.2.0/db3/bin/srvctl add the d 11gr2tstdb o /opt/oracle/product/11.2.0/db3 database

    RPRC-1006: cannot add the resource ora.11gr2tstdb for 11gr2tstdb .db

    PRCD-1184: failed to update the configuration of the type of database to version 11.2.0.3.0

    RPRC-1071: cannot save or update resource type ora.database.type

    CRS-0245: user has insufficient privileges to perform the operation

    Error:

    CRS-0245: user has insufficient privileges to perform the operation

    Analyze:

    #. / status ora.database.type Pei type crsctl | grep DEFAULT_VALUE = owner

    Default_value = owner: root: rwx, pgrp:dba:rwx, other:r - group: dba:r - x, user: oracle: r - x

    Problem:

    User oracle doesnot have the permission to add the oracle resource

    Solution

    As user Root, run the following commands

    . / crsctl change type ora.database.type - attr "ATTRIBUTE = TYPE_ACL, DEFAULT_VALUE =' group: dba:r, other::r, pgrp:dba:rwx, owner: root: rwx - x, user: oracle: rwx'."

    . / crsctl change type ora.service.type - attr "ATTRIBUTE = TYPE_ACL, DEFAULT_VALUE =' group: dba:r, other::r, pgrp:dba:rwx, owner: root: rwx - x, user: oracle: rwx'."

    Then try to start the databases.

  • Oracle database 11 g 2 fails to check pre-required for packages

    I try to install Oracle database 11 g 2 for IOM.

    But sine qua non, check fails to say some packages failed rpm.

    I tried to install these missed packets but not able to do because of dependencies between packages.

    Please help me find rpm packages required for the database.

    Check this link for the list of required packages rpm for Oracle database 11 g 2.

    http://www.Oracle-base.com/articles/11g/Oracle-DB-11gr2-installation-on-Oracle-Linux-6.php

    See this link for the Linux installation steps.
    http://kamranagayev.com/2011/03/21/step-by-step-installing-Oracle11g-on-Linux/

  • Database replication ensures create a test database?

    Hello!

    Would it not possible to use replication based on a physical standby database backup to create another data base to use for testing? If I performed the RMAN backup of the database pending, moved the backup on another test server and then ran duplicate?

    Anyone know if this would be possible? If possible, the new test database controlfile would "rescue" or "primary".

    (version 11.2.0.2)


    Thank you...

    Yes it works! I tried recently on 10g so I think that on 11g won't be a problem.
    You can do it with or without duplicate. If you want to use two copies, you need not copy the backup. In fact, on 11g you have no backup at all, since now you ' current database' option to duplicate order!
    In addition, two copies will rebuild the controlfile so it will not ' emergency' or 'primary '...

    Gabriel

  • programs and features fail to respond after I installed updates

    How can I reinstall vista. The PC came with Vista pre-installed. Since the installation of updates, a large number of systems are not particularly programs and features.  I tried the system restore, but it doesn't seem to work. It's a laptop: emachines (Acer) E5100. Any help much appreciated.

    Try this first.

    Tune Up

    Internet Explorer

     

    To improve performance for IE, you can reset internet Explorer to the factory settings. This will disable memory addons chewing and bar tools, etc. that you've installed over time.

    In Internet Explorer click on Tools in the bar and then Internet Optionscommand. Go to the Advanced tab, and then click the Reset button.
     
     
    Or disable/remove specific ones, in Internet Explorer click on Tools for button on the command bar - Manage the Addons - enable or disable Addons - select the addin - Remove or disable the button.
     
     
    There's a Fixit
     

    Troubleshoot Internet Explorer to IE quick, safe and stable

    http://support.Microsoft.com/mats/ie_performance_and_safety/en-us

     

    For the visit of the list the most comprehensive

    http://support.Microsoft.com/FixIt/en-us

    When you choose to download, choose the option to run on another computer. You can then save it to a folder on your hard drive. Open the folder, open the folder fix this laptop and run Run Fix It. It will contain all 27 FixIt.

     
    Other memory hogs
     
     
    You probably many useless auto startup programs. You can disable these programs.
     
     
    Click Start - all programs - Accessories - run and type
     
    msconfig
    
     
    Then go to the Startup tab uncheck the things you don't need.
     
    Use the command line column to find info on the file, if it does not use display menu - Select the columnsdisplay. Use the name of the folder that contains the file and right click - Properties - Details tab to see what it is.
     

    Explorer

    Explorer (explorer.exe) is the program that is the start menu and taskbar, windows folder and the office (which is a folder window).

    The Explorer is built on addin programs called Extensions of Shell. The standard is provided by Microsoft, but programs add their own.

     
    • Download Autoruns http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
    • Close the windows explore
    • Start Autoruns by right-clicking and choose Run as administrator
    • Click on the Options menu - entries and Filter Options to hide Microsoft tick and clear to understand empty slots
    • Go to the explore tab and uncheck everything to the left.
    • Reset
     

    Difficulty of the Windows system to the performance issues on Windows computers slow Fixit

    Automatically troubleshoot and fix problems of Windows performance. Enhance, optimize and speed up Windows computers and make slow PC faster.
     

    http://support.Microsoft.com/mats/slow_windows_performance/en-us

    For the visit of the list the most comprehensive

    http://support.Microsoft.com/FixIt/en-us

    When you choose to download, choose the option to run on another computer. You can then save it to a folder on your hard drive. Open the folder, open the folder fix this laptop and run Run Fix It. It will contain all 27 FixIt.

    And try Advanced Clean Boot and Startup Repair (show log)

    Tip clean boot

    If the above does not help.

    Download Autoruns http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx

    Start the program by right-clicking and choosing run as administrator and click on the menu Options - Filter Options and check hide Microsoft entries and disable include the empty slots. Uncheck the box just to the left.

    Reset. If this resolves your wake problem half of the items until you find the one that.

     

    Startup Repair

    If your computer has a single operating system installed, repeatedly press the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you need to try again. [Correction to start - Help and Support].

    In the Display Options Options Advanced startup, use the arrow keys to highlight repair your computerand press ENTER.

    Select the Startup Repair tool.

    Startup Repair makes a log file. See C:\Windows\System32\LogFiles\Srt\SrtTrail.txt.

    To access if Windows does not start, in the Advanced Boot Options screen, use the arrow keys to select repair your computerand press ENTER.

    Select command prompt.

    Type

    type C:\Windows\System32\LogFiles\Srt\SrtTrail.txt | more

    .

  • Some Gmail features failed to load due to a problem with Internet connectivity.

    This error message appears both with Firefox and Chrome when using G mail. Also if it works at all.
    switching to compose for the project just takes a long time or stop working.
    No problem with G mail using Internet Explorer or Safari.
    I have used Firefox for years and want to go back when I can solve this Vexing problem.

    Try to start the computer in safe mode Windows with network support (on the startup screen, press F8) as a test to see if this helps when your security software is involved.

  • Oracle Database Disaster Recovery SAN replication consistency

    Hi all

    just a quick question after a long search and not yet knowing the answer.

    What technology or configuration do I need make the eve of Oracle DB compatible on asynchronous SAN replication between cities?

    The version is Oracle Standard Edition 11 g, then the enterprise like DataGuard and GoldenGate features aren't possible?

    Entire database replication Oracle Streams don't work?

    Hello

    You can do it yourself (as everyone else used to do many years ago), to a product like dbvisit which is popular in this space (never used, but I heard good things about this). Streams can do it, but I think he uses triggers rather than redo log mining so he can have more impact on the source system.

    SAN replication is possible but probably very expensive and you should be sure it correctly handles oracle blocks - the seller must be able to tell if it is certified or not.

    See you soon,.

    Rich

  • Replication of ACS and integration with the Active directory database

    Hi all

    I have to configure two ACS SE with the internal database replication. I have also a server active directory that must integrate with ACS. My doubt is that I need to configure the IP address of the ACS during installation of the remote agent on active directory or only the primary ACS

    No need to give the IP of two ACS. Give the primary IP of ACS.

    Kind regards

    ~ JG

    Note the useful messages

  • ACS 4.2 to 5.4 ACS replication of databases

    Hi all

    I would like to know if its possible to install replication of databases of the Cisco ACS server ACS 5.4 4.2 Server?

    Thanks in advance

    Mohsin sarr

    Unfortunately, database replication (update of the trigger) cannot be performed because it requires the two ACS boxes to run the same code.

    If you meant migration then yes it is possible.

    Migration from ACS 4.x for ACS 5.4

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_system/5.4/user/guide/migrate.html

    Jatin kone
    -Does the rate of useful messages-

  • can't understand why an extract of the database restore fails (missing archive logs)

    Dear,

    I'm completely back up my database ensures every night with following statement.

    full backup AS BACKUPSET COMPRESSED ORCL_FULL_STBY format database tag ' / oradata/archive/fast_recovery_area/%d_%T_%s_%p_FULL_STBY' more tag ORCL_FULL_STBY archivelog delete all entries;

    I wanted to check with 'restore... Preview' if my backup is good enough to restore the database from scratch.
    result = failed!
    Reason:
    "any backup log archived for thread 1 with sequence 65 and YVERT departure from 49020676 found to restore."

    I have read the documentation oracle and articles for days, but I did not understand that even though I take online backup yesterday if I want to restore my database today I still need archival newspapers last month?

    can you please review my analysis and tell me where I am doing wrong?

    for example a piece from my last backup;

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    1008 full 199.25 M DISK 00:04:44 October 8, 15
    BP key: 1010 situation: AVAILABLE Tablet: YES Tag: ORCL_FULL_STBY
    Item name: / oradata/archive/fast_recovery_area/QIPDB1_20151008_1057_1_FULL_STBY
    List of defined backup data files 1008
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    50570723 full 1 8 October 15 /oradata/data/qipdb1/system01.dbf
    4 integer 50570723 8 October 15 /oradata/data/qipdb1/users01.dbf

    as you can see "Cash SNA" is 50570723 so tells me that my understanding if restore these backups I need archived newspapers on top of the YVERT.
    for me the best candidate is

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    65,25 M 1004 00:01 DRIVE: 24 OCTOBER 8, 15
    BP key: 1006 situation: AVAILABLE Tablet: YES Tag: ORCL_FULL_STBY
    Part name: /oradata/archive/fast_recovery_area/QIPDB1_STBY/backupset/2015_10_08/o1_mf_annnn_ORCL_FULL_STBY_c1dkfw9k_.bkp

    List of newspapers archived in backup set 1004
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 79 50310555 7 OCTOBER 15 50570723 8 OCTOBER 15

    BUT out of "restore...". Preview' RMAN stil tells me that

    any backup log archived for thread 1 with sequence 65 and YVERT departure from 49020676 found to restore
    any backup log archived for thread 1 with sequence 66 and YVERT departure from 49020693 found to restore
    any backup log archived for thread 1 with sequence 67 and YVERT departure from 49020696 found to restore
    any backup log archived for thread 1 with sequence 68 and YVERT departure from 49020761 found to restore
    any backup log archived for thread 1 with sequence 69 and YVERT departure from 49020836 found to restore
    any backup log archived for thread 1 with sequence 70 and YVERT departure from 49020919 found to restore
    any backup log archived for thread 1 with sequence 71 and YVERT departure from 49021021 found to restore
    any backup log archived for thread 1 with sequence 72 and YVERT departure from 49155291 found to restore
    any backup log archived for thread 1 with sequence 73 and YVERT departure from 49324912 found to restore
    any backup log archived for thread 1 with sequence 74 and YVERT departure from 49498102 found to restore

    When I look at V$ ARCHIVED_LOG I see seems indeed to these archived logs removed for cause of "more tag ORCL_FULL_STBY archivelog delete all entries ' that they have been deleetd after saving.
    and because of my retention policy and script; I remove the logs also archived backups that are more than 2 days.

    S SEQUENCE # FIRST_CHANGE # NEXT_CHANGE #.
    - ---------- ------------- ------------
    65 49020676 49020693 D
    A 49020693 OF 49020676 65
    D 68 49020761 49020836
    66 49020693 49020696 D
    67 49020696 49020761 D
    69 49020836 49020919 D
    70 49020919 49021021 D
    49155291 49021021 71 D
    72 49155291 49324912 D
    D 73 49324912 49498102
    74 49498102 49632131 D

    I still don't understand why rman complains of the archived logs that are for an older sequence (SNA) as my last backup
    because I was assuming that the concerned newspapers archived should have already applied to these files of data, right?

    My final goal is to deliver below for the case that we have lost everything.

    Run {}
    restore the database;
    recover the database;
    }

    Thanks in advance,
    Halit

    Hi guys,.

    I found the root cause and workaround

    RMAN-06025 - RMAN RESTORE DATABASE OVERVIEW to the backup site asks former newspaper (Doc ID 1599013.1)

    CAUSE Checkpoint_change# standby controlfile not refreshed properly.  BUG 15876029 - RESTORE PREVIEW ASKING OLD ARCHIVE LOG IN STANDBY DATABASE  Closed as DUPLICATE of  BUG 8740124 - CURRENT STANDBY REDO LOG GROUP SHOULD BE INCLUDED IN THE DATABASE BACKUP BY RMAN SOLUTION  1) Workaround is to recreate the standby controlfile.  OR  2) upgrade to 11.2.0.4 or above where Bug 8740124  is fixed  OR  3) check for availability of patch 8740124
    
  • Error: The database file location: [INS-32012] failed to create the directory.

    Hello

    I have a problem with the installation of database 11 g 2 on OL5.

    Error:

    Location of the database file: [INS-32012] failed to create the directory.

    Although

    drwxr-xr-x 2 root oinstall 4096 Apr 9 17:56 oradata

    drwxr-xr-x 3 755 oinstall 4096 Apr 9 16:27 products

    U01/app/oracle/a 755 permission

    Thank you

    Abhishek

    chmod-r 755/U01

    chown R oracle: oinstall/U01

    the second command change the user and the group owner Of/U01 (including all subdirectories and files) for oracle and oinstall respectively.

    HTH

    Tobi

    Tobi & #39; Oracle DBA s & amp; Blog of UNIX

Maybe you are looking for

  • Touchpad Synaptic on Satellite Pro A100

    I have a satellite Pro A100 equipped the touchpad above 2 weeks of age.I find that using this touchpad is very difficult to learn. It is designed to pass a large window to a small if it is typed into a corner and active or disables the return if she

  • Satellite Pro 4290 and Belkin G + MIMO - Internet access card is not possible

    I recently purchased a Belkin Wireless g MIMO notebook card to connect to my home network. The card works fine transfer files between computers, but when it connects to the Internet (regardless of the browser) it suddenly freezes with no conflict. Ho

  • My computer can't remember the IP for Ethernet settings

    Hello friends I have a laptop HP Pavilion 2301ax g6 (AMD A8 4500 m, 4 GB Ram, HDD to 500 GB, Radeon 7640 g + radeon 7670 m Dual graphics) My laptop has a "Realtech PCLe Ethernet controller Family" card for Ethernet whenever I connect the Ethernet cab

  • WebCenter Capture and UCM delete zero left in the metadata field

    HelloI have a problem with the matedado field. I need to Capture and UCM keep at zero to the left of a field, where what happens is the removal of the zero.ex:CPF field: 0348923245What's happening:CPF field: 348923245

  • How can I add/draw a circle in DC Pro?

    How to draw or add a circle in Acrobat Por DC?  The comments section is there but has no options to choose from-nothing, just empty.  It was so simple in previous versions.  Is there some sort of add-on that I need to download?  Thank you.