RMAN or imp/exp: Which is good! A must read.
Hi,
I am using Oracle XE both in the office and at home. I am wondering since I am developing also during free hours at night, I'd rather bring at home all my databases/schemas/tables (and data) thru USB/DVD & upload it to my Oracle XE at home so that I can continue my work. And once I get up in the morning, all changes I made, I will still be able to upload it to my office to cont. my work by doing the same thing. So on and on.
I hope you could help me. Thanks!
Mike
You can have a subject stating "must read" only if you, on your own, have done some important development or found out a bug in Oracle or anything (related to Oracle) which is not published till date.
Rest all are forum discussion threads and need not be a "must read".
You are welcome.
Similar Messages
-
How can I change the font size when printing web pages?
When you zoom in, it is like using a magnifying glass - the underlying image remains unchanged, as you have found out.
You may be able to enlarge the bird to some extent without distortion and without pixilation by resampling.
Go image menu>resize>image size. Be sure that "constrain proportions " is checked in the dialog.
More on this from the help menu:
Photoshop Elements Help | Resizing
If you google this topic, you will get many hits. -
Imp Exp utility in ubuntu 10.4 with oracle instant client 10
Hi,
I have a problem with the imp/exp utility on Ubuntu 10.4.
I have installed the oracle instant client 10, and I have followed this thread
[http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/impexp.htm#CHDDBGDF]
So, I've set env variable in my .bashrc
ORACLE_HOME=/home/lucia/Programmi/instantclient10_1
export ORACLE_HOME
LD_LIBRARY_PATH=/home/lucia/Programmi/instantclient10_1:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
PATH=/home/lucia/Programmi/instantclient10_1:${PATH}
export PATH
SQLPATH=/home/lucia/Programmi/instantclient10_1:${SQLPATH}
export SQLPATH
Sqlplus works fine, but when I try to use the utility exp/imp
exp DB_USER/DB_PW@DB_SCHEMA owner=DB_USER buffer=300000 LOG=DB_USER.log FILE=DB_USER.dmp compress=n
I have the following error:
No command 'exp' found, did you mean:
Command 'xep' from package 'pvm-examples' (universe)
Command 'ex' from package 'vim' (main)
Command 'ex' from package 'nvi' (universe)
Command 'ex' from package 'vim-nox' (universe)
Command 'ex' from package 'vim-gnome' (main)
Command 'ex' from package 'vim-tiny' (main)
Command 'ex' from package 'vim-gtk' (universe)
Command 'axp' from package 'axp' (universe)
Command 'expr' from package 'coreutils' (main)
Command 'expn' from package 'sendmail-base' (universe)
Command 'epp' from package 'e16' (universe)
exp: command not found
(I cannot use data pump exp)
Any suggestions?
thanks in advance.
Luciaroot@laptop:~# /tmp/CVU_11.2.0.1.0_lucia/runfixup.sh
Response file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.response
Enable file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.enable
Log file location: /tmp/CVU_11.2.0.1.0_lucia/orarun.log
[: 845: true: unexpected operator
[: 860: unexpected operator
Any suggestions?
thanks
LuciaHello,
I had the same problem. It was related to the shell script interpreter being used: it is really a bash script asking to be interpreted as sh. For the impatient, the solution was to change the first line of the script orarun.sh to read as:
#!/bin/bash
Explanation:
1. The script runfixup.sh calls orarun.sh. The latter is the one that fails starting at line 845.
2. The script is really a bash script as can be seen from the if syntax used. For example at line 191 we see the double equall sign ==:
if [ "`echo $SET_KERNEL_PARAMETERS | tr A-Z a-z`" == "true" ]
3. The bash man page says:
string1 == string2
string1 = string2
True if the strings are equal. = should be used with the test command for POSIX conformance.
string1 != string2
True if the strings are not equal.
(End of man page excerpt)
Notice in particular that for a bash script to be POSIX it should avoid the == and just use =
4. orarun.sh has on its first line #!/bin/sh. On my Ubuntu system, sh is a softlink to dash and the dash man page says:
s1 = s2 True if the strings s1 and s2 are identical.
s1 != s2 True if the strings s1 and s2 are not identical.
5. So this script script uses bash syntax but is interpreted by dash. It is possible that this worked fine for the Oracle developer if on their system sh was softlinked to bash (which is often the case). Apparently, one should then be very careful to not use idioms that are not POSIX compliant.
6. Another solution is to change the /bin/sh softlink from dash to bash. Personally, I was less comfortable doing this (the possible repercussions were wider than the proposed solution above).
After making the change, the script ran perfectly. I think the best solution is for Oracle to update the script to be POSIX compliant or to identify itself as bash.
Hope that helped,
Mark Gaber
Edited by: user1112514 on Jun 30, 2010 3:28 AM -
Imp/exp ORA-12899: value too large for column
imp/exp ORA-12899: value too large for column
source :
os: linux as 4 update4
.bash_profile NLS_LANG=AMERICAN_AMERICA.US7ASCII
for run exp bill/admin001 file=bill0518.dmp bill rows=y
oracle: 10.2.1
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CHARACTERSET US7ASCII
target :
os: linux as 4 update4
.bash_profile NLS_LANG=AMERICAN_AMERICA.AL32UTF8
for run
imp bill/admin001 file=bill0518.dmp
oracle: 10.2.1
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CHARACTERSET AL32UTF8
imp log
Import: Release 10.2.0.1.0 - Production on Wed May 16 14:57:59 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc tion
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses AL32UTF8 character set (possible charset conversion)
. importing BILL's objects into BILL
. . importing table "MY_SESSION" 44 rows imported
. . importing table "T1"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "BILL"."T1"."NAME" (actual: 62, maximum: 5 0)
Column 1 1
Column 2 ÖйúÈË. 0 rows impo rted
Import terminated successfully with warnings.Yes it's probably due to different char sets
A way around it it to change the DB setup on the new database to use CHAR as default for varchar2 rows, and then use datapump to do your import/export, because datapump uses the default varchar2 type when creating tables that includes varchar2 (which is normally byte). Exp/imp uses the varchar2 type that is in the original database
Best regards
/Klaus -
Use of imp/exp to restore a database will fail ??
I have a database that uses mdsys and other user-defined objects. This week I've had the "pleasure" to try to restore a database from scratch using imp, but had to abandon because imp refuses to create tables if they refer to objects, that upon export had a different id than the database being imported to.
Since mdsys for instance, is always excluded from exports (like sys and system) when you create a new database, the spatial objects are created with a different ID than the original database. Hence, every table you have with spatial data will not be imported.
So imp only works if the internal object ids match.
What would be the "imp/exp" procedure to do a full db restore that bypasses the above problem? Has datadump solved this issue?Correct - all schemas considered part of the dictinary are excluded (why has things become so complicated- in the old days we had ONE place where everything dictionary went).
That's the problem. I have tables in my export that depends on MDSYS objects. In other words, spatial data. So, to re-create my database I must first create a database and ADD a MDSYS schema. So yes, I created the schema prior to import. The problem is, that the MDSYS objects then do not get the same object-ids. And there lies the problem. IMP will not import my tables with spatial data in them because the reference to the MDSYS objects do not match the object ID that was used during export. Why this rule is applied is the mystery.
In addition, which I rote in the spatial forum, anything related to the mapviewer application is also placed in the MDSYS schema, excluding them from export; regardless that the data related to mapviewer is not related to database objects. The result is, that your Oracle Mapviewer application data is lost. The "official workaround" is to run pre-scripts that copy the dictionary views to fixed tables, then run your export. And on import you run a post-script to copy it back. Rather silly and inflexible. -
Can I use 9i imp/exp utility after installing 10g
Hello, all:
I have two database co-exist in one machine, one is 9i, another one is 10.2, which was just installed recently . Now I need to imp/exp the 9i database, I can't invoke 9i imp/exp utility anymore, even under 9i oracle_home, I can only get 10g's imp/exp screen comes up, can someone help me? Is there anyway that I can use both version of utility in the same machine?
Thanks a lot in advance.
wendyI can't invoke 9i imp/exp utility anymoreThat might be because the 10G_ORA_HOME\BIN appears first in your PATH environment variable. Either put 9i_HOME\BIN first in your PATH or navigate to the BIN directory of 9i home and run the export/import from there.
C:\>exp
Export: Release 10.2.0.1.0 - Production on Wed Oct 25 09:31:50 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: ^C
C:\>
C:\>cd Oracle\ora92\bin
C:\oracle\ora92\bin>exp
Export: Release 9.2.0.7.0 - Production on Wed Oct 25 09:32:03 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Username: ^C
C:\oracle\ora92\bin> -
Minimum group membership for imp/exp for ora 8i(client) windows xp users
Hi to all,
For oracle 8i clients, windows xp users, what is the minimum group membership required that can be used so that the users can import or export dmps. Using Administrators imp/exp works ok... Any alternative?
ThanksHi Thierry,
Please do not confuse the issue. Here we have the windows Operating System - privilege and then the Oracle database user privilege. In my case the Oracle database user privilege is DBA. If the user is given a Windows - Administrators privilege (which I do want to give) the exp/imp creates the DMP and log file. But any other standard windows privilege (with DBA privilege) the exp/imp does not create the dmp and log file. I hope I am clear and now you can suggest some alternative solution to OS - administrator.
Thanks again -
Hello!
I am a newbie in dataguard.
Til now the only backup procedure for the data was accomplished using the exp command on specific schemas.
Now we want to create a data guard environment but we want to continue using exp on the primary and imp on another server(not the standby).
Do the new configurations for data guard effect the exp procedure, I mean can we continue using exp on the primary as before without any problem?
Thanks in advance!Uwe has made me think about more.
If you are asking will IMP/EXP still work then yes is the correct answer.
However since you state "only backup procedure" I went with the RMAN answer.
Also I assume you are speaking about the Primary database only.
Best Regards
mseberg -
Hi how to disable imp/exp functions once it has been enabled?
Thks for any infoEither you need to create a trigger which will prevent performing export/import or reoke the "select on EXU8FUL" as the forum user "michaels" suggested in one of the similar posts.
Prevent the use of EXP and IMP for specified Oracle Users
Regards,
Sabdar Syed. -
My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve this issue. I have tried resetting it but nothing... Either I'm doing something wrong or....
I believe the issue is with the Apple ID that was used to purchase the App. If you download an App that was purchased under a different Appple ID then all updates will also be linked to the original purchaser's Apple ID. Your Apple ID is the the same ID as your iTunes, iCloud, etc. Some folks use different ID for the different Apple sites. No need for that One ID for all Apple Sites, and if someone else buys an App using their ID and they(you) download that App onto your device and that App requires an update it will ask for the purchasers Apple ID. This happens a lot when folks sell their iPad or give it to someone else and leave some purchased(free) Apps on the iOS device. You cannot change the original ID the App was purchased under. A suggestion would be if someone else has an App that you like but do not want to pay for use their ID or in the future have them gift the App to you.
-
How to redirect imp/exp or impdp/expdp output
Hello,
I'm sorry for that, if this forum not the right place for this posting, but I hope that some one has this problem too.
I've an application written in C# (an windows.forms app) that calls imp/exp or impdp/expdp (depends on user). I need the output of this tools in my app.
Thank a lot for any help.user9099355 wrote:
Hello,
I'm sorry for that, if this forum not the right place for this posting, but I hope that some one has this problem too.
I've an application written in C# (an windows.forms app) that calls imp/exp or impdp/expdp (depends on user). I need the output of this tools in my app.
Thank a lot for any help.EXPDP/IMPDP:-
[oracle@adg disks]$ expdp system/manager schemas=scott directory=DATA_PUMP_DIR logfile=scot_exp.log
Export: Release 11.2.0.1.0 - Production on Tue Oct 4 14:36:54 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=DATA_PUMP_DIR logfile=scot_exp.log
[oracle@adg disks]$ cd /u01/app/oracle/admin/adg/dpdump/
[oracle@adg dpdump]$ ls -lt scot_exp.log
-rw-r--r-- 1 oracle dba 1965 Oct 4 14:38 scot_exp.log
[oracle@adg dpdump]$exp/imp:-
[oracle@adg dpdump]$ exp system/manager file=exp_schema.log log=exp_schema_trad.log owner=scott
Export: Release 11.2.0.1.0 - Production on Tue Oct 4 14:38:53 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
[oracle@adg dpdump]$ ls -lt exp_schema_trad.log
-rw-r--r-- 1 oracle dba 1774 Oct 4 14:39 exp_schema_trad.log
[oracle@adg dpdump]$or
nohup exp system/manager file=exp_schema.dmp owner=scott > exp_schema_test.log
+[oracle@adg dpdump]$ ls -ltr exp_schema_test.log+
-rw-r--r-- 1 oracle dba 1922 Oct 4 14:40 exp_schema_test.log
+[oracle@adg dpdump]$+ -
Hi all,
I am interested in changing language in exp and/or imp log files? Oracle version is 10.2.0.4.0, OS version is Win 2k3R2.
I have Oracle DB installed on hungarian-language OS, and when issue an exp command, I get log file on hungarian language. I need stdout language for imp/exp utility to be on english. Can I do this?
As far as I know stdout language for sqlplus query for current session can be changed with alter session set nls_language=ENGLISH.
A little demonstration:
current logfile:
. . a következo tábla exportálása: A 3 sor exportálva
. . a következo tábla exportálása: B 2 sor exportálva
. . a következo tábla exportálása: C 0 sor exportálva
desired logfile:
. . exporting table A 3 rows exported
. . exporting table B 2 rows exported
. . exporting table C 0 rows exported
. . . . .Tnx in advance.Prior to running exp or imp (and why still use exp and imp?)
set nls_lang=<Region>_<territory>.<characterset>
Don't know why but it seems it is 'Doc question day' again.
Sybrand Bakker
Senior Oracle DBA -
Problems compiling objects after imp/exp
I am moving an Apex database to a new machine using imp/exp. I have run into problems getting 2 packages ( WWV_FLOW_CUSTOM_AUTH_STD and WWV_FLOW_SECURITY ) to compile due to PLS-00753: malformed or corrupted wrapped unit. I have tried using both imp/exp and datapump with no success. I have insured that my sys grants exist on the new database. I have also tried generating the package code and manually creating the package with no luck?
Any ideas? Is there a script in the Apex distribution that can be run to recreate these pacakges?
Thank you
Message was edited by:
birkBirk,
1. Connect as FLOWS_xxxxxx (depends on your version) and alter package wwv_flow_security compile
alter package wwv_flow_security compile body
alter package wwv_flow_custom_auth_std compile
alter package wwv_flow_custom_auth_std compile body
/2. If that doesn't work, go to the core directory in the distribution and, again connected in SQL*Plus as FLOWS_xxxxxx, run: @auth.sql
@auth.pkb
@custom_auth_std.sql
@custom_auth_std.pkb3. If that doesn't work, you may have to contact Support about the imp/exp steps that seem to have given rise to this.
Scott -
Function Module which creates goods receipt document
Dear all:
Do you know a function module which creates goods receipt document?
Thanks
BacHello, Satyanarayana and Mickael,
I found the function module. It is called BAPI_GOODSMVT_CREATE.
Thank you for your suggestion. I think your suggestion works also, so now I have two solutions that I can use.
Bac -
when i use the macbook pro at home, do i need to use the charger or the battery, which is good to the battery?
I Personaly would use the Charger
see Threads
http://www.apple.com/batteries/
and
http://www.apple.com/batteries/notebooks.html
and
http://support.apple.com/kb/HT1446#Troubleshooting
Maybe you are looking for
-
How do I install CS6 Design Standard on a 13" Macbook Pro with no disk drive
I have the serial code from online registration but dont know how to install without the disk!
-
Attachmentbuttons are not active in Hotmail using Firefox 8.0, how to solve?
Hello, I'm using Firefox since the very first day and I'm really happy about it. But since a few releases I'm experiencing problems with Hotmail.com. I just can't attach files to my e-mails, the buttons are there but they're not working. If I want to
-
Problems after today's Airport Utility Update
After downloading today's airport utility software update, now my MacBook Pro, running Snow Leopard, is unable to find any wireless connections in my home. I have a Netgear Router and an Apple Express. Nothing shows up and the computer continues to s
-
Correct way to construct variable based on other variable's name
Hello! I have done this topic based on some modifications of this thread. The problem is that I can't understand how to manipulate with selection of the columns as variable when iterating over loop. My goal is to define multiple variables for 'selec
-
Display attributes tab in BEx Web
Hi, I don't see <b>display attributes</b> tab after clicking context menu -> properties -> Characteristics(for perticular Char). I can see only one tab. There should be three tabs according to help.sap.com... http://help.sap.com/saphelp_nw04s/helpdat