Import Hangs after importing only rows
dear Experts,
i am in a situation that i am trying to import table in my 9i database it imports only rows and cursors stays on like
importing table abc 100 rows imported_
it remains here and nothing more do, didnt import constraints, indexes, triggers etc
please help me out.
i am using Redhat enterprise linux 4.8 64bit, and oracle 9.2.8
thanks
1. Try to import with IGNORE=Y , if you are not already
Import will be filling up some tablespace and archive destination. So,
2. Check whether any table space is full on the database you are trying to import.
3. Keep an eye on archive log destination.
Similar Messages
-
How to import only rows of tables from from a dump file
Good day,
I have impoted a schema from a dump files with option rows=n,(accordingly it should import only structure of the tables)
now i want to import rows for these tables in that schema. Kindly guide me how to do that. I have used below syntax for import.
imp userid=system/manager@testdb fromuser=abc touser=abc file=d:\abctest\
abc.dmp log=e:\abc15.log buffer=100000000 ignore=y constraints=n grants=n statistics=none rows=n;
Any help willbe much appriciated.
Regards
AnshHi Sybrand,
Thanx for the suggestion. Actually it is my fault that I had not explained the whole scenarion.
Let me explain it one by one...
(1) First i was importing a schema with rows=y option and I was getting some constraints error(can not insert NULL value in 'not null' column of some particular table) and import was unsuccesful.
(2) Then i desided to import only structure of the tables in that schema, and later disabled that constraint which was creating the problem.
(3) Now I m willing to import the data in these tables using that .dmp file, using rows=y, and this was my question if i m doing it in a right way or do i need to do some further step.
Hope this time i have made picture more clear.
Thanx a lot Hans and Sybrand
btw no wall around so can't bang my head :) -
Hi,
I am working in oracle 8i. I deleted two rows in a table and i am having a export dump file of the schema.
so i use the import command to import the rows.
imp username/password file=export.dmp log=export.log fromuser=gobi touser=nath
but my deleted rows are not imported using the above command.
Kindly provide me the command to import only the rows in a table.
Rgds...Hi,
By default the parameter rows="y".
Does your deleted rows exist in the dump, which you are importing.??
Does is the User is Correct User "From"(from which you are importing..)..??
Make Ignore="y", that might work out...!! since by default value is "n"
Thanks & Regards,
Pavan Kumar N
Message was edited by:
Pavan Kumar -
Well I wrote a ShellSkript that downloades the data from a SFTP Server and then uses the sqlldr to import the data.
The Problem is : The sqlldr script does not end. It "hangs" after trying to import all lines.
Here is the Screen :
Verwerk shop_orders_2008-03-09_150000_2008-03-10_010000_postpaid_1205107921.csv
SQL*Loader: Release 9.2.0.7.0 - Production on Mon Mar 10 12:47:49 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Commit point reached - logical record count 25
Commit point reached - logical record count 50
Commit point reached - logical record count 54
Commit point reached - logical record count 55
Here is the matching Log :
Record 49: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 50: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 51: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 52: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 53: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 54: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD.
ORA-00001: unique constraint (HANS.PK_WEBSALES_POSTPAID_LOAD1) violated
Record 55: Rejected - Error on table DM_WEBSALES_POSTPAID_LOAD, column TRANSFERT_ACCEPT_CONDITIONS.
ORA-01401: inserted value too large for column
Table DM_WEBSALES_POSTPAID_LOAD:
0 Rows successfully loaded.
55 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 251550 bytes(25 rows)
Read buffer bytes: 1048576
Total logical records skipped: 1
Total logical records read: 55
Total logical records rejected: 55
Total logical records discarded: 0
Run began on Mon Mar 10 12:47:49 2008
Run ended on Mon Mar 10 12:47:49 2008
Elapsed time was: 00:00:00.46
CPU time was: 00:00:00.01
Ok, I see that I've imported the same data many times (as you can see in the key violation) but nevertheless the script should end...
Have any ideas ???
Thanks in advance,
CarstenWell.... thanks for the help but it has been another problem (hanging sql+ session after sqlldr Command).
Sorry guys!!
- can be closed - -
Import only the rows of emp table from Test into emp table of Prod
hi,
Test Instance:
=========
I have a table "emp". I want to take export of it.
Prod Instance:
=========
Table with name "emp" already exists.
I want to import only the rows of emp table from Test Instance into emp table of Prod Instance.
regards,
charanCharan,
Set the import command IGNORE=Y
Importing into Existing Tables
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023662
Regards,
Hussein -
How to import only "missing" E-Mails from backup?
Hello everyone!
I have a problem with mail. I set up a new MacMini (w/ Mavericks, i7, 2014) from a backup of an older MacMini (also Mavericks, i5, 2012). I used the migration client and it all looked just fine, when I first started working on the new system. First thing, which was odd: I had my project folder with LOTS of content lying on the desktop (some 14 GB, a few thousand files in multiple subfolders). I noticed, of those 14 GB 12 GB went missing. No problem - I just copied the files from my old system (which I still have and which still works).
However, after I've been working with the new system for a couple of weeks, I noticed the same thing that happened to my project folder apparently happened to my (local) E-Mail folders. Again, the folder structure is still there, but tons of (mostly older) e-mails are missing. Since I've been working with the new system for quite some time now, the above-mentioned "delete and replace" approach is out of question, because all new e-mails, which I filed in the local folders would be lost.
As I still have my old system as a backup, it is no problem for me to retrieve all old e-mails manually. But is there a way how I can import only those mails, I have lost during migration? Or in other words: How can I sync the new and the old mail folders while avoiding duplicates and keeping the folder structure as is?
Every comment is highly appreciated! Thanks in advance..!Quit Mail. Force quit if necessary.
Back up all data before proceeding.
Triple-click anywhere in the line below on this page to select it:
~/Library/Mail/V2/MailData
Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder
from the menu bar. Paste into the box that opens by pressing command-V, then press return.
A folder window will open. Inside it there should be files with names as follows:
Envelope Index
ExternalUpdates.storedata
Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.
Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. ClickOK. Typically, the process takes a few minutes, but it may take hours if you have gigantic mailboxes. In that case, you may be able to speed things up by temporarily adding your home folder to the Privacy list in the Spotlight preference pane. Remove it when Mail has finished importing.
Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results. -
My Contact from ICloud imports only the name but not every thing else if I want to import it to Contact on my Mac. But that only happens with my own card.
Before, my V-Card in Contacts on my Mac was ok, but now it disappeared. When I try to import it from ICloud only my name appears.
Can anyone help me? ThanksThe backup of your iPod Touch would include your camera roll photos. Restoring the backup to another iPod Touch or iPhone would recover them. Photos will not be restored by restoring the backup to an iPad.
Note: Apple deletes iCloud backups after 180 days of inactivity so be sure to do this before then. -
Hi,
I have a full database dump and I would like to import only the metadata, i.e., only the objects structure.
My database is an Oracle 8i versioned. I used the following:
imp system file= log= full=y rows=n
kindly let me know if I am wrong or is there any other way to do this.
With the above statement only the schemas are created but there are no objects at all.rp0428 wrote:
Did you specify TABLES=* to import all tables?import operates in 1 of 3 modes
a) FULL=Y
b) OWNER=<schema_name>
c) TABLES=
& they are mutually exclusive -
How to have iPad (iOS 5) import only the JPEG from a RAW JPEG pair?
I have an iPad 2 16 GB, running iOS 5. I also have a Canon EOS 7D. I purchased a CF Card Reader for the iPad (see http://store.micgadget.com/card-readers/280-ipad-2-cf-card-camera-connection-kit .html) so that I can view and edit photos quickly in the field, without having to lug my laptop around. To make this easier, I set my camera to shoot RAW+JPEG. I shoot with the smallest JPEG files possible, still a relatively large for the iPad 2,592x1,728, with the idea that I'd only import the JPEG files to the iPad, but still have the RAW files to work with when I get back to my computer. This works great with one exception: the iPad doesn't allow me to import only the JPEG files, but grabs the RAW files along with them. As you can imagine, this fills up my iPad rather quickly, and takes quite a bit longer to import than if it only grabbed the JPEGs.
So here is my question: How do I have my iPad import only the JPEGs from the RAW+JPEG pairs on the memory card?
One workaround that helps slightly. If I connect my iPad to my computer after the import, I can go in via Image Capture, select all the RAW images and delete them, leaving the JPEGs behind. This is an underwhelming solution, but does save space after the fact.What you are seeing is how Safari works now in iOS 5. There is no way to get that icon in Safari now. There other much better browsers available in the App Store. Look at iCab Mobile, Mercury, Atomic, ....
I have been running iOS 5x for so long now, that I don't even remember if that icon did appear in earlier iOS versions -
Import only a procedure or functions from a dump file
helllo
i have an entire dump file of a database.and i want to import only two procedures from the dump file.i am using oracle 9i.
suppose AFRES.DMP is the dump file and CALC_PENSION is the package i want to import from AFRES.DMP to my PRIME database.
Regards souravWhat I'd do is import (with ROWS=N) the schema containing the packages you want into a new schema, then copy the things you want to your destination schema. I think this is the only way to do this selectively.
Cheers,
Colin -
Hi Friends,
I need to know whether there is possibility of importing only packages from an exported dump file into another database.
If yes,kindly tell me how to do.
The problem is I want to retrieve the older version of the package now as we dont have the backup of the same.
Regards,
MarlonKhurram
Just a couple of warnings.
1) On AIX and Oracle 9.2.0.7 I tried this and had to redirect stderr, rather than stdin (ie filed descriptor 2, not 1):
imp user/password file=myfile.dmp fromuser=EXPORTUSER touser=IMPORTUSER show=Y rows=N 2>showfile.txt2) The package text is in the form:
"CREATE PACKAGE package_test AS"
" FUNCTION test_fun(p_test_param IN VARCHAR2)"
" RETURN NUMBER;"
... etcso you are going to need to strip the leading and trailing double quotes (eg using sed, awk, or your favourite editor macro).
HTH
Regards Nigel
PS thanks Jens, I knew about indexfile but not about show... -
Hi,
I've got a export dump (with rows=N) and now I would like to import only the JAVA CLASSES/RESOURCE from this export dump .
Can someone please assist in the procedure to follow?
Thanks.I dont believe that you can specifically ask for java classes to be imported with imp. You can with datapump import.
You could do an import with the indexfile parameter and look at the DDL that would have been run, and pick out your java classes out of this? -
Importing only most recent photos
I do not always want to erase photos from my camera after importing them onto the computer, but when I want to import the next batch, iPhoto wants to import the entire collection I have kept on the camera. Is there some way I can import only those photos that are not already on the computer?
Welcome to the Apple Discussions.
Yes. If your camera mounts on the Desktop as an external device, then all you have to do is choose File > Import to Library from the menu bar. Then you'll be able to navigate to your camera, preview the files there, and choose only what you wish to import.
If your camera doesn't mount on the Desktop, like most Canon models, then you can use a card reader for importing. The reader mounts the card on the Desktop just like an external hard drive.
The other option is to use Image Capture (in your Applications folder) to upload the files from your camera. It has a Download Some option that will allow you to preview the files and select only the ones you want. Save them to a Desktop folder, not a location inside your iPhoto Library folder. Then import into iPhoto, and delete the original folder.
Regards. -
Import only table but got PLSQL CALL STACK.
Hi,
I am using ORACLE DATABASE 11g and Linux Enterprise 5. I am executing a command to import only one table from other schema to our schema. This import is done on netwrok_link parameter. In this case the log shows me many errors but the table gets imported.
What does these error means ? can anyone please suggest how to correct them...
$impdp tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
Import: Release 11.2.0.3.0 - Production on Wed Mar 28 10:06:54 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYS"."SYS_IMPORT_TABLE_01": sys/******** AS SYSDBA tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 2 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [WORK_PHASE]
ORA-03113: end-of-file on communication channel
ORA-02063: preceding line from DBLINK_IUT01
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x8aabd0e0 20462 package body SYS.KUPW$WORKER
0x8aabd0e0 9028 package body SYS.KUPW$WORKER
0x8aabd0e0 6814 package body SYS.KUPW$WORKER
0x8aabd0e0 2691 package body SYS.KUPW$WORKER
0x8aabd0e0 9697 package body SYS.KUPW$WORKER
0x8aabd0e0 1775 package body SYS.KUPW$WORKER
0x9f3376a0 2 anonymous block
Processing object type TABLE_EXPORT/TABLE/TABLE
. . imported "NGPIUT01"."FLX_DD_FIN_STMT_LOGS" 2921 rows
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39083: Object type REF_CONSTRAINT failed to create with error:
ORA-02298: cannot validate (NGPIUT01.FLX_DD_FIN_ACCOUNT_CODE_FK) - parent keys not found
Failing sql is:
ALTER TABLE "NGPIUT01"."FLX_DD_FIN_STMT_LOGS" ADD CONSTRAINT "FLX_DD_FIN_ACCOUNT_CODE_FK" FOREIGN KEY ("ACCOUNT_CODE") REFERENCES "NGPIUT01"."FLX_DD_ACCOUNTS_B" ("ACCOUNT_CODE") ENABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS [TABLE_STATISTICS]
ORA-31600: invalid input value 100001 for parameter HANDLE in function CLOSE
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA", line 709
ORA-06512: at "SYS.DBMS_METADATA", line 5734
ORA-06512: at "SYS.DBMS_METADATA", line 1475
ORA-06512: at "SYS.DBMS_METADATA", line 7481
ORA-06512: at "SYS.KUPW$WORKER", line 2792
ORA-02067: transaction or savepoint rollback required
ORA-06512: at "SYS.DBMS_METADATA", line 1475
ORA-06512: at "SYS.DBMS_METADATA", line 7481
ORA-06512: at "SYS.KUPW$WORKER", line 10928
ORA-03113: end-of-file on communication channel
ORA-02055: distributed update operation failed; rollback required
ORA-02063: preceding lines from DBLINK_IUT01
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x8aabd0e0 20462 package body SYS.KUPW$WORKER
0x8aabd0e0 9028 package body SYS.KUPW$WORKER
0x8aabd0e0 9831 package body SYS.KUPW$WORKER
0x8aabd0e0 1775 package body SYS.KUPW$WORKER
0x9f3376a0 2 anonymous block
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [POST_WORK_PHASE]
ORA-03113: end-of-file on communication channel
ORA-02063: preceding line from DBLINK_IUT01
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x8aabd0e0 20462 package body SYS.KUPW$WORKER
0x8aabd0e0 9028 package body SYS.KUPW$WORKER
0x8aabd0e0 6814 package body SYS.KUPW$WORKER
0x8aabd0e0 2691 package body SYS.KUPW$WORKER
0x8aabd0e0 9697 package body SYS.KUPW$WORKER
0x8aabd0e0 1775 package body SYS.KUPW$WORKER
0x9f3376a0 2 anonymous block
Job "SYS"."SYS_IMPORT_TABLE_01" completed with 10 error(s) at 10:07:27ORA-03113: end-of-file on communication channelThis error means that you have a communication error. The Data Pump code has automatic restart, so when this happens, the worker process KUPW$WORKER fails with a fatal error, but the MCP process restarts the worker and restarts the job where it left off.
Is the import command getting terminated in middle of transaction and putting the call stack on the screen. Previously i dint >used to get these errors in import. What could be the reason ?Part of the Data Pump job is terminated, but the complete job is not terminated. There is an MCP process that runs and controls the job, there are also worker process(es) that run that are assigned work items to perform. In your case the work item fails because it can't communicate with some other process. This causes the worker process to die. The MCP detects this and starts another worker process and assigns the same work item that failed. When the worker process fails, it dumps its stack.
All this means is that the communication works, but looks like it is flaky. The worker process can communicate sometimes, but fails others. I have no idea which layer is flaky.
Dean -
Hello,
My main photo program is lightroom 2. I have installed aperture 3 in order to test it. I don't want to import all my pictures into the Aperture library. Therefore I clicked in the import menu " Store Files in their current location".So I guess Aperture is only creating links and thumbnails to my pictures. After a while I can see all my pics in aperture. But after closing aperture and reopening it, aperture starts to update the library and starts to copy all pics. The library size increases more and more to over 3 GB after having only 300 pictures updated. Why?
I am looking for a way to use Lightroom and Aperture together but without doubling my pics on the HD. I have over 10.000 pic in dng/raw. It would waste to much space. Can anybody help?
ThanksHello,
My main photo program is lightroom 2. I have installed aperture 3 in order to test it. I don't want to import all my pictures into the Aperture library. Therefore I clicked in the import menu " Store Files in their current location".So I guess Aperture is only creating links and thumbnails to my pictures. After a while I can see all my pics in aperture. But after closing aperture and reopening it, aperture starts to update the library and starts to copy all pics. The library size increases more and more to over 3 GB after having only 300 pictures updated. Why?
I am looking for a way to use Lightroom and Aperture together but without doubling my pics on the HD. I have over 10.000 pic in dng/raw. It would waste to much space. Can anybody help?
Thanks
Maybe you are looking for
-
How to I get my Mac to stop deleting the pictures off of my phone that I sync to the computer?
When I first uploaded pictures to my Mac from my iPhone, it asked me if I wanted it to delete the pictures off of my phone as they uploaded, and I said yes.Now, every time I upload pictures, all the pictures from my phone get deleted as they sync ont
-
Mini DVI solution - SwitchResX or just VGA?
I have a G4 mini. I just bought a Viewsonic VG2030WM monitor (1650x1080). It works decently over DVI out of the box, but I've noticed that the signal dies when some of the OS X screensavers run for too long. Pretty sure it's the usual TDMS issue... t
-
Way to view camera-specific metadata
Is there a way to view camera specific metadata? My camera has a variety of fields that include the mode the camera was using when the picture was taken. This is not part of the standard EXIF/IPTC I believe, so bridge doesn't display it. I know it's
-
IDVD 09 and Aperture 3 not open
When I try to open idvd or Aperture 3 with X 10.6 I get the error message: iDVD cannot be opened because of a problem, check with the developer to make sure IDVD works with this version of Mac OS X. Be sure to install any available updates to the app
-
AD RMS user specific permission
Hi I have installed and configured AD RMS in Windows 2008 server. Currently all users can apply templates / assign permissions for any office files / outlook mail. Now my requirement is to restrict this access to a group of people who can actually se