Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Import (URGENT)

Re: Import (URGENT)

From: <martyn.r.baker_at_uk.pwcglobal.com>
Date: Fri, 26 May 2000 14:09:19 +0100
Message-Id: <10509.106863@fatcity.com>


--0__=i7B3zwEikZ8o2KM4M78K2KhqFGn8Wt4FsPtSTsQwz2qXqK2LfiS8ZezB
Content-type: text/plain; charset=us-ascii Content-Disposition: inline

Saj,
What is your imp command?
imp file=full_export.dmp fromuser=old_user to_user=new_user buffer=1024000 commit=y tables=table_name ????

Check the following:
What roles does the new schema owner have? If it has DBA role then the table will go into the same tablespace as the 'fromuser'. Does the new schema owner have quotas on the UNETDB tablespace? What is the default tablespace for the new schema owner? It also looks as though you ran the export with compress=y. Is there a large enough contiguous chunk of free space to accommodate the table in the correct tablespace. This is what the error message is complaining about in the message you got for UNETDB.

I suspect the problem may lie in the first check, but if all else fails run: imp file=full_export.dmp indexfile=new_schema.sql fromuser=old_schema tables=table_name buffer=1024000
edit the new_schema.sql to remove the REM at the start of each of the create table statement line and change the tablespace_name for the table to the correct one. Amend the initial extent size as necessary if the table will not go into the new tablespace in one extent.
Run this script as the new_schema owner. Re-issue the first imp command in this note and append 'ignore=y' to it.
This should work.

Martyn

                                                                  
 (Embedded                                                        
 image moved   Sajid Iqbal <sajid_at_u-net.net>                      
 to file:      26/05/2000 13:19                                   
 pic12240.pcx)                                                    
                                                                  



To: ORACLE-L_at_fatcity.com, oracle_at_telelists.com, oracledba_at_lazydba.com cc:
Subject: Import (URGENT)

I am trying to import a table from a full export.. importing into a diff'n schema than where the table originted from. using fromuser and touser.

the touser had his tablespace set to a diff'n tablespace than the fromuser.. yet it still seems to try and import into the original tspace

I'm getting the folowing error -

ORA-01658: unable to create INITIAL extent for segment in tablespace UNETDB
Import terminated successfully with warnings.

TIA
--

U-NET Ltd a VIA NET.WORKS Inc company

Sajid Iqbal                    | Mail : sajid_at_u-net.net
Database DBA/Developer         | Ext  : 4485
U-NET Ltd                      | ICQ  : 43903417
Warrington, Cheshire, UK       |





If you're bored, then visit the list's website: http://www.lazydba.com (updated daily)
to unsubscribe, send a blank email to oracledba-unsubscribe_at_quickdoc.co.uk to subscribe send a blank email to oracledba-subscribe_at_quickdoc.co.uk

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--0__=i7B3zwEikZ8o2KM4M78K2KhqFGn8Wt4FsPtSTsQwz2qXqK2LfiS8ZezB
Content-type: application/octet-stream;

        name="pic12240.pcx"
Content-Disposition: attachment; filename="pic12240.pcx" Content-transfer-encoding: base64

CgUBCAAAAABoACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAABaQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAD1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPH
E8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sT zRPHE8MTwhPwEwzIBgzYE8wTxhPDE8IT7hPOBtcTzBPGE8MTE+wTwgbCBwbCEgbCEgbCEsUG1hPL E8YTwxMT6hMMwgYHwgLCAwISwgfEEsMCwwbVE8sTxRPDExPpE8MGAwcCBwMCwhLDB8ISwgISwgLD BtUTyhPFE8MTE+gTwgIHA8ICEw4DDgLDE8USwwLCEMIG1BPKE8UTwxMT5xMCAwcDAg4TDgITwgIS D8ISD8ISBRICEcICwwbUE8oTxRPCExPmEwYCBwMCDgIOwgLDExITEhPCEg8GxgLDBtMMDAfJE8QT whMT5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feEwYH xxICEQPDAgMCwhIGEgYHBgwGEAIQAsIGB8MTDMYTwwfKEwzGE8MTwhPDE8IMB98TDBLCB8USAgMR xAISB8ISBgcGDAYQBhAGEAYMB8MMB8kTwwfHEwzGE8MTwhPDEwwPwgzfEwYSB8ISB8ISAhECAwID EgcSBwYHBgwGEAYQxgzDD8IHxRPDB8kTBwzGE8MTwhPDEwzDD8QM3BPCBhIGwxIGAhECAwIHBgcG yAzJDxMHzRMHwwwHxxPDE8ITwxMHDMYPxwwH1BMGEgYSBhLLDM4PwwwTDMcTwgfEDAfJE8QTwhMT xBMHwgzLD9sM0w/GDAfDEwzDEwfEDAfLE8YTwxMTxhMHxAztD8gMBgfIE8QMB84TxxPDE8ITyhMH xwzbD8sMEAUMBcIMwgYH1RPKE8UTwxMT0RMH2wwGEAYQBhACBQwFDAUMBgwHBgfWE8sTxRPDExPu EwYMBhAGEAIGDAYMwwYH1xPLE8YTwxMT8BPKBgfYE8wTxhPDExP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhMMAAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD/
/wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8A
AAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A
//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAA
AP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA
/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCk
gICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vw
oKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw
//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzA
psrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDA
wNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICA
wMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACA AICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACA Received on Fri May 26 2000 - 08:09:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US