Rerun tts import with ASM

I am doing a data migration from one platform to another (itanium, shared file system to linux ASM). I went through the process to import all datafiles into ASM with Rman, and I was ready to import the metadata.
I messed up, and forgot to create the system trigger setting the proper date format for some default column values.. My import worked but many of the objects failed creation. Now I have a database with the tablespaces imported, but I want to rerun my import. If I drop the tablespaces including contents (to remove the metadata), I will lose my datafiles and I will have to start over.
1) is there anyway to drop a tablespace without dropping the datafiles so I can rerun ??
2) is there anyway to rerun a transportable tablespace import once it has a partial success ??
3) what is my best option.
At this point, I am probably going to shutdown the database, and remove the non-imported tablespaces (system, undo, etc), recreate the database, then rerun the import with the new "shell" leaving the TTS datafiles I already copied over intact.. This is time consuming, and I am hoping to find a better solution
Any ideas would be appreciated.

1. Straight from the documentation ([DROP TABLESPACE|http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_9004.htm|DROP TABLESPACE]):
Oracle Database removes from the data dictionary all metadata about the
tablespace and all datafiles and tempfiles in the tablespace. The
database also automatically drops from the operating system any
Oracle-managed datafiles and tempfiles in the tablespace. Other
datafiles and tempfiles are not removed from the operating system
unless you specify INCLUDING CONTENTS AND DATAFILES.
HTH!

