export the database by expdp
HI expertsI have a question about expdp
I created a directory/opt/app/oracle/backup of sqlplus, but after that I can't display the directory is not command line exist. How can I view the contents of this directory?
When I try to expdp kennam/kennam007@kennam directory = dmpdir dumpfile = kennam.dmp, it gives errors such as
ORA-39002:?
ORA-39070:?.
ORA-29283:?
ORA-06512:? 'SYS. UTL_FILE", line 488
ORA-29283:?
any expert knows how to fix this problem and where is the problem?
Thank you very much
SQL > create or replace directory dmpdir as ' / opt/app/oracle/backup ';
Created directory.
SQL > grant read, write on directory dmpdir to kennam;
Grant succeeded.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.1.0.6.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~] $ expdp directory dumpfile = kennam.dmp dmpdir = kennam/kennam007@kennam
Export: Release 11.1.0.6.0 - Production on Tuesday, September 23, 2008 12:16:50
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002:?
ORA-39070:?.
ORA-29283:?
ORA-06512:? 'SYS. UTL_FILE", line 488
ORA-29283:?
Published by: devotee on Sep 23, 2008 12:29
The physical directory ' / opt/app/oracle/backup "must exist on the database server with the permissions granted to the oracle account.
Tags: Database
Similar Questions
-
Export the database from another pc - problem EXP-00056
Hi all,
I have a pc (called PC1) with installed Oracle11gR2. I want to export the database from another pc (called PC2) which is connect with PC1 with a LAN.
I have connected PC2 to PC1 so:
$ ssh oracle@IP_of_PC1
and as the user oracle, I tried export then:
index of the_user/the_pass exp = y subsidies forced is y = y line is my_dump.dmp log = my_log.log
but he said to me:
Export: Release 11.2.0.1.0 - Production on Tue 7 Sep 14:44:13 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
EXP-00056: ORACLE error 1034
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 error: 2: no such file or directory
EXP-00005: all authorized logon attempts failed
EXP-00000: export completed unsuccessfully
Why it does not work?
Thank you much in advance.Run this and show me where exactly you run
index italia/italia@dbSID exp = y subsidies forced is y = y line is dump070910italia.dmp
-
How to export the database and import the database using sql developer
Hello
I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQLl developer. How to import it? This is for Oracle database 10g.
Thank youHello
I think it generates the file .sql containing all the objects that you are exported. Then you can simply open the target database file and run as a script. Also, there is another forum for sqldeveloper related issues.
Concerning
-
HELP ME OUT to export the database of linux OS
Hello Sir/mam
I have problem with the export data from the database on the Linux operating system. I'm using oracle 11g. I used the work in the windows platform. So when I'm launching the export query under XP there is no problem. This query
unpack the entire table. But when I run this same query on the Linux environment it exports only the table that have data output. These table that have no value cannot export this query on the Linux environment. I use this query to export "exp userid = ABC/tushar full = file is = oraclebackup/oraclebackupJUNE17.dmp.
Please give me some ideas to export the table data base on the Linux system.
Thank you.[email protected] wrote:
Thank you very much, Mr.You are welcome
Its working fine.
Then close the thread by scoring, he said. Read Forums etiquette / Reward Points - http://forums.oracle.com/forums/ann.jspa?annID=718
I want this .dmp file that I created
How do I find the .dmp file.If you have used the following settings:
directory= backup_dir dumpfile= oraclebackupJUNE21.dmp
Then get the directory entry for the directory - view DBA_DIRECTORIES backup_dir object and get your file in this directory
select directory_path from dba_directories where directory_name='BACKUP_DIR';
-
export the database to a different server
Hello Guru:
I would like to empty at any database in my SID to a different server.
Please let me know how to achieve this.
Thanks in advance.Salvation;
1. you can go with the option of database clone for your question:
Database duplicationSee also:
How to make a copy of a database that is open to the Duplication of another Machine [ID 224274.1]2. If you want to use datapump to see:
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1463976400346989259Respect of
HELIOS -
Export the database of health app
I'm dim? And why not an iPad app (I know others have asked) and a Sierra application for data management. The whole point of iOS and OS X is their connectivity... common apple
The health App is on the iPhone for reasons of confidentiality, it only save your data if you encrypt the backup on iTunes for example.
I know it might be cool to check health on the Mac or iPad. If Apple isn't that people will say, it's not sure, anyone can know if I have diabetes or other stuff... I think it will stay like that.
-
The "database" query export to Excel?
Hello world
Hope everything goes well...
We place our requests in the disco. Database.
Is there a way to export the database to a different file as Excel.
IOW, is the disco. Table of available database to report offshore?
Pls advise, thank you, sandraHello
The list of workbooks can be found in the EUL5_DOCUMENTS table in your EUL. You can map this table in the EUL and then export the list of workbooks in Excel.
Rod West
-
How export/import the database from the Tools menu in sql developer.
Hello
I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQL developer. How to import it? This is for Oracle database 10g.
Thank youHello
You can do it, but I do not recommend because sqldeveloper could eat all the memory of the system to analyze the script. Now the question is do you have also opted for storage option when you export, if yes make sure that similar tablespace exists or available in env b. Also if you want to use the generated sqldeveloper file you can run this file from sqlplus session
sqlplus newuser/password
sqlplus > @myexport.sqlBut my advice or suggestion or recommendation to be, you should consider using export/import or datapump but the decision is yours. Hope this helps
Concerning
-
export of database don't know where global
Hi, when I paste in the sql after where clause in global where to export the database of sqldeveloper, it exports all data in the database instead of the query I'm looking for. When I run the same query in an interactive way, it returns the expected results. Pls advise
Thank you
I found it, I have to watch hit enter after entering sql and before clicking next. But I don't think I should have.
-
If I export the database for backup, he recorded the .dmp file on default location in "C:\Documents and Settings\nom". If I want to change this location how to change that?
If your dmp file in C:\Documents and Settings\user\TEST.dmp
You can copy it to D:\DUMPS\TEST.dmp and use this file with IMP likeimp user/password file='D:\DUMPS\TEST.DMP'
Concerning
Mr. Mahir Quluzade -
Export of database Session Bean (J2EE 1.4)
Hello people,
I try to implement a download of large files for end users, the data are extracted from a database.
Configuration and Description of the problem:
----------------------------------------
A J2EE 1.4 stateless Session Bean record-wise reads data from a large database table, generates a string of each record and adds the string in a text output for the download stream. The steps involved are (in pseudocode):
For each record in the database table:
1.) apply business logic to record data (formatting of numeric values, etc.)
2.) Accumulate record data in a single string.
3 writing string.) to an OutputStream
When finished: download a file over HTTP to the end user.
The processed data are very large (resulting text file will be 200-1500 MB), I think go with water courses is a feasible solution. An attempt at the interface of Bean Session would be:
public OutputStream exportDb() {...}
My problem is: inside the exportDb method, I implémenterai the algorithm described above, but this means that the whole issue will take place in the memory object (in the OutputStream). The download will be executed by a ServletOutputStream. How can I export the database table one recording by the other without implementing the logic of all its activities in a Servlet? The only way I can think is a variant of the Session Bean method that takes the ID of the record that must be treated as a parameter and executes the method in a loop in some servlet code:
....
Somewhere in the Servlet
OS = getServletOutputStream;
for (int i = 1; i < nrOfRecords; ++ I) {}
OS. Write (exportDb (i));
}
Is there else any solution "clean"?Assuming that you are working with a local ejb, you pass the OutputStream in the method, for example "exportDb (OutputStream out)" and move the outputstream servlet directly to the ejb. If you use a remote ejb, things get more complicated (I wrote a library for broadcasting remotely over rmi, called rmiio, that you can use if you are working with a remote ejb).
-
file not created when you use export to database
I am creating a MAxL script to export the database but for some reason, the text file is empty (manual export works)
Here is the script I use, any ideas on why it does not export the data
set the error level.
/ * Connect to Essbase * /.
Login "user1" 'password' on 'servername ';
change the database for "Bud". "Budget" start archive file 'test ';
database export "Bud". "Budget of all the data in the columns of data_file 'D:\\Hyperion\\essbase\\app\\Bud\\BUdtest1.txt '; »
change the database for "Bud". "Budget of ' complete Archives;
"exit";Not sure why you do the archives begin and end. When you perform an export, it locks the database. It could be the cause of your problems.
-
Hi DBA:
We are evaluating different methods of upgrading 11 GR 2 DB to 12 c (12.1.0.2) this year, it is very important for us to use the right method. It was reported that when DB version was 9i and has been updated to 11g, there were some order of tables 'line' was wrong when execute SELECT statements in application (Java application) - at the moment I didn't if it is ' select * from... "or any specific part with a"where"clause, and what type of data was wrong (maybe sequence CLOB data, etc.).
I think I know, ' exp/imp', "expdp/impdp" logical backup of DB methods. Therefore, Oracle automatically import data and fix it in each table. If no error in impdp connects after it's over, should not be any mistake, right?
If the use of the method of 'creates a new data + expdp/impdp basis for schemas user' 11g 12 c port data, questions:
1. this method will lead to erroneous sequence data when ordering? If so, how to re - generate the sequence number?
2. this method can bring CLOB, BLOB data and without any errors? If error, how to detect and repair?
I use the same method in the 10.2.0.5 to 11g port data, no problem.
I'll keep this thread posted after getting more information from application.
Thank you very much!
Dania
INSERT... SELECT, CREATE TABLE in the SELECT and Export-Import will all "re-organize" the table by assigning new blocks.
In place--update (using DBUA or command line) don't re-create the user tables (although it DOES not rebuild the data dictionary tables). Therefore, does not change the physical location of lines for user tables. However, there is no guarantee that a further reason for INSERT, DELETE, UPDATE instructions does not change the physical location of ranks. Nor is it a guarantee that a SELECT statement will return always stored in the same order unless an ORDER BY is specified explicitly.
If you export the data while it is still used, you don't avoid update sequences in the source database. Usually results in a mismatching number sequence between the source database and the new database (imported). In fact, even the numbers may be different, unless you use CONSISTENT or FLASHBACK_SCN. (These two options in exp / expdp do NOT prevent update sequences). The right way to manage sequences is to rebuild or increase them in data imported with the values in the data source, once the import is complete.
Hemant K Collette
-
Need help on expdp and the size of the database.
Hi all
I ran a command expdp
expdp NOLOGFILE ESTIMATE_ONLY = Y Y =.
Here is the output I got.
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. estimated 'SCOTT '. "' MS_DATA_STORE ' 539.1 MB
. estimated 'SCOTT '. "' SYS_EXPORT_FULL_03 ' 488 MB
. estimated 'SCOTT '. "' SYS_EXPORT_FULL_04 ' 432 MB
. estimated 'SCOTT '. "' URL_URL ' 267 MB
. estimated 'SCOTT '. "' MS_BUFFER_TRACK ' 203 MB
. estimated 'SCOTT '. "" NCS_ADAPTER_TABLE_OUT "168 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_19 ' 102 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_11 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_12 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_13 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_14 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_15 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_16 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_20 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_21 ' 100 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_22 ' 100 MB
. estimated 'SCOTT '. ' SYS_EXPORT_SCHEMA_18 '99 MB.
. estimated 'SCOTT '. ' SYS_EXPORT_SCHEMA_09 '98 MB.
. estimated 'SCOTT '. "' SYS_EXPORT_FULL_05 ' 95 MB
. estimated 'SCOTT '. "' SYS_EXPORT_SCHEMA_17 ' 95 MB
. estimated 'SCOTT '. "" SYS_EXPORT_SCHEMA_01 ' 92 MB
I had read that, SYS_EXPORT_SCHEMA_XX are created while taking the dump with expdp and if stop you it without a showdown at work, this kind of remains of tables in the DB.
I CAN DELETE THESE TABLES, BECAUSE IT IS TOO MUCH SPACE. ???
Thank you
NitinOracle will create master tables in the format you mentioned taking the export using expdp
You can drop them and nothing will happen even if the database is running.Please mark as correct and answered so this can help...
-
Modeler cannot export the DDL for databases Oracle (only work for DB2 databases).
Hello
First of all, I'm sorry for my English, I'm French.
I'm new with Oracle tools. I have my database with the DataModeler deisgned.
Before that I've got my schema versioning I could export the schema to DDL Server Oracle 12.
But since I have version control with Subversion I can only export to DB2 databases (screenshot follows):
Exporting to Oracle databases?
Thank you.
Well, unzip to the new directory doesn't mean a new facility because it is the same version and DM will use existing preferences - you must remove the directory with the preferences. For DM 4.0.2.840 this directory on my Win7 is:
C:\Users\
\AppData\Roaming\Oracle SQL Developer data Modeler\system4.0.2.840 After starting DM you must check "System Data Type Directory" "preferences > Data Modeler" - it should be empty or point to the directory with valid files - defaultRDBMSSites.xml and types.xml.
Posted the picture shows that these files are correct or not existing in the directory defined in your preferences
Philippe
Maybe you are looking for
-
iPhone 5 s backup using icloud
I have a 5 s and want backiup to icloud. I am attached using my iphone for wifi friends. As soon as I told backp now, it gives me a message that it can't back up now
-
682305-001 (radiator)
Is it possible to buy just the heatsink of 682305-001. I have the plastic radiator with fan case. I just don't need that the heatsink that goes on top of the MXM K4000M card. http://PartSurfer.HP.com/ShowPhoto.aspx?PartNumber=682305-001 Thank you. Ch
-
Failure of the b Windows Vista 64 update: (code 80050007)
Update windows 64B is now impossible because I see an 80050007 error code. I tried to work on my admin account, but even who could not fix this update. On the internet, I've seen a lot of questions unanswerd (UAC) for a problem like this.I even clean
-
Envy 15 J003-tx: Webcam does not work properly
My laptop webcam does not work correctly. It worked correctly and comfortably at the time where I bought the laptop recently. But now, the hd quality missed thanks to a certain period. I have tried several methods until this. I thought the cyberlink
-
I posted a question about the FBI virus. How to get rid of him. I ' v was only one answer. Someone to give here can help me with that. I'm 62, and I'm not a computer genius. I have some [eratly helpgetting need to get rid of the virus of the FBI. MS