Refresh 11g database from existing 10g

hi
we are doing upgradation of 10g db to 11g and i have already cloned the 10g db to 11g using full datapump and since then we are working on 11g for additional application software .
now we need to studown 10g db and make 11g db in use. so i just need to refresh the 11g db with the changes we made to existing db sinse last time i cloned the db.
is full datapump is gonna work as it will drop everything and overrites it but we have created new tables and tablespaces for applications on 11g db ,so this will drop them too.
what is the effecting method to refresh the database.
thanks
gagan

Yes datapump will work here. In a clean way you can just drop all the objects and import the new copy in to it or else you can use import including table_exists_action with truncate option
Thanks
Sravya

Similar Messages

  • Oerror while inserting in to 11g database from SOA suite 11g db adaptor

    Hi,
    I am getting following error while inserting in to 11g database from SOA suite 11g database adaptor. Can you please help me on this.
    "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [LoggerDBInsert.LoggedError]. Caused by java.sql.SQLSyntaxErrorException: ORA-01722: invalid number . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ORA-01722: invalid number 1722
    Regards,
    Bharat

    It looks like you try to insert a string-value in a number-column.
    can you check all your assign and their values before you invoke the db-adapter, then you should be able to narrow down the problem.

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • ERROR while connecting to Netezza Database from oracle 10g via dblink.

    Gurus,
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}

    Manik wrote:
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
    If this does not work, then Oracle HSO will also not work.
    Once you have confirmed that this is working, then configure the HSO service for Oracle.
    If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing.

  • How do I connect to a DB2 database from Oracle 10G on linux?

    Hi
    I have tryed to connect to a DB2 database from oracle 10 G on linux.
    I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
    select * from testtable@acc_spc_gr2
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
    ORA-02063: preceding 3 lines from ACC_SPC_GR2
    What am I doing wrong? Any one have a guide to do this?
    - Jesper

    this is my complete configuration
    Database_
    -bash-3.2$ export ORACLE_SID=XE
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Conectado a:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Platform_
    Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
    */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
    #This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    #HS_FDS_CONNECT_INFO = ODBC_DSN
    HS_FDS_CONNECT_INFO = prueba
    HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
    HS_FDS_CONNECT_INFO = DB2DATABASE
    #HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    set DB2INSTANCE=is400
    listener.ora_
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = DB2DATABASE)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM =hsodbc)
    (ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora_
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DB2DATABASE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DB2DATABASE)
    (HS=OK)
    odbc.ini_
    [prueba]
    Description = iSeries Access ODBC Driver
    Driver = iSeries Access ODBC Driver
    System = xxx.xx.3.2
    UserID = xxxxxx
    Password = xxxxxx
    Naming = 0
    DefaultLibraries = QGPL
    Database = CHERRYWEB
    ConnectionType = 0
    CommitMode = 2
    ExtendedDynamic = 0
    DefaultPkgLibrary = QGPL
    DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
    AllowDataCompression = 0
    MaxFieldLength = 32
    BlockFetch = 1
    BlockSizeKB = 128
    ExtendedColInfo = 0
    LibraryView = 0
    AllowUnsupportedChar = 0
    ForceTranslation = 0
    Trace = 0
    odbcinst.ini_
    [PostgreSQL]
    Description = ODBC for PostgreSQL
    Driver = /usr/lib/libodbcpsql.so
    Setup = /usr/lib/libodbcpsqlS.so
    FileUsage = 1
    [iSeries Access ODBC Driver]
    Description = iSeries Access for Linux ODBC Driver
    Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
    Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    UsageCount = 1
    CPTimeout =
    CPReuse =
    System = 172.18.3.2
    User = inf5mito
    Password = lonco3pue
    NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
    NOTE2 = the following Driver64/Setup64 keywords will provide that support.
    Threading = 2
    DontDLClose = 1
    ODBC Driver_
    -bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
    -bash-3.2$ ls -ltr
    total 2260
    -r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
    -r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
    -r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
    -r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
    -r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
    and this is my error.
    SQL> /
    select from display@db2database*
    ERROR en línea 1:
    ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
    mensaje:
    *[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
    in dynamic library
    *[C079] Failed to load dynamic library*
    *'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
    ORA-02063: 3 lines precediendo a DB2DATABASE
    Edited by: user6669081 on 07-jul-2010 6:31

  • 11g database compatible with 10g ASM?

    Hi all,
    I have one server with Oracle 10g database and ASM installed. Now I need to install a new database on 11g version. Know you if my new 11g database can use the 10g ASM? Or I need to create a new ASM in 11g too?
    Thanks in advance,
    Jordi

    PLease look at the following link. The 11g Database is indeed going to work with 10g asm but the features available will vary depending on the version compatibility.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmdiskgrps.htm#CHDJDDFG
    HTH
    Aman....

  • How to refresh the database from target to clone system using RMAN ?

    I created the database using RMAN from target (Node A) to clone (Node B)
    I want to refresh the data what are all the changes happened in (Not complete database only chages) target to clone system using RMAN ? or any other way?

    I want to refresh the data what are all the changes
    happened in (Not complete database only chages)
    target to clone system using RMAN ? or any other way?Incremental changes can't apply, once database is open using RMAN or any other B&R method.STREAMS can be use to capture and apply changes.
    Cheer,
    Virag

  • Import oracle 11g database into oracle 10g Server -

    Hi guys,
    We have a oracle db running on Oracle 11g. Now, we would like to export from oracle 11g into Oracle 10g XE for important demo. Is it possible??
    When i try to import into Oracle 10g XE, the following Error msg appears :
    IMP-00010: Not a valid export file, header failed verification
    Pls help soonest possible...
    tx
    Rama

    A BIG thank you to both of you, Managed to import succesfully. appreciate your help.
    Just for others who would be using this forum.
    Steps involved
    1. connect with Oracle 10g Export utility to the source db.
    2. export the db from source to target server
    3. create DDL & schema of the source db.... ( i used toad dba )
    4. run the DDL & schema of the target db (oracle 10g) .. ( i used toad dba )
    5. import the dump to target server.
    6. done...
    thanks.

  • How To Connect To Oracle 11g Database From Microsoft Excel

    Hi All,
    I have Windows7 64bit installed in my laptop.
    I have Microsoft Excel 2007 installed.
    I tried connecting to Oracle database ( This is not a local database).
    Navigation used:
    Data> From Other Sources > From Data Connection Wizard > Other/Advanced > Next > Microsoft OLE DB Provider For Oracle > OK
    Now I get a pop up to enter:
    username
    password
    server
    When I enter all the required details I get this error "ORA-06413 CONNECTION NOT OPEN"
    Is there no need to give PORT number?
    Thanks,
    Vishwamber Shetty

    Hi,
    Did you install oracle client on the machine? Can you do "tnsping <SID>"? Can you connect to DB using sqlplus ?
    Try using tnsname for server name.
    Connecting to Microsoft Data Sources Through ODBC Connection  This shows how to connect using ODBC connection. I think this would be more appropriate.

  • Importing a few Oracle 10g schemas into oracle 11g database

    Hi,
    I have the task to import a few schemas that are on oracle 10g database (10.2.0.4) into oracle 11gR2 database (11.2.0.2). Now I have only oracle 10g export and import utility (the 11g server is in not where I am given the import rights).
    Can I do the export of the 10g schemas using the 10g export utility and then import into 11g database using the 10g import utility? I ran a test to do that and found it works but would also like to have expert opinion on it.
    Also another question is: if the source schema is 11g - suppose- in that case can the 10g export/import utility still work? I mean export the schema from say db1 (which is 11g) using 10g export utility and import them into 11g database db2 (which is again 11g) using 10g import? I am asking because I don't have access to 11g server and trying to find what I can do with the 10g utilities.
    Thanks,

    set up a database link to the 10gR2 version database in the 11gR2 database.
    Now using the 11gR2 client impdp utility use
    impdp network_link=<link to 10gR2 database>
    Done.
    Your 'objection' you don't have access to 11gR2 doesn't count as you can install a 11gR2 client.
    Also generally speaking you should not use a lower version imp to imp to a higher version database
    Also exp and imp are deprecated in 10g and higher.
    Sybrand Bakker
    Senior Oracle DBA

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

  • Error 1054013 when attempting to refresh database from planning

    I get the error 1054013: Syntax error loading filters - operation canceled when attempting to refresh the database from planning. I refreshed the security filters but it did not fix the problem. Has anyone else experienced this or does anyone have an idea on the root cause? Thx in advance.

    HiThis is actually an Essbase issue. If you stop and start the application it shoudl stop happeningNot sure what causes it, but seems to be long filters (generally created from Planning). It would be worth speaking with Hyperion or checking on the knowledge base for any further info.I have previously cleared the security file and recreated which clears the problem. Hope this helpsAndy Kingwww.analitica.co.uk

  • Suggestion for installing 11gr2 crs with existing 10g crs...

    Hi, I need suggestions on installing 1120 rac on suse 11 where already 10g rac with asm is running. I need to upgrade the 10g crs and asm while installing 11g crs. Pls share your experience on these
    1- what are the challenges to run 10g database on 11gr2 crs? is this suggested?
    2- challenges to upgrade asm and crs to 11gr2.
    3- can we use 2 asm instance in 11g grid infra to manage 10g and 11g db separately.
    4-what could be back strategy for this kind of setup? RMAN?
    5-how many extra ip i need to install 11g crs with existing 10g crs . we plan to use 3 ip for scan.
    Also if possible please share any doc for this kind upgrade
    Thanks,
    Abhai

    1.) Yes this is o.k. Just see this MoS Note:
    Pre 11.2 Database Issues in 11gR2 Grid Infrastructure Environment (Doc ID 948456.1)
    2.) Well first only clusterware is upgraded. You will be asked if you want to upgrad ASM, but this is not mandatory at first.
    You can use ASMCA later to switch ASM from 10.2 to 11.2 (this does not have to be done during upgrade).
    3.) No you can only have 1 ASM running. So it is either 11.2 or 10.2 ASM. (However I suggest 11.2).
    However you can/should have multiple diskgroups. One data and fra for the 11.2 databases where you set the rdbms.compatibility to 11.2 to use the new features, and one data an fra diskgroup for the 10.2 databases.
    4.) As long as the compatibility setting of a diskgroup isn't changed, you can always switch ASM back to use 10.2 executables. (Just do a srvctl remove asm and add ASM).
    Search this forum - there has been another thread about this.
    Regarding fallback of clusterware => See installation guide.
    5.) Mandatory are just 3 additional IPs for the SCAN.
    Upgrade documentation see the installation guide of 11.2 GI.
    Upgrade for ASM see Storage Admin Guide.
    Upgrade to move OCR and Vote to ASM see Clusterware Admin Guide.
    Upgrade to database see Database Upgrade Guide
    Additionally look in MoS for the Upgrade Companion.
    Sebastian

  • How to create a database from dfj zip file

    Hi,
    I have created a database template via DCA from PC-1 which has got oracle 9i and it has produced a file with extention dfj.
    I am trying to create a new database using this dfj file on a different pc which has oracle 10g.
    1- How can i use dfj file to create a new database?
    2- Can i use Oracle 9i templates in Oracle 10g?

    -in dbca you have the option to create the database from existing template
    -not sure if we can simply use 9i template in 10g but you may try, chances are less.

  • How to clone database from backup without access to original DB

    I want to create a new database from existing backup files and rolling forward some of the archivelogs (preferably with a new name and with different directory layout).
    How can I achieve the task on a separate test server (without access to the original database)? I found a lot of sources ( e.g. http://www.oracle-base.com/articles/11g/DuplicateDatabaseUsingRMAN_11gR2.php ) but all with connection to original DB (e.g. entries in tnsanmes.ora)
    Backup runs a simple
    BACKUP DATABASE PLUS ARCHIVELOG;
    DB Version is 11.2.0.2 on Linux.

    Many thanks to your help. Finally I was able to restore the DB. The steps I used (similiarly also mentioned in some of the links above).
    1.) Copy backup (backupset, autobackup, archivelog) to the new server into directories
    /export/restore/autobackup/2012_03_01
    /export/restore/autobackup/2012_03_02
    /export/restore/archivelog/2012_03_01
    /export/restore/backupset/2012_03_01
    2.) create pfile initDBREST.ora
    DB_NAME=DBREST
    3.) Mount DB
    ORACLE_SID=DBREST; export ORACLE_SID
    sqlplus / as sysdba
    STARTUP NOMOUNT;
    4.) Connect to auxiliary DB
    ORACLE_SID=DBREST; export ORACLE_SID
    rman AUXILIARY /
    5.) Create directories for new DB for datafiles in e.g. /export/oradata/DBREST/
    6.) Duplicate DB and reset parameter if necessary (e.g. memory_max as test server is lower on RAM)
    DUPLICATE DATABASE TO DBREST
    until time "to_date('02.03.2012 15:00:00','DD.MM.YYYY hh24:mi:ss')"
    DB_FILE_NAME_CONVERT '/export/fs1/oradata/oldDB/','/export/oradata/DBREST/', '/export/fs2/oradata/oldDB/','/export/oradata/DBREST/'
    SPFILE
    SET MEMORY_TARGET '2G'
    SET MEMORY_MAX_TARGET '2G'
    SET db_recovery_file_dest '/export/oradata/'
    SET db_recovery_file_dest_size '100G'
    BACKUP LOCATION '/export/restore'
    NOFILENAMECHECK;
    7.) create temporary tablespace

Maybe you are looking for

  • Error while filling setup table for Sales

    Dear Team, We are getting following error while filling setup table for Sales (application component 11) and for Billing (application component 13), application component 11 Error determining rate: foreign curr.  local curr. INR date 08.10.2007 (doc.

  • Basic RMI program works in windows but not Linux

    Hello, I'm trying to learn RMI for a program at work. I have the book "Core Java 2 - Volume 2 - Advanced Features". Chapter 5 of this book is about RMI. The most basic example program they use works fine in Windows. However, when I try to run this sa

  • Is this product possible?

    I was in discussion with a colleague who says there is a company in China offering online (hot) backups of Oracle 8 and 9 databases that are NOT in archivelog mode! Anybody go any ideas HOW you could backup a running live database that was not in arc

  • How to use ssl on j2ee

    I'm Ecuadorian student and developer. Excuse me by my bad English. I don`t know how to use https in my web application, I'm developing a e-commerce and I need to use https. please I need help. thanks.

  • URGENT: Show the Database Schema in a JSP

    Hi, I want to make a JSP to show the Database Schema. I'm using JDev 10.1.2 + ADF/Struts + Oracle Database. I need show the tablenames in this page. How to do this ?