ORACLE import error [message #544732] |
Thu, 23 February 2012 09:43 |
fvazharov
Messages: 6 Registered: October 2009 Location: Bulgaria
|
Junior Member |
|
|
Dear All,
I have the problem with import in Oracle 8.1.7
The size of import file is 29600 kb and tablespace size is 16gb and when I try to make import oracle back this message:
IMP-00003: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 7 in tablespace DATA
The data tablespace is full. I think that the import file contains information about the original tablespace from which has made export. But I don't now how to resolve the problem
Please, can anyone help?
BR,
Fil
|
|
|
|
|
Re: ORACLE import error [message #545458 is a reply to message #544738] |
Wed, 29 February 2012 09:42 |
fvazharov
Messages: 6 Registered: October 2009 Location: Bulgaria
|
Junior Member |
|
|
Thank you Michel,
I am greenhorn and I don't know what exactly to modify in the indexfile that I create with the following command:
imp demo/demo FROMUSER=DEMO INDEXFILE=d:\ind.txt
I copy here a part of the file contents, could you please, help me! What I need to change, so that the import to take normally space?
CREATE INDEX "DEMO"."COMPANYCUSTOMER113" ON "COMPANYCUSTOMER"
("DESTINATIONNUMBER" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
1105920 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "DEMO"
LOGGING ;
CREATE INDEX "DEMO"."COMPANYCUSTOMER114" ON "COMPANYCUSTOMER" ("NAME1" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 1105920 NEXT 1048576
MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "DEMO" LOGGING ;
CREATE INDEX "DEMO"."COMPANYCUSTOMER115" ON "COMPANYCUSTOMER"
("PAYERIDENTIFICATION" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1105920 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "DEMO" LOGGING ;
CREATE INDEX "DEMO"."COMPANYCUSTOMER116" ON "COMPANYCUSTOMER"
("PAYMENTCUSTOMER" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
1105920 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "DEMO"
LOGGING ;
CREATE INDEX "DEMO"."COMPANYCUSTOMER117" ON "COMPANYCUSTOMER" ("TELEPHONE"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 1105920 NEXT 1048576
MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "DEMO" LOGGING ;
CREATE INDEX "DEMO"."COMPANYCUSTOMER118" ON "COMPANYCUSTOMER"
("THECUSTOMERNUMBER" , "SETTLINGCOMPANY" ) PCTFREE 10 INITRANS 2 MAXTRANS
255 STORAGE(INITIAL 1105920 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS
2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "DEMO" LOGGING ;
|
|
|
|
|
Re: ORACLE import error [message #545468 is a reply to message #545465] |
Wed, 29 February 2012 11:24 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Do you use LMT (locally managed tablespace) or DMT (dictionary managed tablespace)?
Check the space used in the original database.
Change all MINEXTENTS to 1 and PCTINCREASE to 0.
Regards
Michel
[Updated on: Wed, 29 February 2012 11:26] Report message to a moderator
|
|
|
Re: ORACLE import error [message #545538 is a reply to message #545468] |
Thu, 01 March 2012 02:30 |
fvazharov
Messages: 6 Registered: October 2009 Location: Bulgaria
|
Junior Member |
|
|
Michel,
Thank you very much!
My INITIAL_EXTENT for some tables was a huge. I solved the problem the following way:
CREATE TABLE new_table as select * from table;
DROP original table
RENAME new_table to table;
In this way the storage settings of the tables accept these of the tablespace.
Regards
Filip
|
|
|
|
|
Re: ORACLE import error [message #545570 is a reply to message #545555] |
Thu, 01 March 2012 03:55 |
fvazharov
Messages: 6 Registered: October 2009 Location: Bulgaria
|
Junior Member |
|
|
Michel Cadot wrote on Thu, 01 March 2012 03:24Quote:In this way the storage settings of the tables accept these of the tablespace.
I don't understand what this means.
When I recreate the tables become following:
Object DDL:
BEFORE
STORAGE ( INITIAL 8320K NEXT 8192K MINEXTENTS 1 MAXEXTENTS 249
PCTINCREASE 100 FREELISTS 1 FREELIST GROUPS 1)
LOGGING
AFTER
STORAGE ( INITIAL 24K NEXT 1024K MINEXTENTS 1 MAXEXTENTS
2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1)
LOGGING
Quote:Maybe the command 'deallocate_unused_clause' will do the same?
Same as what?
I thought that doing the same as above but no. I tried
Regards,
Filip
|
|
|