Similar Messages

  • Database upgrade - Oracle 10g r2 ,RAC(2 Nodes with ASM) upgrade from HP-UX to RHEL 5.9

    Hi All
    I am planning to upgrade our RAC database 2 nodes with ASM from HP-UX to RHEL 5.9.
    Following is our setup
    Current setup:
    Oracle Database 10g r2 (10.2.0.5.0) RAC database.
    Nodes: 2
    Storage: ASM
    OS: HP-UX ia64
    Database Size: 1.2 TB
    New Setup:
    Oracle Database 10g r2(10.2.0.5.0) RAC database
    Nodes: 2
    Storage: ASM
    OS: RHEL 5.9 x86 64
    Since we are moving from a big endian format to a small endian format(HP-UX to RHEL 5.9) the same ASM cannot be used.
    Kindly help me with process and other important documents to be followed.
    Thanks.

    Hi...
    If it was a standlone database concepts like transportable tablespaces, rman would have been convenient.
    Since we are using a RAC database with ASM as storage how do we use these techniques specified in NOTE:733205.1
    Due to endianness issue we cannot use the same ASM instance.
    Along with the new RAC node install a new ASM instance would have to be created.
    Kindly help me with migration for RAC with existing ASM to new Hardware
    Thanks and Regards

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Installing Oracle 11gR2 Standard Edition on WINDOWS Server 2008R2 with ASM

    Hi,
    I want to setup Oracle 11g DB (11.2.0.2) Standard Edition on Windows Server 2008R2 x64 bit with ASM Instance. I would appreciate if you could suggest me with the following little but important questions.
    The following link from Oracle doesnt have 11.2.0.2 db version for windows x64 bit. Do a patch (which I think is a complete installation) is needed to install after installing 11.2.0.1? or I can directly install 11.2.0.2?
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
    Secondly, I have no such experience regarding installing and setting up ASM Instance on windows. How many disks or etc is needed for ASM (as ASM disks). One of the admin guy said, he has 6 disks (2 for OS and 6 you can use for Oracle or ASM so so). Could you please suggest, how should I divide the disk partitions of what should I say no idea :(
    Also, do ASM instance (diskgroups,disks) should be setup before creating DB (through dbca?)
    I was thinking like:
    - Installing Oracle software
    - Creating ASM disks,diskgroups,instance,etc
    - Creating DB (using dbca?), isnt' it?
    Bundle of thanks in advance.
    Best Regards

    K-Saf wrote:
    Hi,
    I want to setup Oracle 11g DB (11.2.0.2) Standard Edition on Windows Server 2008R2 x64 bit with ASM Instance. I would appreciate if you could suggest me with the following little but important questions.
    The following link from Oracle doesnt have 11.2.0.2 db version for windows x64 bit. Do a patch (which I think is a complete installation) is needed to install after installing 11.2.0.1? or I can directly install 11.2.0.2?
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
    Secondly, I have no such experience regarding installing and setting up ASM Instance on windows. How many disks or etc is needed for ASM (as ASM disks). One of the admin guy said, he has 6 disks (2 for OS and 6 you can use for Oracle or ASM so so). Could you please suggest, how should I divide the disk partitions of what should I say no idea :(
    Also, do ASM instance (diskgroups,disks) should be setup before creating DB (through dbca?)
    I was thinking like:
    - Installing Oracle software
    - Creating ASM disks,diskgroups,instance,etc
    - Creating DB (using dbca?), isnt' it?
    Bundle of thanks in advance.
    Best Regards-You should create ASM
    -After this you could be able to create DB

  • Database upgrade, platform migration with ASM

    Hi All
    I have using R12.1.2 with 10.2.0.4 database on HP-PA RISK 64 bit Operating system . I want to upgrade database to 11g r2 with ASM and want to migrate OS to RHEL5 , 64 bit. Kindly suggest me the sequence how we can proceed?
    Thanks
    Krishna

    Hi Krishna;
    I have using R12.1.2 with 10.2.0.4 database on HP-PA RISK 64 bit Operating system . I want to upgrade database to 11g r2 with ASM and want to migrate OS to RHEL5 , 64 bit. Kindly suggest me the sequence how we can proceed?For your issue I suggest just follow below steps:
    1. Upgrade your db from 10.2 to 11.2 on HP
    2. Migrate your 11.2 from HP to linux
    3. Convert your system to ASM
    Please see below notes:
    1. For convert ASM:
    Convert datafile to asm:
    Re: convert to ASM
    How to move a datafile from a file system to ASM [ID 390274.1]
    How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure [ID 747457.1]
    How To Create ASM Diskgroups using NFS/NAS Files? [ID 731775.1]
    How to copy a datafile from ASM to a file system not using RMAN [ID 428893.1]
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/dbxptrn.htm
    convert to ASM
    Re: convert to ASM
    Also check below gooling:
    http://www.google.com.tr/search?hl=tr&q=convert+datafile+to+asm&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
    RAC for EBS 12.1.1 with DB 11.1.0.7
    2. For 11g upgrade:
    Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.2) [ID 881505.1]
    3. For RHEL5:
    DB migration from AIX to Linux
    Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1]
    General Notes For E-Business Suite Release 12 [ID 986673.1]

  • Upgrade to 11.2 / 11.1 with ASM from 9.2.0.5

    Hi,
    What are the options available to upgrade the database from 9.2.0.5 to either 11.1 / 11.2 with ASM. I know that we can upgade the following. But, how to do with ASM
    9.2.0.5 -> 11.1
    9.2.0.5 -> 9.2.0.8 -> 11.2
    Thanks in Advance,
    -KarthicK

    Hi,
    As per the compatibility matrix of 11gR1 you can upgrade directly from 9.2.0.4 or higher onwards.
    And for 11gR2 you can upgrade directly from 9.2.0.8 or higher onwards.
    Database Server Upgrade/Downgrade Compatibility Matrix [ID 551141.1]
    ASM was a feature introduced from 10g onwards.
    Hence for 11gR1, you should install 11gR1 with ASM and proceed upgrading the database.
    for 11gR2, you should upgrade database to 9.2.0.8 patchset, install 11gR2 with ASM and proceed upgrading the database.
    You can refer to below notes for upgrading your database using manual method.
    Note 429825.1 Complete Checklist for Manual Upgrades to 11gR1
    Note 837570.1Complete Checklist for Manual Upgrades to 11gR2
    Regards,
    NC

  • Please verify my RAC install with ASM procedure with a question.

    Good morning.
    My installation procedure on RAC with ASM (ASM will be on separate home from DB):
    1. Install clusterware 10.2.0.1
    2. Apply database patchset 6810189 upgrade clusterware to 10.2.0.4
    3. Apply CRS patch bundle #4 8436582 to clusterware
    4. Install oracle DB home 10.2.0.1
    5. Apply database patchset 6810189 upgrade to 10.2.0.4
    6. Apply DB PSU (patch# 8576156) 10.2.0.4.1 (includes CPUJUL2009) to the oracle home
    (steps 7-9 are similar as step 4-5, except for ASM home. Or should I install ASM home before installing DB home? )
    7. Install oracle DB home 10.2.0.1 for ASM and configure ASM
    8. Apply database patchset 6810189 upgrade to 10.2.0.4 for ASM
    9. Apply DB PSU (patch# 8576156) 10.2.0.4.1 (includes CPUJUL2009) to the oracle home for ASM
    10. Run DBCA to create database.
    Can I apply DB PSU (patch# 8576156) 10.2.0.4.1 (INCLUDES CPUJUL2009) to DB while the clusterware is 10.2.0.4, as I know DB version should not be higher than clusterware version? Or can I upgrade clusterware to 10.2.0.4.1?
    Thanks for advice,

    Hi,
    Applying PSU (10.2.0.4.1) does not mean that you are moving to higher version of Oracle. Oracle releases will be like 10.2.0.4 , 10.2.0.5 like that.
    10.2.0.4.1 is the PSU version for Jul 2009 PSU.
    10.2.0.4.2 is the PSU version for Oct 2009 PST.
    Like CPUs PSUs are also quarterly. It is not necessary oracle should release the PSU/CPU for every oracle home/CRS home every quarter.
    For now, the PSU (Patch no: 8576156) is only applicable as shown below.
    PSU 10.2.0.4.1 includes the following previously released bundle patches:
    - Generic Recommended Bundle #4 (Patch 8362683)
    - RAC Recommended Bundle #3 (Patch 8344348)
    - Data Guard Broker Recommended Bundle #1 (Patch 7936793)
    - Data Guard Physical/Recovery Recommended Bundle #1 (Patch 7936993)
    - Data Guard Logical Recommended Bundle #1 (Patch 7937113)
    Refer to the installation types of this patch (download README of this patch bundle).
    Table 1 Installation Types and Security Content
    Server homes - PSU 10.2.0.4.1
    Client-Only Installations - None
    Instant Client Installations - None
    (The Instant Client installation is not the same as the client-only Installation.
    For additional information about Instant Client installations, see Oracle Database Concepts.)
    ASM (Automatic Storage - PSU 10.2.0.4.1
    Management) homes
    CRS (Cluster Ready Services) - None
    homes
    So, there is no PSU patch for this quarter for CRS Home. You may check the previous CPU/PSUs to make your home secured/updated with all patches.
    Regards,
    Vasu
    Edited by: vasu77 on Sep 22, 2009 3:01 PM

  • 10g Grid (RAC) on Linux with ASM and OCR?

    I was trying to install 10g on Linux with ASM. The docs are not terribly clear on this, but I'd like to have the Oracle Cluster Registry (OCR) on one of my four ASM disks, rather than dedicate space to OCFS. I have 4 18.2 GB drives setup with ASM now. Is there a way to do this?
    I guess the other thing I could do is to cut the ASM disks into two partitions. One, say 200MB and the other the rest. I'd put OCFS for OCR on the 200MB partition on one of the disks. The large partition on each of the rest of the disks would be dedicated to ASM.
    What am I missing? I feel it must be something obvious. I'd rather have the OCR on the ASM, so that I don't have to deal with it...
    Thanks!
    Jeff

    Hi.
    There shouldn't be a problem with this provided you use a 32-bit OS on the 64 bit machine. RAC doesn't care about the chipset, so long as the same OS is used, but I don't thinkit will support one node on 32 bit and one on 64 bit, since they are actually separate distributions.
    Of course, I've never tried it so I can't be sure :)
    Cheers
    Tim...

  • Oracle 10g R2 installation with ASM+RAC

    Gurus,
    Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
    We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
    ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
    The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
    1) Install CRS
    2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
    3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
    4) Create ASM database using DBCA -
    5) Use dbca to create database.

    Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
    They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
    I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
    http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm

  • Oracle 10g RAC design with ASM and OCFS

    Hi all,
    I have a question about a proposed Oracle 10g Release 2 RAC design for a 2 node cluster.
    ASM can store database files but not Oracle binaries nor OCR and voting disk. As such, OCFS version 1 does not support a shared Oracle Home. We plan to use OCFS version 2 with ASM version 2 on Red Hat Linux Enteprrise Server 4 with Oracle 10g Release 2 (10.2.0.1).
    For OCFS v2, a shared Oracle home and shared OCR and voting disk are supported. My question is does the following proposed architecture make sense for OCFS v2 with ASM v2 on Red Hat Linux 4?
    Oracle 10g Release 2 on Red Hat Enterprise Linux Server 4:
    OCFS V2:
    - shared Oracle home and binaries
    - shared OCR and vdisk files
    - CRS software shared OCFS v2 filesystem
    - spfile
    - controlfiles
    - tnsnames.ora
    ASM v2 with ASMLib v2:
    Proposed ASM disk groups:
    - data_dg for application data
    - backupdg for flashback and archivelogs
    - undo_rac1dg ASM diskgroup for undo tablespace for racnode1
    - undo_rac2dg ASM diskgroup for undo tablespace for racnode2
    - redo_rac1dg ASM diskgroup to hold redo logs for racnode1
    - redo_rac2dg ASM diskgroup to hold redo logs for racnode2
    - temp1dg temp tablespace for racnode1
    - temp2dg temp tablespace for racnode2
    Does this sound like a good initial design?
    Ben Prusinski, Senior DBA

    OK Tim, thanks for advices.
    I think Netbackup can be integrated with RMAN but I don't want to loose time on this (political).
    To summarize:
    ORACLE_HOME and CRS_HOME on each node (RAID1 and NTFS)
    Shared storage:
    Disk1 and disk 2: RAID1: - Raw partition 1 for OCR
    - Raw partition 2 for VotingDisk
    - OCFS for FLASH_RECOVERY_AREA
    Disk3, disk4 and disk5: RAID 0 - Raw with ASM redundancy normal 1 diskgroup for database files.
    This is a running project here, will start testing the design on VMware and then go for production setup.
    Regards

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

  • Install Oracle 11gr2 on Windows 2008 R2 with ASM step by step Guide needed

    Hi,
    I am looking for a step by step guide on installing Oracle 11gr2 on Windows 2008 R2 with ASM etc. This is not a RAC environment since ASM architecture is a bit different in 11gR2, I would appreciate if anyone can point me to a guide to follow or provide a one.
    Thanks in advance.
    Sujith

    Hi Sujith;
    I am looking for a step by step guide on installing Oracle 11gr2 on Windows 2008 R2 with ASM etc. This is not a RAC environment since ASM architecture is a bit different in 11gR2, I would appreciate if anyone can point me to a guide to follow or provide a one.You need to install grid first(Software only) its neccessary for ASM, Than you need to use asmca to create asm disks than you need to install 11gr2
    All doc avaliable at:
    http://www.oracle.com/pls/db112/homepage
    Regard
    Helios

  • Upgrade from 10.1.0.5 to 10.2.0.4 oracle RAC with ASM

    Hi ,
    I have to upgrade rac database from 10.1.0.5 to 10.2.0.4.Please let me know the best way to upgrade using ASM.If you will give a brief steps which has been used for real upgrade then it will be a great help.
    (1)Can we upgrade 10.1.0.5 crs software if yes then what are the steps?
    (2)we can upgrade the db by installing new software(10.2.0.4)
    (3)How to deal with ASM as asm has been introduced in 10.2.x only.
    (4)How to upgrade existing OCR and Voting Disk?
    Please give me some guide line for smooth start.
    Regards,
    MK

    Pl also see MOS Doc 466181.1 (10g Upgrade Companion)
    Srini

  • How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM

    How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM on SAME platform RHEL4.0
    Scenario My case:
    1) DB size 400G.
    2) Minimum downtime.
    3) oracle 9i(9.2.0.4) source DB.
    4) oracle 10g(10.2.0.3) target DB with ASM.
    5) Source DB (HOST A) and target DB (HOST B) Machine.
    Thanks
    Ashutosh

    I think Werner is suggesting you ask your question in the appropriate forum.
    Go up 2 levels (to Community Discussion Forum) and look for the Database category. It's not that difficult to find, and you will be discussing the question with people who actually care about that kind of question.
    The people who read and interact in this forum do so to discuss Documentation questions. Specifically questions about how to improve the documentaiton.

Maybe you are looking for