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: Transportable tablespace problem in 817 (But OK with 816)

RE: Transportable tablespace problem in 817 (But OK with 816)

From: Kumanan Balasundaram <kumanan.balasundaram_at_qxl.com>
Date: Wed, 20 Jun 2001 08:43:42 -0700
Message-ID: <F001.00330604.20010620085542@fatcity.com>

I'll try to implement on 817 some other time after applying the patch that Saul suggested.
It worked with 816. See below.

Kumanan

Transportable tabblepsces.
Ensure following UNIX environment variables are set for this to work: NLS_LANG=; ORACLE_SID= ; ORACLE_HOME=
Check dependencies are not going to be disturbed: SQL> set autoprint on serveroutput on
SQL> exec dbms_tts.transport_set_check ('DATATS',TRUE); PL/SQL procedure successfully completed. SQL> select * from sys.transport_set_violations; VIOLATIONS




Index KUMANAN.PK_USERS_USERID in tablespace INDEXTS enforces primary constriant
s of table KUMANAN.USERS in tablespace DAT SQL> exec dbms_tts.transport_set_check ('DATATS,INDEXTS',TRUE); PL/SQL procedure successfully completed. SQL> select * from sys.transport_set_violations; no rows selected

alter tablespace datats read only;
alter tablespace indexts read only;

[mach1]/tmp <oraKBDB1> # exp transport_tablespace=y tablespaces=DATATS,INDEXTS file=testtrans.dmp

Export: Release 8.1.6.3.0 - Production on Wed Jun 20 15:02:38 2001

(c) Copyright 1999 Oracle Corporation. All rights reserved.

Username: sys as sysdba
Password:

Connected to: Oracle8i Enterprise Edition Release 8.1.6.3.0 - Production With the Partitioning option
JServer Release 8.1.6.3.0 - Production
Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
Note: table data (rows) will not be exported About to export transportable tablespace metadata... For tablespace DATATS ...
. exporting cluster definitions
. exporting table definitions
. . exporting table USERS
For tablespace INDEXTS ...
. exporting cluster definitions
. exporting table definitions
. exporting referential integrity constraints
. exporting triggers
. end transportable tablespace metadata export
Export terminated successfully without warnings.

<now copy the file to another location>

alter tablespace datats read write;
alter tablespace indexts read write;

SQL> drop tablespace datats including contents; Tablespace dropped.
SQL> drop tablespace indexts including contents; Tablespace dropped.

"trans_ts.imp"
transport_tablespace=y
datafiles=('/spare/oradata/KBDB/datats01.dbf','/spare/oradata/KBDB/indexts01 .dbf')
file=/tmp/testtrans.dmp
log=/tmp/trans_ts.log

-rw-r--r-- 1 oracle dba 45 Jun 20 16:21 afiedt.buf [mach1]/export/home/oracle <oraKBDB1> # imp parfile=trans_ts.imp

Import: Release 8.1.6.3.0 - Production on Wed Jun 20 16:35:55 2001

(c) Copyright 1999 Oracle Corporation. All rights reserved.

Username: sys as sysdba
Password:

Connected to: Oracle8i Enterprise Edition Release 8.1.6.3.0 - Production With the Partitioning option
JServer Release 8.1.6.3.0 - Production

Export file created by EXPORT:V08.01.06 via conventional path About to import transportable tablespace(s) metadata... import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
. importing SYS's objects into SYS
. importing KUMANAN's objects into KUMANAN
. . importing table "USERS"
About to enable constraints...
Import terminated successfully without warnings.

alter tablespace datats read write;
alter tablespace indexts read write;

Trying on diff version of database - IT FAILED: [mach1]/export/home/oracle <oraKBDB> # imp parfile=trans_ts.imp

Import: Release 8.1.7.0.0 - Production on Wed Jun 20 16:03:12 2001

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Username: sys as sysdba
Password:

Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production JServer Release 8.1.7.0.0 - Production

IMP-00016: required character set conversion (type 31 to 871) not supported IMP-00000: Import terminated unsuccessfully

> -----Original Message-----
> From: Solomon, Saul M. [SMTP:ssolomon_at_ppg.com]
> Sent: 19 June 2001 21:41
> To:   Multiple recipients of list ORACLE-L
> Subject:      RE: Transportable tablespace problem in 817
> 
> This is a bug. You've probably got an ORA-600 too in your alert log. I had
> the same problem and upgraded to 8.1.7.1 to fix it.
> 
> Saul Solomon
> Senior Database Administrator
> PPG Industries
> ssolomon_at_ppg.com
> 412 434-3504
> 
> 
> 
> -----Original Message-----
> Sent: Tuesday, June 19, 2001 4:22 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> I'm trying to a transportable but the export session is hanging.
> The v$session says the session is actually active.
> 
> Anybody here has any such experience?
> 
> Any ideas to resolve this?
> 
> 
> Thanks
> Kumanan
> 
> SQL> set autoprint on serveroutput on
> SQL>  exec dbms_tts.transport_set_check ('DATA',TRUE);
> PL/SQL procedure successfully completed.
> SQL> select * from sys.transport_set_violations;
> VIOLATIONS
> --------------------------------------------------------------------------
> --
> ----
> Index KBALASUN.PK_USERS_USERID in tablespace INDEXTS enforces primary
> constriant
> s  of table KBALASUN.USERS in tablespace DAT
> SQL>  exec dbms_tts.transport_set_check ('DATA,INDEXTS',TRUE);
> PL/SQL procedure successfully completed.
> SQL> select * from sys.transport_set_violations;
> no rows selected
> 
> alter tablespace data read only;
> alter tablespace data read only;
> 
> /tmp <ora> $ env
> NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
> ORACLE_SID=KBDB
> ORA_NLS33=/export/home/oracle/product/8.1.7/ocommon/nls/admin/data
> ORACLE_HOME=/export/home/oracle/product/8.1.7
> 
> 
> /tmp <ora> $ exp  transport_tablespace=y tablespaces=DATA,INDEXTS
> file=testtrans.dmp
> 
> Export: Release 8.1.7.0.0 - Production on Tue Jun 19 19:30:37 2001
> 
> (c) Copyright 2000 Oracle Corporation.  All rights reserved.
> 
> 
> Username: sys as sysdba
> Password: 
> 
> Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
> JServer Release 8.1.7.0.0 - Production
> Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character
> set
> Note: table data (rows) will not be exported
> About to export transportable tablespace metadata...
> <its just hanging forever.>
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> postmaster_at_qxl.com
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Kumanan Balasundaram
>   INET: kumanan.balasundaram_at_qxl.com
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Solomon, Saul M.
>   INET: ssolomon_at_ppg.com
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kumanan Balasundaram
  INET: kumanan.balasundaram_at_qxl.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jun 20 2001 - 10:43:42 CDT

Original text of this message

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