Error: ORA-02429 after using expdp/impdp

Hi all
I have a problem: when I save my 11g database and restore the database to another name I can't drop specific index.
I get this error: ORA-02429: cannot delete the index used for the application of unique primary key.

Note: I can easily delete this index before I run backup/restore procedures.
Here are the steps.

(1) creation of database D1
(2) Save:
expdp * schemas = D1 dumpfile = D1.dmp logfile = D1.log *.
(3) create a new db user
CREATE A USER IDENTIFIED BY D2 D2...
(4) restoration of D1 to D2:
Impdp D1/D1* remap_schema = D1: D2 dumpfile = D1.dmp *.
(5) at this point, I'm getting another identical database D2. but for some reason, I can't drop some clues as described above.

Any ideas what Miss me in the process. No impdp/expdp modifing my databes somehow?

Thank you very much.

Ok
You can do the following

1. disable all constraints.
2 create a script to drop and re-create the index
3 delete the index
4 turn off the constraints of
5 impdp CONTENT = DATA_ONLY
6. run the script to create indexes
7. activate the constraints
8 activate triggers

See this post
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/dp_import.htm#sthref273

Tags: Database

Similar Questions

  • Error ORA-01455 timsten using customer oracle11g conncting

    Hello


    We're uisng Oracle times ten version 11.2.1.8.0 IMDB

    My applications connecting as follows

    ProC/OIC apps-> customer (11.2.0.1.0) oracle-Timesten customer-(11.2.1.8.0)-> Timesten Server >

    sched_start is the column of type DATE in Timesten database and Oracle client


    When we ran, select the date type following error

    The oracle client

    sqlplus schemauserr/password@database;

    SQL * more: Production version 11.2.0.1.0 Thu Jun 30 07:20:19 2011

    Copyright (c) 1982, 2009, Oracle. All rights reserved.


    SQL > select sched_start in the PROCESS_INFO;
    ERROR:
    ORA-01455: converting column overflows the integer data type

    could help me on this issue


    Thank you
    -AK

    OIC in TimesTen is supported by a modified version of the Oracle Instant Client. It is the version that is installed with TimesTen in the /ttoracle_home directory. In the future, support for the OIC TimesTen will be merged into the main Oracle client code base, but that does not is it still. Yes, at the moment to use OCI (and so Pro * C, since the Pro * C uses OCI) with TimesTen, you are limited to only using the special moment Client supplied with TimesTen. This special moment customer is able to communicate with the two TimesTen and Oracle DB; It's a customer snapshot Oracle DB 11.1.0.7.0 standard with a few additions so that he could work with TimesTen.

    The way that support of the OIC is working in TimesTen is that you need to configure a special TNS (in tnsnames.ora) service for the DSN data store that you want to connect to (i.e. you must all the ODBC configuration normal configuration in sys.odbc.ini). In your BEAK (or pro * C) code you can connect to that service name. There is a special code in the BEAK / SQL * Net stack such that when he sees it connects to TimesTen instead of oracle takes a path of different code that loads the ODBC TimesTen driver and use it to talk to TimesTen. This is of cousre all transparent to the application. The application moves done what OIC calls as usual.

    All of this is detailed in the developer's Guide C TimesTen which is part of the defined TimesTen documentation as well as the various restrictions and limitations that apply to the use of Pro * C and OIC with TimesTen. One of the documented restriction is that althouth the customer Instant TT includes a binary sqlplus, that can be used with oracle databases. It is not working properly and is therefore not supported with, TimesTen.

    I hope that clarifies. For more information please see the Guide to the Developer TimesTen C.

    Chris

  • Gets the error ORA-01779 after I added the column

    Hi, I'm a total newbie in APEX but collaborated with ordinary development Oracle (tables, views, packages, triggers, etc) for a number of years.

    I ve been assigned in order to respect an existing application to APEX. One task is to add a column to a single character named 'ACTIVE' to a database table and also present on a current project list page. The value can be 'Y' or 'n'. In the view which is the source of data for the project page ad 'Y' turned into 'Yes' and 'n' turned into 'no '. So far so good, everything works well.

    There is another page on which it is possible to create new or modify existing projects. This page uses a view as a source of data. On this page, I added a group of radiobutton that contains two options: 'Yes' and 'no '. When I select to edit a project in the project list page the second page is loaded and the correct option, 'yes' or 'No', is marked on the page. This group of radiobutton works exactly like a couple of other groups of radiobutton also represented with a single character column in the database. So far so good!

    However, when I try to save the project file by clicking on "Apply Changes" I get this error:

    ORA-20001: DML error: p_rowid = 50, ID = p_alt_rowid, p_rowid2 =, p_alt_rowid2 is. ORA-01779: cannot modify a column that is mapped to a table not preserved key

    What is the problem here? The new 'ACTIVE' column is added to the view, when I run the view I Don t get all records in duplicate, the underlying table has a column id as the primary key.

    Since I Don t know that APEX is under the hood it s hard tp what's wrong. Anyone knows the solution to this problem?

    / Magnus

    Hello Magnus,

    Is there an INSTEAD OF trigger defined on the view? Have you added the new column ACTIVE there too?

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Upgrade 11 GR GR 11, 2 1 material using expdp/impdp

    Hi Experts,

    My databases are on Solaris10 and GR 11, 1 material and I have to move to GR 11, 2. I intend to use export/import for the task. I have a question about the upgrade to GR 11, 2. What follows is correct for the upgrade steps:

    (1) a full export of 11 GR 1 matter of database - use expdp and FULL = Y.
    (2) an import complete (FULL = Y once again) in the new GR 11, 2 base with the dumpfile from step 1 (we are required to create a new database of 11 GR 2 and not upgrade the GR 11, 1 existing material db. This new DB has already been created by a different s/n.
    3) update everyone in dev with new information db etc. - tell deployment to new application server - this step is trivial and familiar to me.

    The steps above correct or is there a flaw in there?

    Thank you

    Published by: orausern on October 18, 2011 14:17

    Published by: orausern on October 18, 2011 14:18

    PL see the steps in the Upgrade Guide - http://download.oracle.com/docs/cd/E11882_01/server.112/e23633/expimp.htm

    Step 13 you are asked to perform tasks upgrade post - http://download.oracle.com/docs/cd/E11882_01/server.112/e23633/afterup.htm - which one is to use DBMS_STATS to collect statistics

    HTH
    Srini

  • Initial load using expdp/impdp

    Golden Gate version: 11.2.1.0.3
    RDBMS version: 11.2.0.3
    OS: RHEL 5.4

    Production OLTP (Source) to the Production ETL (target), we want to reproduce 5 tables.
    Each table is about 3 GB of size of Source now.
    About 200 MB of data is inserted into the Source, all hours in all these 5 combined tables.

    This is how we intend to do the Iniitial workload:
    After the installation of goldengate on servers (and keeping the parameter files ready), we will take and PPC throw these 5 tables of Source and target server CPS, then import it it helps impdp.


    Estimated total time to scp the dumpfile, expdp and impdp in target DB is: 2 hours

    During this interval of 2 hours, $ 400 MB of data would have been inserted in these 5 tables in the source. We want tables to be in harmony to both Source and target. For this,.
    1. Shouldn't we be leaving the extract at the source running so that it will capture the changes during these 2 hours ?
    2. What about the secondary extract (Pump) in source. Should it be running ?
    3. Replicat in the Target should be stopped during this period of 2 hours. Right ?
    Another thing we have to do to make this configuration smooth?

    Hello

    1 Yes
    2 not necessarily, although once want start replicat on the target you have files available here. If the replicat on the target is already stopped it shouldn't make a difference if it is stopped or not
    3 correct, otherwise it will more liekly fail with row not found when you try to apply a transaction.

    I assume that you will use the flashback_scn method.

    Configure and start the process of extraction in the side of the source
    Take an export of this schema using the flashback_scn number
    Import into the target database
    Configure the replication
    As replicates after YVERT # start replicat , aftercsn

    Greetings,
    NACEUR

  • Error message appears after using the recovery CD

    Hello

    I use recovery DVD-ROM. Her work very well but after restarting the laptop, it gives me error, missing some files.
    I try to fix that but still error.

    What can I do?
    If I sent him to the workshop, that it would take 7 days to 2 months. :(
    Last time I have send it take 2 months and had to fix the screen when he in black and not work.

    So please help me here and don t send me for them.
    don't send me to them.

    Hmm. Maybe you n t need to contact the ASP.
    But how someone should help you without any details on the laptop model and the error message?  :|

    Could you post more information?

  • How replicates all records from one table to another table without using expdp, impdp

    Hi I have two database in a database, that I have a table called t1 and another base data, I have the second table .so, my first table have records, that I need to transfer all records second T2 without use of expdp and impdp in every 5 min... what I do

    ??

    The best solution for this scenario is to use Oracle Golden Gate

    However, it requires a license, and you must pay for it.

    If this is not possible, you can create a job scheduler that uses a link DB in order to reproduce the recordings of the target database, but it will take the entire table to the target database and then INSERT AS SELECT truncate the data of the entire table every time that the job is running (because you can't follow only the records that have been changed or modified).

    In addition, read here on the replication of data using materialized views.

  • Checksum error ORA-20503 after update

    Hello

    in my application, I have a page with a form based on a table. With a button I run a stored procedure in the database via javascript. This procedure changes the value of a column that is indicated in the form table. When I want to make changes in the form of the application generates an error of ORA-20503 checksum which is OK because the checksum has changed.

    How is it possible to do an automatic requery after the execution of the stored procedure?

    Thanks in advance.

    Martin

    Martin:

    I think that the document on page 50 is re-loading. However, I think that reloading happens even before that your stored procedure did its thing to update the database. We can check if it in fact the case.
    Change your Javascript as below

    function waitSome()
    {
    clearTimeout();
    window.location.reload();
    }
    
    function callReport(p_href,p_url)
    {
    var url;
    // window.location.href = document.getElementById(p_href).value;  // dont reload here
    url = document.getElementById(p_url).value;
    w = open(url,"winRep","Scrollbars=1,resizable=1,width=800,height=900");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    setTimeout("waitSome()",5000)   // wait 5 seconds before reloading
    }
    

    With these changes, doing just that now your function callReport is in the PDF window popup and then wait 5 seconds before running the 'waitSome' function which, once exected will reload the main window. You can change the amount of time waited by changing the second parameter of the function "setTimeout". The expected time is specified in milliseconds.

    CITY

  • Add data using EXPDP/IMPDP

    I have a log table that is daily exported and imported to another schema. what I do currently, export the LOG table, delete the existing table of NEWSPAPER on the target schema, and then import in there.
    It is possible to add days of data only lasts rather export full table and import daily target schema table?

    Current exp/imp command:
    expdp system/XXXX SCHEMAS = LOG INCLUDE = TABLE: "IN ('DAILY_LOGGER')" directory = dumpdata dumpfile = daily_logger.dmp logfile = daily_logger_exp.log "

    Impdp system/xxx REMAP_SCHEMA = directory LOG: LOG_BKP = dumpdata PARALLEL = 1 dumpfile = daily_logger.dm logfile = daily_logger.dmp_imp.log'


    DB version:
    BANNER
    Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    PL/SQL release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    AMT for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

    OS version:
    2.6.18 - 128.el5 Linux CLIENT1 #1 SMP Wed Jan 21 08:45:05 this 2009 x86_64 x86_64 x86_64 GNU/Linux

    Thank you

    Published by: najet on June 3, 2010 23:11

    You have single quotes:

    QUERY = log Journal_quotidien: "where quote_date".< to_char="" (sysdate="">

    Dean

  • SQL error: ORA-00947 while using INSERT INTO

    Hello

    I work with an INSERT INTO statement that returns ORA-00947.

    INSERT INTO prod (pId, a, b, c and d, e, f, g, h, i)
    VALUES (SEQ_PROD. NEXTVAL, 1,.
    (Select to_char (v.pdate, 'YYYY')
    to_char(v.pdate,'MM')
    d.prod
    , ROUND (sum (v.f) / 10)
    COUNT (*)
    Of...
    Group of to_char(v.pdate,'YYYY'), to_char(v.pdate,'MM'), d.prod
    )
    (0,0,0);

    10 fields are mapped in 10 fields. The data types match. The sub-select statement works very well.

    Any ideas?

    Sedso
    INSERT INTO prod (pId,a,b,c,d,e,f ,g,h,i)
    select  SEQ_PROD.NEXTVAL,1 a,b,c,d,e,f ,g,h,i FROM
    (select
       to_char(v.pdate,'YYYY') b, to_char(v.pdate,'MM') b, d.prod d, ROUND(sum(v.f)/10) e, COUNT(*) f,0 g,0 h,0 i
     from ...
    group by to_char(v.pdate,'YYYY'), to_char(v.pdate,'MM'), d.prod)
    

    Try this please

  • the impdp error: ORA-02374: conversion error loading table

    Hello

    I'm trying to convert the WE8ISO8859P1 character set AL32UTF8 using expdp/impdp. for this I first convert WE8ISO8859P1 WE8MSWIN1252 in source DB to get rid of the data "lossy." I created new (target) database with character set AL32UTF8 and nls_length_semantics = "CHAR" and donated all the tablespaces as source DB with auoexend. I took a full export (expdp) source DB excluding the TABLESPACE, STATISTICS, INDEXES, CONSTRAINTS, REF_CONSTRAINT and imported using impdp to target DB. I found error below in the import log file:

    ORA-02374: error loading «SCTCVT» conversion table "" SPRADDR_CVT ".
    ORA-26093: size of the input data column (44) exceeds the maximum input size (40)
    ORA-02372: row data: CONVERT_STREET_LINE1: 0 X '20202020202020202020202020202020202020202020202020'

    I checked with a select query on the two DBs with inferior results.

    Source D:
    04:58:42 SQL > select count (*) of "SCTCVT". "" SPRADDR_CVT ";

    COUNT (*)
    --------
    74553

    target DB:
    04: 59:24 SQL > select count (*) of "SCTCVT". "" SPRADDR_CVT ";

    COUNT (*)
    --------
    74552


    Please suggest me a solution to this.


    Thank you and best regards.

    Edited by: user12045167 may 9, 2011 22:39

    I think that, if you change your column of the table length CONVERT_STREET_LINE1 this help you.

    alter table "SCTCVT"."SPRADDR_CVT" modify (CONVERT_STREET_LINE1 varchar2(50));
    
  • Expdp/impdp can be used to upgrade the database (instead of DBUA) R12

    Hi all

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Thanks in advance!

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    I do not. You must upgrade, and then convert the characters or convert then upgrade - you can save an SR to confirm this with the support of the Oracle.

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    Only DBUA is the way supported in Oracle EBS instance level. Please see this similar thread - Oracle EBS 11i Database Upgrade to 11 GR 2 - Upgrade method Support Manual is?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Please see the documentation referenced in this thread - ADADMIN convert character set CUSTOM_TOP

    Thank you
    Hussein

  • Using expdp and impdp in the instantiation of stream data.

    Hi all


    I need to configure the flow level table for 5 tables between 2 databases (version 10.2.0.5). I need to export those tables from the source to the target and want to use expdp/impdp. In order to maintain the instantiation using exp ' object_consistant = y' and imp ' streams_instantiation = y' are specified. I like to use the expdp until must be specified instead of ' object_consistant = y' and in the same way, which is the replacement of ' streams_instantiation = y' in impdp.

    If anyone has an example or follow the installation steps streams at the level of the table that would be an excellent place to start help.

    Thanks in advance for your support and help.
    Shashi

    Once you have instantiated table on the source site, the data exported and imported on the target site.
    It is easy instantiate the target source following YVERT table tables:

    set lines 190 pages 66
    
    -- Prepare the table for streams capture. Once this command is executed any DML against the table
    -- will be captured, irrelevant of streams configuration state on source and apply. If no capture process,
    -- or propagation process is yet active, Streams will simply wait untill everything is clear to mine logs starting
    -- from this SCN.
    
    execute DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION(table_name => 'OWNER.TABLE');
    
    -- You can see on source DB the SCN
    
    SELECT
        TABLE_OWNER,TABLE_NAME,
        SCN,
        to_char(TIMESTAMP,'DD-MM-YYYY HH24:MI:SS') ti
    FROM
        dba_capture_prepared_tables
    ORDER BY table_owner;
    
    -- export the data here and configure the apply process.
    -- once the apply process is configured, before starting the apply process,
    -- run on  target DB to check the SCN status. Compare the following with query on source.
    
    COL objt HEADING 'Object| Type' FORMAT A9
    COL own_obj HEADING 'Object Name' FORMAT A45
    COLUMN lnk HEADING 'Using|Dblink' format A18
    COL SOURCE_DATABASE HEADING 'Source Database' FORMAT A38
    COL INSTANTIATION_SCN HEADING 'Instantiation| SCN' FORMAT 999999999999 justify c
    
    SELECT
          distinct source_database,
          source_object_owner||'.'||source_object_name own_obj,
          source_object_type objt,
          instantiation_scn,
          apply_database_link lnk
    FROM
         DBA_APPLY_INSTANTIATED_OBJECTS
    ORDER BY 1,2;
    
    -- if SCN are missing then
    
    execute DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN(
             source_object_name=> 'OWNER.TABLE',
             source_database_name => '' ,
             instantiation_scn => nn );   --  where nn is taken from the query above on capture site for the relevant table.
    
     
    
  • has received the error ORA-44416: invalid ACL, while trying to enable network services

    Hi guys I got the ERROR ORA-44416 after the activation of services network in 11 GR 2 to send emails, so I ran this command found just as shown below in the Oracle document library

    SELECT THE ACL, PRINCIPAL

    OF NACL, XDS_ACE ACE DBA_NETWORK_ACLS

    WHERE HOST = ' *' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND

    NACL. ACLID = ACE. ACLID AND

    ARE NOT (SELECT NULL FROM ALL_USERS WHERE USERNAME = MAIN);

    That returned a result of

    no selected line

    What could this mean

    The installation is done on a localhost and the APEX version is 4.2.2 browser is mozilla fire fox

    ORA-44416 means that the ACL that you tried to create to refer to a valid principle - that is, the user does not exist.

    The SQL code that you included above seems to be looking for associated ACL principles which are more database users. I don't see a direct link between this request and the ORA-44416.

    What was your original script of ACL?

    Also, because it is a question of database rather APEX you might get a better answer on the forums of the database.

  • ORA-12032: cannot use column rowid

    Hello
    8.1.7 I have the following error:
    ORA-12032: cannot use the rowid column of materialized view log on 'chain '. "' string '.
    The solution is:
    Action: A full refresh is necessary before the next quick update. Add columns ROWID in the materialized view log, if necessary.


    How can I do a complete refresh before the next fast refresh or ROWID columns add? How do I know whether the ROWID columns add?
    Thank you.

    PS:
    my script is:
    ................
    ..............
    START WITH TO_DATE (July 6, 2010 17:57:48 "," dd-mon-yyyy hh24:mi:ss')
    NEXT SYSDATE + 1/24

    user522961 wrote:
    Hello
    8.1.7 I have the following error:
    ORA-12032: cannot use the rowid column of materialized view log on 'chain '. "' string '.
    The solution is:
    Action: A full refresh is necessary before the next quick update. Add columns ROWID in the materialized view log, if necessary.

    How can I do a complete refresh before the next fast refresh or ROWID columns add? How do I know whether the ROWID columns add?
    Thank you.

    run up

    EXECUTE DBMS_MVIEW.REFRESH('MV_NAME','C');
    

Maybe you are looking for

  • How can I play videos full screen to intex nails fx... cell os firefox?

    Model: intex cloud fx

  • MacBook Pro 15 "mid 2015 retina freezes

    Hey everybody, I got my macbook pro 15 "2015 high spec, a year ago and it froze twice since then, but lately, it happens more often. Also at the start, the screen resolution is not correct and after entering the password and loading starts, the scree

  • computer can't 'see' keyboard

    Recent computer analyzed for malwear, since that time, HP, model KB 0630 keyboard won't connect.  I followed all of the wiring and it seems that it is good. I am, thanks to an electronic "switcher", sharing the keyboard and the screen for many years,

  • ProBook: Failure of DST Long

    Laptop froze and projected black. At startup, just blackscreens. At able F2 and test drive Long DST hard boot time, failed. Failure ID: 90E3TV - 0007 0 P - MFGH7A - 618K 03 What is this eror and is it possible to fix? Thank you!

  • error when calling NtSetTimerResolution in NTDLL 1097. DLL

    I get 1097 error when calling NtSetTimerResolution in NTDLL. DLL. why?   I scoured most of the posts on this forum describing the 1097 error and tried the solutions without success. This is a link to the function prototype (copied below) that I adapt