Ora - 01536 Tablespace Quota
I am getting an error
ORA - 01536 : Space Quota exceeded for tablespace 'Tablespacename';
I have tried options like
alter user <username> quota unlimited on <Tablespacename>;
Grant resource to <username>;
I am still getting the same error
Please can any one help me
Lakshmi Nar
Perhaps you are giving quota in the wrong tablespace. Can you post the complete error ?
Perhaps that user is trying to stored objects in another tablespace different than its default tablespace.
Joel Pérez
Similar Messages
-
ORA-01536: Tablespace Quota Error...
Hi all,
I am testing a SQL script to one of my databases. After several tests, I receive the ORA-01536: Tablespace quota has been reached for tablespace "USERS".
This doesn't look reasonable since the user is SYSDBA with unlimited tablespace privilege and both tablespaces I tried are about 20% full with unlimited autoextend option.
What am I doing wrong? Please help me...
Thanks in advance...This doesn't look reasonable since the user is SYSDBA Is this user the owner of the table you are inserting into? The tablespace quotas enforced are the ones assigned to the table owner not the inserter. If this is the case you need to grant a larger quota to the table owner, using the command Chris posted.
By the way, I think running scripts as a SYSDBA user is dangerous - these are powerful accounts in their own right and should be used as little as possible. Also, tests by a SYSDBA user don't prove anything if the script has to be run by a non-SYSDBA account.
By the way #2, I don't think anybody should be given the UNLIMITED TABLESPACE privilege. That's just asking for trouble. Same applies to the RESOURCE role.
Cheers, APC -
ORA-01536: space quota exceeded for tablespace 'SYSTEM'
Hi All,
Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user.
SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA
ORA-00604: error occurred at recursive SQL level 1
ORA-01536: space quota exceeded for tablespace 'SYSTEM'
ORA-06512: at line 2
Below are the details of the user
SQL>select * from user_ts_quotas
where tablespace_name = 'APPS_TS_TX_DATA'
TABLESPACE_NAME BYTES MAX_BYTES BLOCKS MAX_BLOCKS
APPS_TS_TX_DATA 929038336 -1 113408 -1
SQL>select * from user_ts_quotas
where tablespace_name = 'SYSTEM'
No Rows Returned.Hi,
Thanks for the response. There is no QUOTA defined for SYSTEM user, so it is UNLIMITED, No?
Below are the details of "SYSTEM" tablespace. Is there any issue with this?
TABLESPACE_NAME BLOCK_SIZE INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS
SYSTEM 8192 16384 16384 1 505 -
ORA-01536 Space Quota with resource and unlimited tablespace privilege
Good morning.
I've got the following error ORA-01536: space quota exceeded for tablespace, but my owner has the following grants:
- RESOURCE
- UNLIMITED TABLESPACE
The tablespace transaction has allocated 150GB and when it's about 90% of space used the error occurs, but we have auto extend in all tablespaces.
My environment:
Oracle Database 10.2.0.2
RAC - ASM
Server Red Hat release 4
Best Regards,
Rafael Ceolimjgarry wrote:
Check the ddl for all objects in the tablespace. There was a thread yesterday where an unused partitioned index had part of it's data in an offline tablespace, or something like that. You might also look at dba_segments for the objects too, in case something is just not where you expect.tanks jgarry for your reply. -
1536 ORA-01536: space quota exceeded for tablespace
I am trying to update a record in the particular table.. its keep saying the above error msg.. I have extended the table space segment, but still am getting the same error.
Can some one have any idea on this..
Thanks in advanceHi,
execute the following statement form system
SQL> alter user <username> quota unlimited on < tablespace_name> ;
this will allow you to use this tablespace.
-Mohan
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joekan:
I am trying to update a record in the particular table.. its keep saying the above error msg.. I have extended the table space segment, but still am getting the same error.
Can some one have any idea on this..
Thanks in advance<HR></BLOCKQUOTE>
null -
DRM 11.1.13 - ORA-01536 space quota exceeded for tablespace "DRM_INDEX"
Hello,
Are there any guidelines or recommendations on how to size the index tablespace of the DRM repository? We keep running out of space, it is now set to 10GB. We have hierarchies with 100,000+ nodes in about 6 versions, several exports with queries. Is there any way to cleanup what is causing the index tablespace to grow?
Thank you,Hi iam new to drm ,installed on my lappi,and when i try to configure,i am understanding the the pre-requisites
Oracle Database Prerequisitesl If you are using an Oracle RAC database system, you must create the tablespaces with the
appropriate RDBMS software prior to installation.
Whether the scripts are run automatically or manually, the user must be logged in as
SYSTEM. When you manually execute the database scripts, the DRM_DB user is created in
the RDBMS (if it does not already exist). The DRM_DB user is assigned a default tablespace
of DRM_DATA and must have access rights to the following items:
Default tablespace (usually DRM_DATA)
UNLIMITED TABLESPACE
CONNECT
CREATE ANY SEQUENCE
CREATE USER
ALTER USER
====================================================
When you manually execute the database scripts, the user is logged in as the schema owner
which, has a default tablespace of DRM_DATA. This user must have access rights to the
following items:
m Default tablespace (usually DRM_DATA) — this can be done after the install if the
tablespaces were not created.
UNLIMITED TABLESPACE
DBA
CONNECT
CREATE ANY SEQUENCE
CREATE USER
ALTER USER
=========================================================
according to the previous understanding of hyperion modules.this time i created a new user "DRM_DATA" under orcl DB
and provide him dba,connct,view,procedure,trigger,session roles..
and when i try to configure it then it states some error////// yur drm_data not have drm prerequisites. -
ORA-01536 on unknown tablespace
HI All,
I am trying to create a materialized view, from a table on a remote database via a dblink.
However, I am getting an ORA-01536 error message and oracle is not telling me which tablespace is the problem. The exact error message is:
ORA-01536: space quota exceeded for tablespace ''
When I check dba_ts_quotas, I find that my username is not included, and the only tablespace mentioned is SYSAUX (for DMSYS, SYSMAN and OLAPSYS)
Any suggestion greatly appreciated.
Thanks
GavinThis would also happen if your account earlier had the RESOURCE role granted to it but the role has since been revoked.
RESOURCE allowed you to create objects as it includes the UNLIMITED_TABLESPACE privilege.
Once that is revoked, you need explicit quotas or QUOTA UNLIMITED ON the specific tablespace(s).
Hemant K Chitale
http://hemantoracledba.blogspot.com -
two weeks ago i upgrade oracle 9i r2 to 10g r2. the database seems fine until today i received error
ORA-01536 space quota exceeded for tablespace 'xxx'
the tablespace is only 20% filled and the user for that tablespace already granted RESOURCE and UNLIMITED TABLESPACE.
do i miss something?
thank you in advance.There may be dependent objects for the table you trying to manupulate . Try to f
Find out out dependent objects -
1 select NAME,TYPE from dba_dependencies where
REFERENCED_NAME='table name'
2. If found, find the owner of the objects.
select owner , objects_name from dba_objects where objcects = 'dependent_objects'
3 Grant unlimited quota to that user.
grant unlimited tablespace to <user> ;
hare krishna
Alok -
ORA-00959: tablespace 'rman' does not exist
Dear all
i using oracle 10g,when i creating create catalog tablespace "rman"; given this error ora-00959: tablespace rman not exist
i have done already this
step-1
SQL> create tablespace rman
2 datafile 'e:\vvelren\rman.dbf' size 6208k reuse
3 autoextend on next 64k maxsize 3267m
4 extent management local
5 segment space management auto;
step-2
SQL> create user rman identified by rman
2 default tablespace rman
3 temporary tablespace temp
4 quota unlimited on rman;
step 3
SQL> grant connect,resource,recovery_catalog_owner to rman;
tablespace rman and datafile is showing in dictionary and also online
after connect to target database
rman> create catalog tablespace "rman";
given this error-> ORACLE error from recovery catalog database: ORA-00959: tablespace 'rman' does not exist
i am unstand where i am mistake.after connect to target database
rman> create catalog tablespace "rman";
given this error-> ORACLE error from recovery catalog database: ORA-00959: tablespace 'rman' does not existYou have to connect to the recovery catalog database not the target one. Also RMAN tablespace has to be created in the recovery catalog database. Hope you created there only. -
ORA-39083,ORA-00959: tablespace 'TEST_LIVE' does not exist
Hi,
I am trying to import using impdp but i am facing the below mentioned error..
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TEST_230511"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TEST_230511"."SYS_IMPORT_FULL_01": TEST_230511/********@GEMSDB REMAP_SCHEMA=TEST_220511:test_230511 DIRECTORY=dump_dict DUMPFILE=test_live_230511.DMP LOGFILE = test_230511.LOG
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"TEST_230511" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'TEST_LIVE' does not exist
Failing sql is:
CREATE TABLE "TEST_230511"."C_EXPENSECLAIMS_EMPLOYEE" ("C_EXPENSECLAIMS_EMPLOYEE_ID" NUMBER(10,0), "AD_CLIENT_ID" NUMBER(10,0), "AD_ORG_ID" NUMBER(10,0), "ISACTIVE" CHAR(1), "CREATED" DATE, "CREATEDBY" NUMBER(10,0), "UPDATED" DATE, "UPDATEDBY" NUMBER(10,0), "TRANSACTION_DATE" DATE, "EXPENSE_DATE" DATE, "EXPENSE_TYPE_ID" NUMBER(10,0), "BUDGETED" CHAR(1) DEFAULT ('N'), "AMOUNT" NUMBER
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'TEST_LIVE' does not existHi;
Pelase check below notes which is mention similar error like you hit
IMPDP REMAP_SCHEMA Option Does Not Import To Default Tablespace [ID 796671.1]
Also see:
OERR: ORA 959 "tablespace '%s' does not exist" [ID 18553.1]
Can't Drop Text Domain Index Which Came Imported To 11.1.0.7 From 10.2.0.4 Export Due to ORA-29868 [ID 751883.1]
Import Partition Table Fails With Ora-00959: Tablespace '_$Deleted$0$0' [ID 798142.1]
Regard
Helios -
ORACLE error 959 encountered ORA-00959: tablespace 'xyz' does not exist
im importing a dump to a newly created BD and im using 11g. I have already tablespaces and user for the dump to be imported.
The problems is, i have a total of 5 tablespaces created, all 4 are working well except the one tablespace and im receiving a 959 error(IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'xyz' does not exist). The log mentions that the tablespace does not exist even if this tablespace exist in the list of tablespace and datafiles created.
Hope you could help me with this. Thanks
Edited by: user8667617 on Feb 18, 2010 11:06 PMSQL> Select name from v$datafile;
NAME
C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSTEM01.DBF
C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSAUX01.DBF
F:\ORC11DBUNDO\UNDOTBS01.DBF
E:\ORC11DBUSER\USERS01.DBF
E:\ORC11DBUSER\INT_TRANSACTIONS_DATA.DBF
E:\ORC11DBUSER\INT_DATA.DBF
E:\ORC11DBUSER\CAS_DATA.DBF
E:\ORC11DBUSER\COS_DATA.DBF
E:\ORC11DBUSER\INT_ONLINE_TRANSACTIONS_DATA.DBF
9 rows selected.
SQL> Select * from v$tablespace;
TS# NAME INC BIG FLA ENC
0 SYSTEM YES NO YES
1 SYSAUX YES NO YES
2 UNDOTBS1 YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 INT_TRANSACTIONS_DATA YES NO YES
7 INT_DATA YES NO YES
8 CAS_DATA YES NO YES
9 COS_DATA YES NO YES
10 INT_ONLINE_TRANSACTIONS_DATA YES NO YES
10 rows selected.
SQL>
here are the result of my query and it seems that the tablespace is recognized by the DB.
is there still any reason why? also when i try to drop the said tablespace in getting a response of the "tablespace does not exist" but when i try to create the tablespace it says that "ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_TS1) violated"
hope you can help me with this. -
ORA-00959: tablespace '_$deleted$3$0' does not exist
One of our Backup Database is acting up; one of my colleagues babysits it, but I just stumbled upon something strange. The error below keeps popping up whenever I try and create a new table.
ERROR at line 8:
ORA-00959: tablespace '_$deleted$3$0' does not existI have tried looking up the error on MOS and google without any luck.
Regards,
Phiriphiri,
Here is the error illustration;
$ sqlplus sys/password@opttest as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 20 14:51:09 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create tablespace ogan_deneme
2 datafile '/backup/ogan_1.dbf' size 200M
3 extent management local;
Tablespace created.
SQL> drop user ogan cascade;
User dropped.
SQL> create user ogan identified by password default tablespace ogan_deneme;
User created.
SQL> grant connect, resource to ogan;
Grant succeeded.
SQL> drop tablespace ogan_deneme including contents and datafiles;
Tablespace dropped.
SQL> conn ogan/password@opttest
Connected.
SQL> create table ogan_deneme as select * from all_objects;
create table ogan_deneme as select * from all_objects
ERROR at line 1:
ORA-00959: tablespace 'OGAN_DENEME' does not existSo in your case as you have seen, your tablespace is that _$deleted$3$0 one.
Ogan
Edited by: Ogan Ozdogan on 20.Ağu.2010 14:55
Here is the solution;
SQL> conn / as sysdba
Connected.
SQL> alter user ogan default tablespace codesd;
User altered.
SQL> conn ogan/password@opttest
Connected.
SQL> create table ogan_deneme as select * from all_objects;
Table created.Hope That Helps.
Ogan -
11gR2 DBCA ORA-00959: tablespace 'EXAMPLE' does not exist
Hello everyone,
I have searched for this specific error but found nothing on it (wonder why I am always the only one having those weird problem!!!)
When I use DBCA, interactive graphical tool, to create a database the process won't end normally if I include example schema.
Somewhere during the process I have an error message with the following : ORA-00959: tablespace 'EXAMPLE' does not exist. <-- well, the reason why it doesn't exist is because YOU are supposed to create it .... duh!
Anyone have experienced the same problem?
Database, Oracle 11gR2
OS : Solaris 10 release 10/08
Hardware : sparc, Sun E450
Thank you for your time and supportup
-
ORA-00959: tablespace 'EXAMPLE' does not exist
hi ! i want to import hr schema to my application server 10g from oracle 10g database.
oracle application server:
[oracle@apps ~]$ sqlplus / as sysdba
SQL> SQL> SELECT * FROM V$VERSION ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Prod
PL/SQL Release 10.1.0.4.2 - Production
CORE 10.1.0.4.0 Production
TNS for Linux: Version 10.1.0.4.0 - Production
NLSRTL Version 10.1.0.4.2 - Production
oracle database 10g;
[oracle@test ~]$ sqlplus / as sysdba
SQL> SELECT * FROM V$VERSION ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
exporting schema in oracle database 10g.................
[oracle@test dpdump]$ expdp DIRECTORY=DATA_PUMP_DIR DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr version=10.1.0.4.2
Export: Release 10.2.0.1.0 - Production on Friday, 30 April, 2010 9:45:30
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "SYS"."SYS_EXPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=DATA_PUMP_DIR DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr version=10.1.0.4.2
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 448 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "HR"."COUNTRIES" 6.085 KB 25 rows
. . exported "HR"."DEPARTMENTS" 6.632 KB 27 rows
. . exported "HR"."EMPLOYEES" 15.76 KB 107 rows
. . exported "HR"."JOBS" 6.609 KB 19 rows
. . exported "HR"."JOB_HISTORY" 6.585 KB 10 rows
. . exported "HR"."LOCATIONS" 7.710 KB 23 rows
. . exported "HR"."REGIONS" 5.289 KB 4 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
/d01/app/oracle/product/10.2.0/db/admin/orcl/dpdump/hrschema.dmp
^[[AJob "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:45:50
*transfering the schema dump file to appliaction server..............................*
[oracle@test dpdump]$ scp hrschema.dmp apps:/d01/backupdp/hrschema.dmp
oracle@apps's password:
hrschema.dmp 100% 596KB 596.0KB/s 00:00
[oracle@test dpdump]$
Now importing datapump schema from that dump file............................
[oracle@apps backupdp]$ ls
example01.dbf hrschema.dmp
[oracle@apps backupdp]$ impdp DIRECTORY=backupdp DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 9:54
Copyright (c) 2003, Oracle. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining options
Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=backupdp DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"HR" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."COUNTRIES" ("COUNTRY_ID" CHAR(2) CONSTRAINT "COUNTRY_ID_NN" NOT NULL ENABLE, "COUNTRY_NAME" VARCHAR2(40), "REGION_ID" NUMBER, CONSTRAINT "COUNTRY_C_ID_PK" PRIMARY KEY ("COUNTRY_ID") ENABLE) ORGANIZATION INDEX NOCOMPRESS PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."REGIONS" ("REGION_ID" NUMBER CONSTRAINT "REGION_ID_NN" NOT NULL ENABLE, "REGION_NAME" VARCHAR2(25)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "EXAMPLE"
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."LOCATIONS" ("LOCATION_ID" NUMBER(4,0), "STREET_ADDRESS" VARCHAR2(40), "POSTAL_CODE" VARCHAR2(12), "CITY" VARCHAR2(30) CONSTRAINT "LOC_CITY_NN" NOT NULL ENABLE, "STATE_PROVINCE" VARCHAR2(25), "COUNTRY_ID" CHAR(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELI
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."DEPARTMENTS" ("DEPARTMENT_ID" NUMBER(4,0), "DEPARTMENT_NAME" VARCHAR2(30) CONSTRAINT "DEPT_NAME_NN" NOT NULL ENABLE, "MANAGER_ID" NUMBER(6,0), "LOCATION_ID" NUMBER(4,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."JOBS" ("JOB_ID" VARCHAR2(10), "JOB_TITLE" VARCHAR2(35) CONSTRAINT "JOB_TITLE_NN" NOT NULL ENABLE, "MIN_SALARY" NUMBER(6,0), "MAX_SALARY" NUMBER(6,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "EXAMPL
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."EMPLOYEES" ("EMPLOYEE_ID" NUMBER(6,0), "FIRST_NAME" VARCHAR2(20), "LAST_NAME" VARCHAR2(25) CONSTRAINT "EMP_LAST_NAME_NN" NOT NULL ENABLE, "EMAIL" VARCHAR2(25) CONSTRAINT "EMP_EMAIL_NN" NOT NULL ENABLE, "PHONE_NUMBER" VARCHAR2(20), "HIRE_DATE" DATE CONSTRAINT "EMP_HIRE_DATE_NN" NOT NULL ENABLE, "JOB_ID" VARCHAR2(10) CONSTRAINT "EMP_JOB_NN" NOT NULL ENABLE, "SALARY" NUM
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."JOB_HISTORY" ("EMPLOYEE_ID" NUMBER(6,0) CONSTRAINT "JHIST_EMPLOYEE_NN" NOT NULL ENABLE, "START_DATE" DATE CONSTRAINT "JHIST_START_DATE_NN" NOT NULL ENABLE, "END_DATE" DATE CONSTRAINT "JHIST_END_DATE_NN" NOT NULL ENABLE, "JOB_ID" VARCHAR2(10) CONSTRAINT "JHIST_JOB_NN" NOT NULL ENABLE, "DEPARTMENT_ID" NUMBER(4,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
ORA-39112: Dependent object type INDEX:"HR"."REG_ID_PK" skipped, base object type TABLE:"HR"."REGIONS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."LOC_ID_PK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."LOC_CITY_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."LOC_STATE_PROVINCE_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."LOC_COUNTRY_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."DEPT_ID_PK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."DEPT_LOCATION_IX" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."JOB_ID_PK" skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_EMAIL_UK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_EMP_ID_PK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_DEPARTMENT_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_JOB_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_MANAGER_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."EMP_NAME_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type INDEX:"HR"."JHIST_EMP_ID_ST_DATE_PK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type INDEX:"HR"."JHIST_JOB_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type INDEX:"HR"."JHIST_EMPLOYEE_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type INDEX:"HR"."JHIST_DEPARTMENT_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-39112: Dependent object type CONSTRAINT:"HR"."REG_ID_PK" skipped, base object type TABLE:"HR"."REGIONS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."LOC_ID_PK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."DEPT_ID_PK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."JOB_ID_PK" skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_SALARY_MIN" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_EMAIL_UK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_EMP_ID_PK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."JHIST_DATE_INTERVAL" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type CONSTRAINT:"HR"."JHIST_EMP_ID_ST_DATE_PK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."REG_ID_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_ID_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_CITY_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_STATE_PROVINCE_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_COUNTRY_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."DEPT_ID_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."DEPT_LOCATION_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JOB_ID_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_EMAIL_UK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_EMP_ID_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_DEPARTMENT_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_JOB_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_MANAGER_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_NAME_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_EMP_ID_ST_DATE_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_JOB_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_EMPLOYEE_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_DEPARTMENT_IX" creation failed
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
ORA-39082: Object type ALTER_PROCEDURE:"HR"."ADD_JOB_HISTORY" created with compilation warnings
Processing object type SCHEMA_EXPORT/VIEW/VIEW
ORA-39082: Object type VIEW:"HR"."EMP_DETAILS_VIEW" created with compilation warnings
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."COUNTR_REG_FK" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."LOC_C_ID_FK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."DEPT_MGR_FK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."DEPT_LOC_FK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_MANAGER_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_JOB_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_DEPT_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_DEPT_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_EMP_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_JOB_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
ORA-39112: Dependent object type TRIGGER:"HR"."SECURE_EMPLOYEES" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."REGIONS" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."JOBS" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
Job "SYS"."SYS_IMPORT_SCHEMA_01" completed with 123 error(s) at 09:55
[oracle@apps backupdp]$ ls
example01.dbf hrschema.dmp hrschema.log
*[oracle@apps backupdp]$ more hrschema.log*
Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 9:54
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Producti
on
With the Partitioning, OLAP and Data Mining options
Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=backupdp
DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"HR" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
*ORA-00959: tablespace 'EXAMPLE' does not exist*
Failing sql is:
CREATE TABLE "HR"."COUNTRIES" ("COUNTRY_ID" CHAR(2) CONSTRAINT "COUNTRY_ID_NN" NOT
NULL ENABLE, "COUNTRY_NAME" VARCHAR2(40), "REGION_ID" NUMBER, CONSTRAINT "COUNTR
Y_C_ID_PK" PRIMARY KEY ("COUNTRY_ID") ENABLE) ORGANIZATION INDEX NOCOMPRESS PCTFRE
E 10 INITRANS 2 MAXTRANS 255 NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTEN
TS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'EXAMPLE' does not exist
Failing sql is:
CREATE TABLE "HR"."REGIONS" ("REGION_ID" NUMBER CONSTRAINT "REGION_ID_NN" NOT NULL
[oracle@apps backupdp]$
[oracle@apps backupdp]$
now it is giving error that EXAMPLE tablespace doesnot exist .....so now should i use transporatble tablespace for to trasport example tablepsace from oracle 10g to application server 10g.
please help.......Then i use Transportable tablespaces for transporting example tablespace to application server from oracle 10g.....................
exported in oracle 10g;
[oracle@test orcl]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 30 10:08:06 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
SQL> alter tablespace example read only;
alter tablespace example read only
ERROR at line 1:
ORA-01644: tablespace 'EXAMPLE' is already read only
[oracle@test dpdump]$ expdp DIRECTORY=DATA_PUMP_DIR DUMPFILE=exampletbs.dmp transport_tablespaces=example logfile=exampletbs.log version=10.1.0.4.2;
Export: Release 10.2.0.1.0 - Production on Friday, 30 April, 2010 10:03:29
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "SYS"."SYS_EXPORT_TRANSPORTABLE_01": sys/******** AS SYSDBA DIRECTORY=DATA_PUMP_DIR DUMPFILE=exampletbs.dmp transport_tablespaces=example logfile=exampletbs.log version=10.1.0.4.2
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TRANSPORTABLE_EXPORT/INDEX
Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
Processing object type TRANSPORTABLE_EXPORT/COMMENT
Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
Processing object type TRANSPORTABLE_EXPORT/TRIGGER
Processing object type TRANSPORTABLE_EXPORT/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type TRANSPORTABLE_EXPORT/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/INDEX
Processing object type TRANSPORTABLE_EXPORT/MATERIALIZED_VIEW
Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE
Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ
Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
Master table "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded
Dump file set for SYS.SYS_EXPORT_TRANSPORTABLE_01 is:
/d01/app/oracle/product/10.2.0/db/admin/orcl/dpdump/exampletbs.dmp
Job "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at 10:04:01
transfer the example datafile to application server.............
[oracle@test dpdump]$ scp exampletbs.dmp apps:/d01/backupdp/exampletbs.dmp
oracle@apps's password:
exampletbs.dmp 100% 3528KB 3.5MB/s 00:00
[oracle@test dpdump]$
[oracle@test dpdump]$
Import in oracle application server................
[oracle@apps backupdp]$ ls
exampletbs.dmp hrschema.dmp hrschema.log
[oracle@apps backupdp]$ impdp DIRECTORY=backupdp DUMPFILE=exampletbs.dmp transport_datafiles='/d01/backupdp/example01.dbf' logfile=exampletbs.log;
Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 10:20
Copyright (c) 2003, Oracle. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining options
Master table "SYS"."SYS_IMPORT_TRANSPORTABLE_03" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_TRANSPORTABLE_03": sys/******** AS SYSDBA DIRECTORY=backupdp DUMPFILE=exampletbs.dmp transport_datafiles=/d01/backupdp/example01.dbf logfile=exampletbs.log
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
ORA-39123: Data Pump transportable tablespace job aborted
ORA-00721: changes by release 10.2.0.1.0 cannot be used by release 10.1.0.2.0
Job "SYS"."SYS_IMPORT_TRANSPORTABLE_03" stopped due to fatal error at 10:21
[oracle@apps backupdp]$
[oracle@apps backupdp]$ more exampletbs.log
Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 10:20
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Producti
on
With the Partitioning, OLAP and Data Mining options
Master table "SYS"."SYS_IMPORT_TRANSPORTABLE_03" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_TRANSPORTABLE_03": sys/******** AS SYSDBA DIRECTORY=ba
ckupdp DUMPFILE=exampletbs.dmp transport_datafiles=/d01/backupdp/example01.dbf log
file=exampletbs.log
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
ORA-39123: Data Pump transportable tablespace job aborted
ORA-00721: changes by release 10.2.0.1.0 cannot be used by release 10.1.0.2.0
Job "SYS"."SYS_IMPORT_TRANSPORTABLE_03" stopped due to fatal error at 10:21
[oracle@apps backupdp]$
please can anybody help........................ -
(ORA-1653, ORA-1658)TABLESPACE 크기를 확장하는 방법
제품 : ORACLE SERVER
작성날짜 : 1995-11-21
(ora-1653, ora-1658)Tablespace를 확장하는 방법
=============================================
오라클 7.1 이하에서는 tablespace를 확장하려면 해당 tablespace에
데이타 화일을 추가하는 방법을 사용한다. 이 때 추가하는 데이타 화일의
이름은 기존의 화일과 동일한 이름이 아니기만 하면 되지만, 편의상 기존의
화일에 일련 번호를 붙여서 사용하는 것이 일반적이다.
예를 들어 tablespace TOOLS 를 확장한다고 가정하면
$sqlplus system/manager
SQL>select file_name, bytes
from dba_data_files
where tablespace_name = 'TOOLS';
이와 같이 하면 현재 TOOLS tablespace를 구성하고 있는 화일 이름과 크기
(bytes)가 출력된다. 여기서 출력된 file_name 이 /oracle/dbs/toolsORA.dbf
라고 한다면 다음과 같이 하여 tablespace를 확장한다.
SQL>alter tablespace tools
add datafile '/oracle/dbs/tools2ORA.dbf' size 50M;
여기서는 화일의 크기를 50M 로 주었는데 이것은 디스크의 FREE SPACE 와
기존의 데이타 화일의 크기 및 앞으로 들어갈 데이타의 크기 등을 고려하여
적절한 값으로 결정하도록 한다.
오라클 7.2 에서는 위의 방법 외에도 기존의 데이타화일의 크기를 변경시켜서
확장시킬 수 있다.
예를 들어 TOOLS tablespace가 현재 50M 크기의 /oracle/dbs/toolsORA.dbf
화일로 구성되어 있다면 다음과 같이 해서 이 화일의 크기를 100M 로 늘릴 수
있다.
SQL>alter database datafile
'/oracle/dbs/toolsORA.dbf' resize 100M;
RESIZE 옵션은 V7.2 에서 추가된 것으로 기존의 데이타 화일을 확장 또는
축소할 수 있다. 축소하는 경우는 데이타가 들어 있는 경우 하한선 이하로
내려가지는 않는다.
한편, 데이타가 계속 들어가서 tablespace를 꽉 채우게 되면 다음과 같은 명령을
이용하여 자동적으로 tablespace를 확장할 수도 있다.
SQL>alter database datafile
'/oracle/dbs/toolsORA.dbf'
autoextend on
next 10M
maxsize 200M;
이렇게 하면 데이타가 늘어나면서 자동적으로 10M 씩 데이타화일의 크기가
늘어나게 된다. 여기서는 최대 200M 까지 늘어날 수 있도록 설정하였다.the error is because you can't create the table because your tablespace does not have a free extent large enough to hold the table referenced
So - you might have enough space if you just look at total free space, but the space is fragmented, and so it can't get enough space to create the table.
It references the tablespace in the error message. You can try to coalese the tablespace - I think the syntax is 'alter tablespace xxx coalesce'. If that doesn't work, you can add a datafile or extend an existing datafile, that will give you a big chunk of unfragmented space to work with.
One other thing - when you did the export, by default it changes the storage parameters so that the initial extent will hold the whole table, even if in the source table it spanned several extents
You can re-export with 'COMPRESS=N', then it will not change the space parameters, then try to re-import and it might work.
If none of those work, then it gets ugly - you can do a "import indexfile=xxx.sql" - that will give you a script that has the create table in it, but REMed out. You can change the storage parameters and create the table.
Then you re-import just that table with 'ignore=y', that will load the table even though it already exists.
I say it gets messy because then you have to make sure all the permissions got granted, all the constraints got created, etc, since you created the table manually.
A lot of this advice is 'old-school' - with the new locally managed and system managed tablespaces, this stuff is not needed any more. Is your tablespace dictionary-managed?
Maybe you are looking for
-
While using my MBP I noticed smoke coming from my MagSafe connector, I quickly pull it out getting a nice electric shock. Then after i unplug it from the wall I see that the connection had suddenly melted. Apple hasn't offered any sort of apology or
-
Prevent Posting of an Inbound SHIPPL IDOC using EXIT_SAPLV56I_011?
Under certain circumstances (current shipment status), I need to prevent the update of a Shipment from an Inbound SHIPPL IDOC. The documentation for function module EXIT_SAPLV56I_011 states: If a check determines that the shipment is not to be updat
-
By default In a table Data should be Displayed.before clicking the search b
Hi All, I m using adf11g.I have taken adf query with panel(thrgh Drag&drop in named Criteria).after that i have taken table(Drag Drop in a form ) from Data Control. So My Requirement is By default In a table Data should be Displayed.after that clicki
-
URGENT: What else is necessary for me and why?
Hi All! I am desiging a socket based data transmission system, and our messages, Connection Logs, Application Configuration Data will be stored in xml format. I have also designed dtd for them. I NEED TO KNOW WHY AND WHICH OF (XSL, XSLT, XPATH, DOM,
-
Need alternative Flash Player download site for Opera 12
With Opera 12.17, the Install button disappears within a second, so I can't install Flash Player the normal way (ad blocker or not). And the alternative macromedia site that was available earlier in the year is no longer so. Since I just did a clea