Import .dmp to a remote oracle database?

Hello!

How can I do a remote import from a dump file (* .dmp) to an oracle database?

Thank you!

Hello

If we want to do the remote import

(1) take the export of remote database (Say Source DB)

(2) via ftp or ssh copy this dump exp you are local DB (Say Destination DB)

(3) import the dump file using required imp import parameters.

(GOLD)

With the help of DB link we can also make the remote imp.

http://docs.Oracle.com/CD/B10500_01/server.920/a96652/CH02.htm (for import options)

Thank you
Srini...

Published by: Srini on April 12, 2012 05:41

Tags: Database

Similar Questions

  • Remote Oracle database import table

    We want to create a local copy of a remote Oracle database table, because we will use this table at about 14 locations to update other local tables. The table contains about 1 million records and does not change frequently. We can say that a row has changed in a month, but that's just guessing there is no guarantee.

    The contract synchronization process he uses begins everyday. He gets the new copy of this table, update other tables based on this table and then clean the intermediate table. I want to know how can I copy data this staging table in my local machine. I have following options:

    (1) using the Materialized view, do a full refresh every day before the process starts every day. (we cannot use fash refresh because we cannot change anything on the remote oracle database)

    2) Insert like the select statement, but what happens if the user started two processes at the same time by mistake.

    (3) just join with the remote table in each query, instead of making the local copy.

    (4) use the temporary table and insert as the select statement.

    BANNER

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

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production

    PL/SQL Release 10.2.0.4.0 - Production

    CORE 10.2.0.4.0 Production

    AMT for Linux: release 10.2.0.4.0 - Production

    NLSRTL Version 10.2.0.4.0 - Production

    I suggest also using a synchronization logic to only transfer new data in the remote table.

    If data it does not change often (as you mentioned) then you can copy the table overall once, and after that the transfer only changed using some sort of regular job data.

    This will not work if you have a mechanism to understand when a record has been changed in the table.

    For example, if you have a timestamp column, which is always filled to insert and update you will be able to extract only the difference.

    You will have a brief fight with deleted records but still doable

  • Unable to connect to remote oracle database!  Help, please!

    Hi all-

    I am a new user Oracle and you are allowed to access a remote Oracle database, however I have problems with the installation/configuration program! I downloaded the driver Oracle and the Instant Client (11.2.0.2.0) because I need to use Microsoft Access for the data access (the Access database is already configured to the correct Oracle database). I'm under the impression that, to do this, I need to be able to use the ODBC Administrator to get all set up. Note: Im working on Windows XP.

    I have questions:

    -I don't seem to have installed Netca (which seems to be the recommended method to configure a connection). I have manually adjusted the TNSNAMES file. ORA file so it matches the database, but I'm not sure what would be my next step.

    -When I open SqlPlus it wants a username and password, and I tried the default settings and got an error each time. I must first use SqlPlus, or establish a connection via ODBC first?

    -Also: ODBC requires a TNS Service name, and I'm not sure, where this is established; something that would give the database manager?

    I really just do not know how to configure this remote connection! I continue to run with obstacles and really want a reference "step by step" on the way to do it, if there is such a thing. Any help or additional reference material would be appreciated! I ran by the content of the forum, but have not been able to decode the jargon! Thank you very much in advance.

    Marilyn

    MsMonroe wrote:
    Hi Ed-

    I use the Oracle's ODBC driver. I think there may be a problem with the TNSnames file because I tried to add this file as a"Data Source", and he also said that a connection could not be established. What do you mean by the MS implemented? A configuration of Data Source?

    By MS implemented, I was referring to the MS ODBC for Oracle driver, against the Oracle ODBC for Oracle driver.

    The "source of data file' has nothing to do with the tnsnames file. The ODBC Manager retains its DSN definitions in one of three places. "User DSN" is stored in the HKEY_LOCAL_USER registry, the "System DSN" definitions are stored in the HKEY_LOCAL_MACHINE registry and 'FILE DSN"definitions is stored in a file... I don't remember exactly where or what it's name is as I have (when he is forced to deal with odbc) just keep things simple and use "system dsn". But these aren't all the definitions of ODBC, Oracle tnsnames file.

    The link between the ODBC DSN and the tnsnames.ora presents itself as a property of the ODBC definition. Suppose you have this for a tnsnames.ora entry:

    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
        )
      )
    

    Then
    -When you set up your odbc dsn, if you use the MS for Oracle driver, you must specify 'houston' as the 'server '.
    -When you set up your odbc dsn, if you use the Oracle odbc driver, you must specify "houston" as "the TNS Service name".

    >

    Im going to try to post a modified version of the content of my TNSnames.ora file (for some reason any the "content is not allowed ' by the forum), but I would like to get some comments on whether the structure of the content may be the problem.

  • Imported a few diagrams of Oracle database 11g oracle 10g

    Hello

    I have the task to import some schemas are basis of oracle 10g (10.2.0.4) in the database to oracle 11 GR 2 (11.2.0.2). Now I only oracle 10g export and import utility (the 11g server is not where I give myself the import duties).

    I can do the export of the g 10 patterns using the 10 g utility to export and then import into database 11 g using the 10 g import utility? I ran a test to do this and found it works but I would like also to have advice from experts on this subject.

    Also another question is: If the schema of the source is 11g - assume - can the utility of export/import of 10g still work in this case? I mean the scheme for the export of db1 say (which is 11 g) using 10 g utility to export and import them into 11 g db2 database (which is still 11 g) using 10 g import? I request because I don't have access to the 11g server and trying to find what I can do with the 10g utilities.

    Thank you

    set up a database connection to the database to version 10 gr 2 in 11 GR 2 database.
    Now using the client impdp GR 11, 2 utility use
    Impdp network_link =

    Fact.
    Your "objection" you have no access to GR 2 11 does not count that you can install a client of 11 GR 2.

    Also in general do not use a version more low imp to imp to a higher version database
    Exp and imp are also deprecated in 10g and more.

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • sqlplus to connect to remote oracle database server

    Hello

    I have the server database oracle 10g on solaris 10 and I usually connect using my account to solaris and run sqlplus on the server itself. This works!

    I downloaded and installed the client instant oracle for solaris 64 and I can launch sqlplus command but I'm confused on what should be the syntax of the command to connect to remote oracle and solaris 10 database server where I have the system account.

    I tried sqlplus help but still I could not correct syntax that may be used to authenticate to the oracle server.

    I tried

    sqlplus user@hostname:1512/SID

    then he asked for password, but when I typed the password and you press on enter, it gave some error

    but he still asked as username so I type user@SID and then prompt password - typed password and it works!

    so I do not understand what should be the correct syntax for that in the first attempt, I'm able to connect.

    If possible, please give the exact command with realworld examples, (I tried with sqlplus - help already)

    Thanks in advance.

    wonder what if I didn't tnsnames.ora on the client machine, how will be the syntax?

    You generally need (or at least strongly want) a file tnsnames.ora on the client machine.

    -You could configure Oracle Internet Directory and allow this product provide TNS alias resolution for the Organization (similar to the DNS configuration for a LAN).
    -Many tools (I have not personally tried SQL * more and it can be dependent on version) allow you to specify the whole TNS alias in the tnsnames.ora file (i.e. everything that follows the abcd.domain.com = entry) but which is extremely heavy for type
    -According to the version of the Oracle file sqlnet.ora, the complexity of your configuration client (that is, if you try to use the more advanced features such as failover), you may be able to use the syntax EZConnect

    sqlplus username/password@host:port:SID/service_name
    

    Where host is the server that the database is running, the port is the port the listener (i.e. 1521 default) listening and SID/service_name is the SID or service name, you are trying to connect to.

    Justin

  • Check the connection to a remote Oracle database


    Hello

    I have an application that runs on a server that connects to an Oracle database on another server.  The application uses Java and JNDI to connect, there is no Oracle client installed on the server hosting the application.  The application seems to have been to connect to the database on the other server.  How can I check that the connection to the database still work from the server hosting the application?  Is there a software tool that I use does not require Oracle client must be installed.

    Thanks in advance

    Alanjo

    the connection request is saved in the file listener.log on the DB server

  • Using Oracle ODBC connection to a remote Oracle database gateway

    Oracle 11 g 2

    RHEL 6.4

    Someone at - it use the Oracle ODBC gateway to connect to a different Oracle database?  Problems with this configuration?  Where can I get the drivers for Linux ODBC?

    (I know, "why not use a dblink?" -Well that would be against the strategies of enterprise security)

    Thanks for your reply.  What I wanted was 'just' a dblink of 1 db Oracle to another Oracle db w/o the use of the ODBC bridge.

  • Unable to connect to remote oracle database

    Hello

    I am trying to connect to the database on a remote server oracle in visual studio 2005 by using instant client for windows.

    In visual studio 2005 Server Explorer, I clicked on add a connection
    Server name: I entered the server ip:1521@my instance name
    then user and password.

    It gives me the error: ORA-12546 TNS permission denied.

    I tried searching for lsnrctl status on the remote server, it works fine, and I can connect using sqlplus.

    I also disabled the firewall to avoid the risk of blocking, however tried my windows box: telnet ip 1521, it just does not respond and seems to timeout.

    should I set in the remote server first to accept connecting from outside?

    To connect via .NET with Instant Client, you will need the version 11 ODAC, see
    http://www.Oracle.com/technology/software/tech/Windows/odpnet/utilsoft.html

    The regular customer Instant download from http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    does not contain the provider .NET.

    If telnet hangs without error message, this is of course no evidence that you can successfully connect to the database.
    It only means that you have reached the listening process, which is the best you can do with telnet.

    Yours,
    Laurenz Albe

  • Comparing the data set of Oracle database local to the Remote SQL Server database

    Hello

    I have a table in an Oracle database that is gradually being updated with a table in SQL server through the database link. There is a field "Date of creation" in the table in SQL server that I used to find the newly created records and shoot and insert them into the local table to the Oracle database.

    Now the question is the documents/data in the SQL server remote can be deleted as well and I see a lot of files are already deleted and I couldn't find a way to capture the information of deleted data to remove from my local table.

    I tried

    SELECT id local_table

    where there is no

    (select * (or 1))

    of remote_table@database_link

    where remote_table.id = local_table.id).

    And I tried to replace not exist with no so.

    The problem is that the query is too slow with link of database for IN/NOT EXISTS clause NO. So, I'm trying to find an effective way to capture the lines deleted in the remote to remove as a result of my local table table.

    Any help is appreciated.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit

    Thank you

    Chrystelle

    It is perhaps easier

    Select pk / * or sustitutive key * / from Oracle.tba

    less

    Select pk / * or sustitutive key * / from SQLSERVER.tab

    This returns the rows that exist in Oracle but not in SQL SERVER-> delteted lines in SQL Server.

    Another way is to create a trigger to remove in sqlserver and track in a table delete lines.

    HTH - Antonio NAVARRO

    http://SQL1.WordPress.com/

  • How to import an excel xls file to oracle database PL/SQL?

    Hello, im having problems to import a xls file to oracle, someone knows an easy way or a script to import this database file? THX!

    Hello

    have converted your excel to CSV, convert csv, you must save the file as option Save as fall to the bottom of the list select CSV Comma-delimited. then try

  • Copying or cloning of a local of the Oracle database on a remote server

    Hello

    I'm NOT a database administrator. A requirement came as I had to take the role of the database administrator. The problem is like this...

    I have an oracle 10 g 2 (development) database on a Windows 2003 server locally (in India). I need to copy or clone this Oracle database to another server located remotely (USA) Windows 2003.

    How can I do this? Well, I did a websearch and discovered various methods such as RMAN DUPLICATE and so on. I do not understand RMAN - I'm not an administrator.

    Please give me the operation step by step I have to do to solve my problem.

    Thanks in advance for your help and support.

    Renj
    ----------

    So you don't want to make the effort to understand RMAN, you don't want to copy the data manually, what else? Refuse this work activity.

    Nicolas.

  • Import an Access from Oracle database

    Hello

    I would like to know if there is a way to import an Access from Oracle database


    Thanks forward

    The easy and simple way to do this is using Sql Developer

    Please see the link is a guide step by step to achieve what you want

    http://www.Oracle.com/technology/tech/Migration/Workbench/Viewlets/accessconnlauncher.html

    http://www.Oracle.com/technology/tech/Migration/Workbench/Viewlets/msaccesslauncher.html

    Concerning

  • Complete list of all the users (by default) created Oracle database for import DB?

    Hello

    Can someone please give me a list of all versions of Oracle DB: 10.2.0.3 list of users of database created (by default).

    and if someone can give me a script to remove all unnecessary patterns except necessary schemas of oracle.

    I want to do a complete database of a database of test IMP, I dump exp and want to make sure to remove all unnecessary patterns I can do the import immediately in the db.

    is this a correct way.

    Please notify.

    DB version: 10.2.0.3

    Thank you
    Anto

    Another good reference is ML Doc 160861.1 (created Oracle database users: password, use and references to files)

    HTH
    Srini

  • You want to export complete Oracle Database 10 g and import on another machine

    I have the database on Linux: release 10.2.0.4.0 - Production

    Now I wanted to create the same (Duplicate) database on another Linux machine with the data.


    If you will please advise me how best to do?

    Published by: Oracle_2410 on August 19, 2009 12:15 AM

    You cannot create anything, if you do a followed full database export a full database import.

    Just create the database and import.

    Dean

  • With regard to the migration of the Oracle database to MS SQL

    Hi all

    In my application, oracle is the existing database. We need to migrate from Oracle database to MS SQL.
    We need procedure is as below
    1 export data from Oracle and keep it in a file. (.dmp)
    2 import data from MS SQL in the oracle export file.

    and vice versa from MS SQL to Oracle.

    My question is - it is possible to import the .bmp (oracle export data) in MS SQL.

    Please clarify for me.

    There are two options to get the data from Oracle to MS SQL.
    The simplest is to create a linked in MS SQL to Oracle server and copy the data with a query like select * in oracle.schema.table my_mssqlTable; via the linked server.
    Some data types will not be supported.
    That's an instant copy.

    If you need a fence at real-time replication, you can use replication MS (I would not recommend because it creates triggers on the Oracle tables), or you can use GoldenGate or DataCurrents or other replication products.

Maybe you are looking for