IMP-00017: following statement failed with ORACLE error 2237 [message #240112] |
Thu, 24 May 2007 02:58 |
crmserver
Messages: 7 Registered: May 2007 Location: CHINA
|
Junior Member |
|
|
C:\>imp73 system/manager file=c:\oracle.dmp grants=y indexes=y full=y commit=y ignore=y log=c:\oracle.log
IMP-00017: following statement failed with ORACLE error 2237:
"CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
"ZE 3221225472 DEFAULT STORAGE (INITIAL 53248 NEXT 53248 MINEXTENTS 1 "
"MAXEXTENTS 121 PCTINCREASE 1) ONLINE PERMANENT"
IMP-00003: ORACLE error 2237 encountered
ORA-02237: invalid file size
IMP-00017: following statement failed with ORACLE error 2237:
"CREATE TABLESPACE "TEMPORARY_DATA" DATAFILE 'E:\ORANT\DATABASE\TMP1ORCL.OR"
"A' SIZE 4093640704 DEFAULT STORAGE (INITIAL 102400 NEXT 102400 MINEXT"
"ENTS 1 MAXEXTENTS 121 PCTINCREASE 0) ONLINE TEMPORARY"
IMP-00003: ORACLE error 2237 encountered
ORA-02237: invalid file size
|
|
|
|
|
|
Re: IMP-00017: following statement failed with ORACLE error 2237 [message #240501 is a reply to message #240167] |
Fri, 25 May 2007 01:39 |
crmserver
Messages: 7 Registered: May 2007 Location: CHINA
|
Junior Member |
|
|
CREATE TABLESPACE USER_DATA DATAFILE 'E:\ORANT\database\USR1ORCL.ORA SIZE 6000M
DEFAULT STORAGE ( INITIAL 50K NEXT 50K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 1);
The prompt: already existed USER_DATA tablespace
if I modified tablespace Still have error:
ALTER DATABASE DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' RESIZE 10240000K;
IMP-00017: following statement failed with ORACLE error 2237:
Thank you.
|
|
|
|
|
Re: IMP-00017: following statement failed with ORACLE error 2237 [message #240555 is a reply to message #240508] |
Fri, 25 May 2007 03:45 |
crmserver
Messages: 7 Registered: May 2007 Location: CHINA
|
Junior Member |
|
|
SQL> CREATE TABLESPACE USER_DATA DATAFILE 'E:\ORANT\database\Usr1orcl.ora' SIZE 600M
DEFAULT STORAGE ( INITIAL 50K NEXT 50K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 1);
CREATE TABLESPACE USER_DATA DATAFILE 'E:\ORANT\database\Usr1orcl.ora' SIZE 500M
*
ERROR at line 1:
ORA-01543: tablespace 'USER_DATA' already exists
Thank you.
|
|
|
|
Re: IMP-00017: following statement failed with ORACLE error 2237 [message #240591 is a reply to message #240579] |
Fri, 25 May 2007 05:00 |
crmserver
Messages: 7 Registered: May 2007 Location: CHINA
|
Junior Member |
|
|
Hi Michel,
ALTER DATABASE DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' RESIZE 2096128K;
Still have error:
IMP-00017: following statement failed with ORACLE error 2237:
"CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
"ZE 3221225472 DEFAULT STORAGE (INITIAL 53248 NEXT 53248 MINEXTENTS 1 "
"MAXEXTENTS 121 PCTINCREASE 1) ONLINE PERMANENT"
IMP-00003: ORACLE error 2237 encountered
ORA-02237: invalid file size
Thank you.
|
|
|
|
|
Re: IMP-00017: following statement failed with ORACLE error 2237 [message #240932 is a reply to message #240112] |
Sun, 27 May 2007 22:51 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
imp help=yes
Import: Release 10.2.0.2.0 - Production on Sun May 27 20:50:30 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
--------------------------------------------------------------------------
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
STATISTICS import precomputed statistics (always)
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
COMPILE compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION import streams general metadata (Y)
STREAMS_INSTANTIATION import streams instantiation metadata (N)
VOLSIZE number of bytes in file on each volume of a file on tape
The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
Import terminated successfully without warnings.
|
|
|
|
|