Home » RDBMS Server » Server Utilities » import error --- please solve this (RHEL4, Oracle 9i)
import error --- please solve this [message #467546] Sun, 25 July 2010 13:47 Go to next message
julius.sp
Messages: 2
Registered: August 2009
Location: Chennai
Junior Member

I imported a schema HR from export DUMP ....i can find all the objects of schema HR in the imported database... but i got an error for a plan_table which is assigned to USERS tablespace in the source database.. ...

HERE COMES THE ERROR I GOT DURING IMPORT:

[oracle@localhost mom]$ imp file=exp_schema_ref.dmp log=imp.ref.log fromuser=hr touser=hr commit=y

Import: Release 10.2.0.1.0 - Production on Mon Jul 26 00:03:57 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Username: sys/sys as sysdba

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

Export file created by EXPORT:V10.02.01 via direct path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
. importing HR's objects into HR
. . importing table "COUNTRIES" 25 rows imported
. . importing table "DEPARTMENTS" 27 rows imported
. . importing table "EMPLOYEES" 107 rows imported
. . importing table "JOBS" 19 rows imported
. . importing table "JOB_HISTORY" 10 rows imported
. . importing table "LOCATIONS" 23 rows imported
IMP-00017: following statement failed with ORACLE error 1950:
"CREATE TABLE "PLAN_TABLE" ("STATEMENT_ID" VARCHAR2(30), "PLAN_ID" NUMBER, ""
"TIMESTAMP" DATE, "REMARKS" VARCHAR2(4000), "OPERATION" VARCHAR2(30), "OPTIO"
"NS" VARCHAR2(255), "OBJECT_NODE" VARCHAR2(128), "OBJECT_OWNER" VARCHAR2(30)"
", "OBJECT_NAME" VARCHAR2(30), "OBJECT_ALIAS" VARCHAR2(65), "OBJECT_INSTANCE"
"" NUMBER(*,0), "OBJECT_TYPE" VARCHAR2(30), "OPTIMIZER" VARCHAR2(255), "SEAR"
"CH_COLUMNS" NUMBER, "ID" NUMBER(*,0), "PARENT_ID" NUMBER(*,0), "DEPTH" NUMB"
"ER(*,0), "POSITION" NUMBER(*,0), "COST" NUMBER(*,0), "CARDINALITY" NUMBER(*"
",0), "BYTES" NUMBER(*,0), "OTHER_TAG" VARCHAR2(255), "PARTITION_START" VARC"
"HAR2(255), "PARTITION_STOP" VARCHAR2(255), "PARTITION_ID" NUMBER(*,0), "OTH"
"ER" LONG, "DISTRIBUTION" VARCHAR2(30), "CPU_COST" NUMBER(*,0), "IO_COST" NU"
"MBER(*,0), "TEMP_SPACE" NUMBER(*,0), "ACCESS_PREDICATES" VARCHAR2(4000), "F"
"ILTER_PREDICATES" VARCHAR2(4000), "PROJECTION" VARCHAR2(4000), "TIME" NUMBE"
"R(*,0), "QBLOCK_NAME" VARCHAR2(30), "OTHER_XML" CLOB) PCTFREE 10 PCTUSED 4"
"0 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS"
" 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS LOB ("OTHER_X"
"ML") STORE AS (TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERS"
"ION 10 NOCACHE LOGGING STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
" BUFFER_POOL DEFAULT))"
IMP-00003: ORACLE error 1950 encountered
ORA-01950: no privileges on tablespace 'USERS'
. . importing table "REGIONS" 4 rows imported
About to enable constraints...
Import terminated successfully with warnings.
Re: import error --- please solve this [message #467547 is a reply to message #467546] Sun, 25 July 2010 13:53 Go to previous message
BlackSwan
Messages: 22728
Registered: January 2009
Senior Member
>ORA-01950: no privileges on tablespace 'USERS'
01950, 00000, "no privileges on tablespace '%s'"
// *Cause:  User does not have privileges to allocate an extent in the
//          specified tablespace.
// *Action: Grant the user the appropriate system privileges or grant the user
//          space resource on the tablespace.

HR user needs QUOTA on tablespace USERS
Previous Topic: imp/exp
Next Topic: Oracle Data Pump import error.
Goto Forum:
  


Current Time: Tue Sep 02 18:12:30 CDT 2014

Total time taken to generate the page: 0.09610 seconds