Transport tablespace related problem
Hi all,
I have a problem i want to export tablespaces as i have to migrate my db from oracle 9.2 to oracle 10.2 from win to RHEL4.......but i am getting an error ,pls suggest me for the same....
SQL> @G:\oracle\ora92\rdbms\admin\dbmsplts.sql;
Package created.
Package created.
Grant succeeded.
Package created.
Grant succeeded.
drop view sys.transport_set_violations
ERROR at line 1:
ORA-00942: table or view does not exist
PL/SQL procedure successfully completed.
drop table sys.transts_error$
ERROR at line 1:
ORA-00942: table or view does not exist
Package created.
SQL> exec sys.dbms_tts.transport_set_check('SRO',true);
BEGIN sys.dbms_tts.transport_set_check('SRO',true); END;
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_TTS" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
SQL> desc dbms_tts
PROCEDURE DOWNGRADE
FUNCTION ISSELFCONTAINED RETURNS BOOLEAN
Argument Name Type In/Out Default?
TS_LIST CLOB IN
INCL_CONSTRAINTS BOOLEAN IN
FULL_CHECK BOOLEAN IN
PROCEDURE KFP_CKCMP
PROCEDURE TRANSPORT_SET_CHECK
Argument Name Type In/Out Default?
TS_LIST CLOB IN
INCL_CONSTRAINTS BOOLEAN IN DEFAULT
FULL_CHECK BOOLEAN IN DEFAULT
SQL> exec dbms_tts.transport_set_check('SRO',true);
BEGIN dbms_tts.transport_set_check('SRO',true); END;
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_TTS" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
Are you,by any chance, running Oracle 9i installation code in an Oracle 10g database?
If so : why?
As far as I know you can only transport tablespaces to a database of an identical version, so it looks like this is not going to work.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
Transportable tablespace /imp problem
Dear all ,
please i need to correct me if i am wrong
transportable tablespace can you done of different version of oracle database
(means can do that task from lower to upper ex:10g.2 to 11g.2) take in your consideration the limitation of this taks.???
1. when i do this task in same platform unix to unix and same edians big to big
there is no way to convert datafile or tablespace
the take is done by take tablespace read only and then exp this tablespace and ftp the datafile and dmp file
to new server and switch tablespace read write thus imp the dmp ???
2. when this taks is done from win to unix from 10g.2 to 11g.2
check the self_contained this in the two and take tablespace read only and convert and exp and ftp the datafile and dmp file
to new server thus convert the datafile and then imp and the last one switch the tablespace in read write???
please i need your opinion obout this ?????
and i need your advice in import
imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:11:34 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
About to import transportable tablespace(s) metadata...
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
IMP-00017: following statement failed with ORACLE error 29342:
"BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
IMP-00003: ORACLE error 29342 encountered
ORA-29342: user ORAESB does not exist in the database
ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
ORA-06512: at line 1
IMP-00000: Import terminated unsuccessfully
oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y file=trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:28:50 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
About to import transportable tablespace(s) metadata...
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
. importing SYS's objects into SYS
. importing SYS's objects into SYS
IMP-00017: following statement failed with ORACLE error 29342:
"BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
IMP-00003: ORACLE error 29342 encountered
ORA-29342: user ORAESB does not exist in the database
ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
ORA-06512: at line 1
IMP-00000: Import terminated unsuccessfully
oraicon@billdb03 $
MANY THANKS1 read documentation. You can use rman to convert the files
2 read documentation. You can use rman to convert the files.
3 the error message is self explanatory
4 the error message is self explanatory
Please do your own research prior to posting.
Please include only 1 question per post.
Sybrand Bakker
Senior Oracle DBA -
Character set problem with transportable tablespace
Hi,
I'm trying to import a transportable tablespace with data pump into a database with a different character set compared to the source database. I know this is by default not possible. But there's no violating data in the tablespace that could make it a problem when transfering the TS. So I issued 'ALTER SYSTEM SET "_tts_allow_nchar_mismatch"=true;' on the target to force the import. However; I still get the eror:
ORA-29345: can not plug a tablespace into a database using a different character set
How can I fix this?Hi,
What're the character sets of the source and target database?
A general restriction of transportable tablespace is that the source and target databases must use the same database character set.
Regards
Nat -
Expdp problem when executing from pl/sql transportable tablespaces
Hello
i have a very strange problem for which your assistance is really appreciated. i am applying the transportable tablespaces approach and i have a problem when executing expdp from commandline in comparison to the procedure generated to make the exact same thing.
more precisely when running:
expdp etl/etl dumpfile=TBSP090609_DMP.dmp logfile=TBSP090609_DMP.log directory=EXPDP transport_tablespaces=TBSP090609 transport_full_check=y
the dmp file produced is over 200MB.
when runng the below pl/sql code the volume produced is around 50MB. any idea what i am missing?
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_LIST',
VALUE => '('''
|| tablespace_name
|| ''')'
dbms_datapump.start_job (job_handle);thanx you for your response. the problem was eventually managed to be resolved as follows:
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_EXPR',
VALUE => 'IN('''
|| tablespace_name
|| ''')');
dbms_datapump.start_job (job_handle); -
Hello guys,
I have done the offline transport of km data, and as the SAP documentation says only ACL's get transported. The problem is the we are not getting the collaboration tab in folder or document details property.
We are only getting View, Actions and Settings.
I guess this problem is due to ACL so i tried giving FULL CONTROL to a user but its not working? Also in the Settings tab it only shows few options like propeties permissions versioning and templates.I assume that 'virtual' system as QA.
So you have setup TMS using that real DEV and virtual QA. You setup transport route, create a transport and release it.
The time when you release the transport, it is already applied now in DEV. Why it should be there in DEV Import queue then ? It would be shown in that Virtual system's Import queue (second system/QA) but not in dev import queue.
In any case you need not to 'apply/import' that transport 'again' in DEV, when it is already created and released from DEV.
Thanks -
Error ORA-39125 and ORA-04063 during export for transportable tablespace
I'm using the Oracle Enterprise Manager (browser is IE) to create a tablespace transport file. Maintenance...Transport Tablespaces uses the wizard to walk me through each step. The job gets created and submitted.
The 'Prepare' and 'Convert Datafile(s)' job steps complete successfully. The Export step fails with the following error. Can anyone shed some light on this for me?
Thank you in advance!
=======================================================
Output Log
Export: Release 10.2.0.2.0 - Production on Sunday, 03 September, 2006 19:31:34
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Username:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "SYS"."GENERATETTS000024": SYS/******** AS SYSDBA dumpfile=EXPDAT_GENERATETTS000024.DMP directory=EM_TTS_DIR_OBJECT transport_tablespaces=SIEBEL job_name=GENERATETTS000024 logfile=EXPDAT.LOG
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_STATISTICS]
ORA-04063: view "SYS.KU$_IOTABLE_VIEW" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6241
----- PL/SQL Call Stack -----
object line object
handle number name
2CF48130 14916 package body SYS.KUPW$WORKER
2CF48130 6300 package body SYS.KUPW$WORKER
2CF48130 2340 package body SYS.KUPW$WORKER
2CF48130 6861 package body SYS.KUPW$WORKER
2CF48130 1262 package body SYS.KUPW$WORKER
2CF0850C 2 anonymous block
Job "SYS"."GENERATETTS000024" stopped due to fatal error at 19:31:44More information:
Using SQL Developer, I checked the view SYS.KU$_IOTABLE_VIEW referred to in the error message, and it does indeed report a problem with that view. The following code is the definition of that view. I have no idea what it's supposed to be doing, because it was part of the default installation. I certainly didn't write it. I did, however, execute the 'Test Syntax' button (on the Edit View screen), and the result was this error message:
=======================================================
The SQL syntax is valid, however the query is invalid or uses functionality that is not supported.
Unknown error(s) parsing SQL: oracle.javatools.parser.plsql.syntax.ParserException: Unexpected token
=======================================================
The SQL for the view looks like this:
REM SYS KU$_IOTABLE_VIEW
CREATE OR REPLACE FORCE VIEW "SYS"."KU$_IOTABLE_VIEW" OF "SYS"."KU$_IOTABLE_T"
WITH OBJECT IDENTIFIER (obj_num) AS
select '2','3',
t.obj#,
value(o),
-- if this is a secondary table, get base obj and ancestor obj
decode(bitand(o.flags, 16), 16,
(select value(oo) from ku$_schemaobj_view oo, secobj$ s
where o.obj_num=s.secobj#
and oo.obj_num=s.obj#),
null),
decode(bitand(o.flags, 16), 16,
(select value(oo) from ku$_schemaobj_view oo, ind$ i, secobj$ s
where o.obj_num=s.secobj#
and i.obj#=s.obj#
and oo.obj_num=i.bo#),
null),
(select value(s) from ku$_storage_view s
where i.file# = s.file_num
and i.block# = s.block_num
and i.ts# = s.ts_num),
ts.name, ts.blocksize,
i.dataobj#, t.bobj#, t.tab#, t.cols,
t.clucols, i.pctfree$, i.initrans, i.maxtrans,
mod(i.pctthres$,256), i.spare2, t.flags,
t.audit$, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln,
t.avgspc_flb, t.flbcnt, t.analyzetime, t.samplesize, t.degree,
t.instances, t.intcols, t.kernelcols, t.property, 'N', t.trigflag,
t.spare1, t.spare2, t.spare3, t.spare4, t.spare5, t.spare6,
decode(bitand(t.trigflag, 65536), 65536,
(select e.encalg from sys.enc$ e where e.obj#=t.obj#),
null),
decode(bitand(t.trigflag, 65536), 65536,
(select e.intalg from sys.enc$ e where e.obj#=t.obj#),
null),
(select c.name from col$ c
where c.obj# = t.obj#
and c.col# = i.trunccnt and i.trunccnt != 0
and bitand(c.property,1)=0),
cast( multiset(select * from ku$_column_view c
where c.obj_num = t.obj#
order by c.col_num, c.intcol_num
) as ku$_column_list_t
(select value(nt) from ku$_nt_parent_view nt
where nt.obj_num = t.obj#),
cast( multiset(select * from ku$_constraint0_view con
where con.obj_num = t.obj#
and con.contype not in (7,11)
) as ku$_constraint0_list_t
cast( multiset(select * from ku$_constraint1_view con
where con.obj_num = t.obj#
) as ku$_constraint1_list_t
cast( multiset(select * from ku$_constraint2_view con
where con.obj_num = t.obj#
) as ku$_constraint2_list_t
cast( multiset(select * from ku$_pkref_constraint_view con
where con.obj_num = t.obj#
) as ku$_pkref_constraint_list_t
(select value(ov) from ku$_ov_table_view ov
where ov.bobj_num = t.obj#
and bitand(t.property, 128) = 128), -- IOT has overflow
(select value(etv) from ku$_exttab_view etv
where etv.obj_num = o.obj_num)
from ku$_schemaobj_view o, tab$ t, ind$ i, ts$ ts
where t.obj# = o.obj_num
and t.pctused$ = i.obj# -- For IOTs, pctused has index obj#
and bitand(t.property, 32+64+512) = 64 -- IOT but not overflow
-- or partitioned (32)
and i.ts# = ts.ts#
AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (o.owner_num, 0) OR
EXISTS ( SELECT * FROM session_roles
WHERE role='SELECT_CATALOG_ROLE' ));
GRANT SELECT ON "SYS"."KU$_IOTABLE_VIEW" TO PUBLIC; -
Hii all
I configured control file autobackup on and take a backup whole database with "backup database;" command and
RMAN> transport tablespace users tablespace destination 'c:\Transport' auxiliary destination 'c:\Auxi';
I am receiving ;
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
In begining lines of rman command I saw that "control_files=c:\Auxi/cntrl_tspitr_ST1_dFcB.f" looks like using unix path format in windows? Have you any idea ?
Best Regards
Oracle 10.2.0.3 on Vista Sp2hi
Yes it is on besides I take backup with "backup database include current controlfile" nothing has changed
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\
NCFST1.ORA'; # default
also I have just tested same command on aix platform it works well I think this is related windows platform ?
Edited by: EB on Sep 25, 2009 4:56 PM -
Oracle Upgrade V9 to V10 - Transportable Tablespaces
Hi,
I am upgrading a database from Oracle 9i v 9.2.0.6.0 to Oracle 10g 10.2.0.4.0. Both servers are running Windows 2003 Server 32Bit.
My plan is to upgrade using Transportable Tablespaces. This is what I have done.
1) exec DBMS_TTS.TRANSPORT_SET_CHECK('XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX',true); --> This checked out fine.
2) Set the above tablespaces as read only.
3) Copied all the datafiles to the new server (2TB)
4) Did the export: exp 'xxx@xxxx as sysdba' transport_tablespace=y tablespaces=(XXX,XXX,XXX,XXX,XXX ETC...) tts_full_check=y file=c:\EXP.dmp log=c:\exp.log
5) Here comes the problem: When I do the import it imports the tables with the data and forces me o create the Schemas manually. It does not import the users / packages / views / triggers etc...
I need to do an export that that will include everything (Creates Schemas, Packages, Views, Triggers, Tables, data).
I know there is a function FULL=y, this will not work as I do not have an additional 2TB for the export file.
Can someone please explain how to do this?
Kind Regards
HenkWelcome to the forums !
Is there a reason you are using transportable tablespaces ? Would it not be easier to do an in-place upgrade on the current server, then copy/clone the instance to the new server ?
HTH
Srini -
TIP 03: Transportable Tablespaces in 10g by Joel Pèrez
Hi OTN Readers!
Everyday I get connection on Internet and one of the first issues that
I do is to open the OTN main page to look for any new article or any
new news about the Oracle Technology. After I open the main page of
OTN Forums and I check what answers I can write to help some people
to work with the Oracle Technology and I decided to begin to write some
threads to help DBAs and Developers to learn the new features of 10g.
I hope you can take advantage of them which will be published here in
this forum. For any comment you can write to me directly to : [email protected]
Please do not replay this thread, if you have any question related to
this I recommend you to open a new post. Thanks!
The tip of this thread is: Transportable Tablespaces
Joel Pérez
http://otn.oracle.com/expertsStep 9: Apply this command to see all the options of the export utility
C:\>
C:\>EXP HELP=Y
Export: Release 10.1.0.2.0 - Production on Fri Apr 23 19:48:30 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
You can let Export prompt you for parameters by entering the EXP
command followed by your username/password:
Example: EXP SCOTT/TIGER
Or, you can control how Export runs by entering the EXP command followed
by various arguments. To specify parameters, you use keywords:
Format: EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
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 export entire file (N)
BUFFER size of data buffer OWNER list of owner usernames
FILE output files (EXPDAT.DMP) TABLES list of table names
COMPRESS import into one extent (Y) RECORDLENGTH length of IO record
GRANTS export grants (Y) INCTYPE incremental export type
INDEXES export indexes (Y) RECORD track incr. export (Y)
DIRECT direct path (N) TRIGGERS export triggers (Y)
LOG log file of screen output STATISTICS analyze objects (ESTIMATE)
ROWS export data rows (Y) PARFILE parameter filename
CONSISTENT cross-table consistency(N) CONSTRAINTS export constraints (Y)
OBJECT_CONSISTENT transaction set to read only during object export (N)
FEEDBACK display progress every x rows (0)
FILESIZE maximum size of each dump file
FLASHBACK_SCN SCN used to set session snapshot back to
FLASHBACK_TIME time used to get the SCN closest to the specified time
QUERY select clause used to export a subset of a table
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
TTS_FULL_CHECK perform full or partial dependency check for TTS
TABLESPACES list of tablespaces to export
TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
TEMPLATE template name which invokes iAS mode export
Export terminated successfully without warnings.Joel Pérez
http://otn.oracle.com/experts -
Transportable tablespace becomes non-transportable
Dear Guru's,
For years we exported and imported our transportable tablespaces, but recently the export fails with the following error message:
EXP-00008: ORACLE error 29341 encountered
ORA-29341: The transportable set is not self-contained
ORA-06512: at "SYS.DBMS_PLUGTS", line 1143
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
We use Oracle9i in RedHat 3.4 on xSeries 336 machine.
The exporting command: exp parfile=export.f
Contents of export.f:
USERID="/ as sysdba"
TRANSPORT_TABLESPACE=y
TABLESPACES=JAFFA_TSB,BLOB_TSP
# Outcommented lines contains default value:
#GRANTS=Y
#CONSTRAINTS=Y
#TRIGGERS=Y
#INDEXES=Y
TTS_FULL_CHECK=TRUE
OBJECT_CONSISTENT=Y
STATISTICS=COMPUTE
FILE=syn_meta.dmp
LOG=syn_meta.log
These attempts were made:
EXECUTE dbms_tts.transport_set_check('BLOB_TSP', TRUE, TRUE);
SELECT * FROM transport_set_violations ==> "no rows selected"
Oracle support service has still no answer to this issue.
How can we find where the problem is? Can anybody help?
Thanks a lot in advance!Amazing!!!
Thank you very much Chris! We only need to drop the table and we manage to export again. This is the result of the conclusion:
SQL> execute dbms_tts.transport_set_check('JAFFA_TSB,BLOB_TSP',TRUE,TRUE);
PL/SQL procedure successfully completed.
SQL> SELECT * FROM transport_set_violations;
VIOLATIONS
Sys owned object REPAIR_TEST in tablespace JAFFA_TSB not allowed in pluggable set
Thanks again!!! -
Transportable tablespace or what?
Sorry if I'm posting to a wrong forum, but I have a task to create a procedure that 'archives' some data.
It should do it in a way that user can start 'archiving' process wich should move some table partitions to an archive..
archive should be some kind of export (that should be easy to restore), transportable tablespace or anything similar..
what do you reccomend? DB is 11G R2
my current plan is to use partitioned tables, and to move partitions to a transportable tablespace that will be online-offline if it needs to, but I've never tried to solve a problem on this way...
Does somebody have experience with that?
tnx for any idea/help
edit:
what is with offline tablespace? As I read, it's still used just for backward compatibility
Edited by: 846417 on Apr 6, 2011 5:02 AMI think this is an appropriate forum if you are using Data Pump or exp/imp to get your task complete.
I'm not sure how your database is set up, but if it was done using partitions and you want to take one or more partitions to a archive area, you can use transportable tablespace in the table mode to just get the information about 1 partition. Ideally, you would want one partition per tablespace. Here is how it would work.
Let's say your table is created like this:
create table foo (a number, b date)
partition by range (a)
(partition jan-2000 values less than 'feb-2000' tablespace jan_2000_tbs,
(partition feb-2000 values less than 'mar-2000' tablespace feb_2000_tbs,
(partition mar-2000 values less than 'apr-2000' tablespace mar_2000_tbs,
(partition apr-2000 values less than 'may-2000' tablespace apr_2000_tbs,
Now, you can export just 1 partition at a time:
expdp user/password table=foo:jan-2000 transportable=always ...
This will generate a dumpfile for the metadata. You would have to save both the dumpfile and any data files associated with tablespace jan_2000_tbs.
Hope this helps.
Dean -
Problem description:
I have ordered a new iMac but my current one seems to be running really slowly. I believe it to be a memory related problem but can’t seem to identify what is causing it. Your help is greatly appreciated.
EtreCheck version: 2.1.8 (121)
Report generated March 7, 2015 at 4:01:26 PM PST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (24-inch, Early 2008) (Verified)
iMac - model: iMac8,1
1 2.8 GHz Intel Core 2 Duo CPU: 2-core
2 GB RAM Upgradeable
BANK 0/DIMM0
1 GB DDR2 SDRAM 800 MHz ok
BANK 1/DIMM1
1 GB DDR2 SDRAM 800 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
ATI Radeon HD 2600 Pro - VRAM: 256 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.10 (14A389) - Time since boot: 23 days 18:5:35
Disk Information: ℹ️
ST3320820AS_Q disk0 : (320.07 GB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 319.21 GB (195.05 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
HP Officejet 6000 E609n
Apple, Inc. Keyboard Hub
Primax Electronics Apple Optical USB Mouse
Apple, Inc Apple Keyboard
Apple Inc. Built-in iSight
Western Digital External HDD 500.11 GB
My Passport (disk1s1) /Volumes/My Passport : 500.11 GB (200.60 GB free)
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Popcorn 4/Popcorn.app
[not loaded] com.roxio.TDIXController (2.0) [Click for support]
/System/Library/Extensions
[not loaded] com.aliph.driver.jstub (1.1.2 - SDK 10.7) [Click for support]
Problem System Launch Agents: ℹ️
[killed] com.apple.accountsd.plist
[killed] com.apple.AirPlayUIAgent.plist
[killed] com.apple.bird.plist
[killed] com.apple.CalendarAgent.plist
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.CallHistorySyncHelper.plist
[killed] com.apple.cloudd.plist
[killed] com.apple.cmfsyncagent.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.coreservices.uiagent.plist
[killed] com.apple.EscrowSecurityAlert.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.pluginkit.pkd.plist
[killed] com.apple.printtool.agent.plist
[killed] com.apple.rcd.plist
[killed] com.apple.recentsd.plist
[killed] com.apple.sbd.plist
[killed] com.apple.scopedbookmarkagent.xpc.plist
[killed] com.apple.secd.plist
[killed] com.apple.security.cloudkeychainproxy.plist
[killed] com.apple.spindump_agent.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
22 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.AssetCacheLocatorService.plist
[killed] com.apple.awdd.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.diagnosticd.plist
[killed] com.apple.emond.aslmanager.plist
[killed] com.apple.GSSCred.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.periodic-daily.plist
[killed] com.apple.periodic-monthly.plist
[killed] com.apple.periodic-weekly.plist
[killed] com.apple.softwareupdate_download_service.plist
[killed] com.apple.softwareupdated.plist
[killed] com.apple.spindump.plist
[killed] com.apple.tccd.system.plist
[killed] com.apple.wdhelper.plist
[killed] com.apple.xpc.smd.plist
[killed] org.cups.cupsd.plist
20 processes killed due to memory pressure
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.sonos.smbbump.plist [Click for support]
User Login Items: ℹ️
iTunesHelper UNKNOWN Hidden (missing value)
Jawbone Updater Application (/Applications/Jawbone Updater.app)
Dropbox Application (/Applications/Dropbox.app)
Internet Plug-ins: ℹ️
Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
CitrixICAClientPlugIn: Version: 11.2.0 [Click for support]
iPhotoPhotocast: Version: 7.0
3rd Party Preference Panes: ℹ️
Citrix Online Plug-in [Click for support]
Flash Player [Click for support]
UE Smart Radio [Click for support]
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 319.21 GB Disk used: 124.16 GB
Destinations:
Time Machine Backups [Local]
Total size: 3.00 TB
Total number of backups: 98
Oldest backup: 2013-08-28 05:45:36 +0000
Last backup: 2014-12-30 19:39:32 +0000
Size of backup disk: Excellent
Backup size 3.00 TB > (Disk size 319.21 GB X 3)
Top Processes by CPU: ℹ️
5% com.apple.WebKit.Plugin.64
3% WindowServer
2% sysmond
0% AppleSpell
0% com.apple.WebKit.Networking
Top Processes by Memory: ℹ️
41 MB Finder
41 MB iTunes
37 MB Safari
32 MB com.apple.WebKit.Plugin.64
32 MB mds
Virtual Memory Information: ℹ️
53 MB Free RAM
501 MB Active RAM
463 MB Inactive RAM
398 MB Wired RAM
78.46 GB Page-ins
3.04 GB Page-outs
Diagnostics Information: ℹ️
Mar 7, 2015, 12:41:34 PM /Library/Logs/DiagnosticReports/Inkjet4_2015-03-07-124134_[redacted].crash
Mar 5, 2015, 07:42:29 PM /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-03-05-194229_[ redacted].crashThat certainly looks like a low memory issue, 2 GB ram is barely enough to run Mac OS X versions from Lion through Yosemite. The high number of Page Outs and killed processes show very high memory pressure.
Try adding memory, but be sure it is high quality, Mac certified memory such as that from OWC, http://www.macsales.com or Crucial, http://www.crucial.com -
Error while using Transport Tablespace
Hi,
I am running into the below errors when I do the transport tablespace in 11g using the OEM --> Data Movement --> Transport Tablespace.
RMAN-03009: failure of conversion at source command on ORA_DISK_1 channel at 04/22/2008 08:28:32
RMAN-20038: must specify FORMAT for CONVERT command
When I search for the RMAN-03009 in OTN,Metalink,google , I get some unrelated hits with different message and not the "Failure of Conversion..." message.. for this message code.
Please advice if you have had the same issue and resolved the same.
Thanks
SheikFrom 11g Error Messages:
RMAN-20038: must specify FORMAT for CONVERT command
Cause: No FORMAT was specified when using CONVERT command.
Action: Resubmit the command using FORMAT clause. -
Steps to create Cross-Platform Transportable Tablespaces
hi
what is the steps to do Cross-Platform Transportable Tablespaces.
i want to perform this in my pc, i have linux and windows in same PC, i want to migrate from linux to windows and vice versa.
so can i know complete steps and commands to perform Cross-Platform Transportable Tablespaces. to get complete knowledge i am doing this so i can implement this in my office when any migrate issues comes. so once i do this i will get confidence so that i can do the same in my office which saves my time.
veeresh s
oracle-dba
[email protected]Hi, also you can review the Note:413586.1 into metalink site.
Good luck.
Regards. -
Standby not in sync because test on primary of transportable tablespace etc
This environment is new build environment , have not in use yet.
db version is 11.2.0.3 in linux, both primary/standby are configured in RAC two nodes and storage are in ASM storage.
primary db had tested by migration data using transportable tablespace methods. So the datafiles imported were put in a local filesystem which I have to switch to ASM afterwards.
In such way, the standby db got the impression that datafiles should be in local filesystem and it got invalidated.
Here is the error from standby log:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/stage/index.341.785186191'
and datafiles names are all in local filesystem in standby: /stage/...../
However in primary datafile names are all in ASM instance:
+DAT/prd/datafile/arindex.320.788067609
How to resolve such situation?
ThanksMy steps for transportable tablespaces after scp the datafiles to linux are import the transportable datafiles into the database. and then using rman to copy it to "+DATA' in asm. and then switch dababase to copy.
Those procedure all worked on primary.
The standby was built before the transportable tablespace when there are only system, users, tools etc basic tablespaces. it worked and in sync with primary. However everytime the primary tested data migration with the transportable tablespaces, it will not work.
so what is the right way to perform this migration? how can I made standby in sync with primary and to read the datafiles in ASM storage?
Is there a way before the RMAN command to transfer the filesystem datafile to ASM, can I copy those local filesystem datafiles to ASM storage ? then do a import transportable datafiles with those on ASM?If you added any datafiles manually then those will be created in standby also as per the settings,
But here you performing TTS, of course DML/DDLs can be transfered to standby by archive logs, but what about actual datafiles? Here in this case files exist in primary & those files not exist in standby
AFAIK, you have to perform couple of steps. Once after your complete migration done in primary do as follows. (Do test it)
1) Complete your migration on primary
-- Check all data file status and location.
2) Now Restore standby controlfile & newly migrated tablespaces in standby Database
-- here you can directly restore to ASM using RMAN, because you are taking backup in primary using RMAN. So RMAN can restore them directly in ASM file system.
3) Make sure you have all the datafiles where you want and take care no one data file is missing. Crosscheck all tablespace information in primary & standby databases.
4) Now start *MRP*
Here is my above plan, But I suggest to test it...
One question, After *successful migration* are you able to SYNC standby with primary earlier ?
Maybe you are looking for
-
How can I fix a drastic and sudden increase in memory usage?
Before I start, I've already been having slight issues since the middle of last year, but I thought nothing of it. Firefox starting up using a good chunk of memory was normal, and I could run it alongside my other programs just fine. However, about 3
-
I would like to access the one that I no longer have a functioning email address for.
-
"Inspire 5200 5.1 HELP!!! no sound!
"Inspire 5200 5.1 HELP!!! no sound! Hey guys, i just recently got an inspire 5200 5.1 system and hooked it up. All connections are great and are connected properly to the sound card (all colors to all colors). The problem i have is that i hear absolu
-
Saved Interactive Reports after APEX Upgrade
Hi, When you do an APEX Upgrade are saved interactive reports kept? Martin
-
Tx1000 wont shut down/ hibernate
I bought my Tx1000 second hand and installed Windows 7 Ultimate N on the new hard drive. Outside of the typical internal wireless dying, i have had no issues with this laptop. Recently, when i attempt to shut down the computer, it will just cycle and