DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: drop tablespace including contents (and datafiles not given)

  1. #1
    Join Date
    Dec 2001
    Location
    USA
    Posts
    620

    drop tablespace including contents (and datafiles not given)

    Hi guys,

    I dropped tablespace with the command 'drop tablespace ts01 including contents' but forgot to give 'and datafiles'. This TS had three datafiles. Then, I created it again using one of the existing datafiles with 'reuse' option. Now, there are three datafiles existing. One attached to the ts01 and two old ones.

    1. Did I make a big mistake by not giving 'and datafiles' option?

    2. Can I remove the other two old datafiles physically?

    3. I have not bounced the DB after this. Will it give any errors on shutting/starting the DB?

    I checked dba_data_files and create controlfile script, it shows only one current datafile attached to ts01.

    Thanks in Adv for any help with this.
    Sam
    ------------------------
    To handle yourself, use your head. To handle others, use your heart

  2. #2
    Join Date
    Jun 2006
    Posts
    259
    Quote Originally Posted by samdba
    Hi guys,

    I dropped tablespace with the command 'drop tablespace ts01 including contents' but forgot to give 'and datafiles'. This TS had three datafiles. Then, I created it again using one of the existing datafiles with 'reuse' option. Now, there are three datafiles existing. One attached to the ts01 and two old ones.

    1. Did I make a big mistake by not giving 'and datafiles' option?

    2. Can I remove the other two old datafiles physically?

    3. I have not bounced the DB after this. Will it give any errors on shutting/starting the DB?

    .
    1. Only a mistake if you didn't intend to leave the datafiles.
    2. Yes you can manually remove the datafiles.
    3. No.

  3. #3
    Join Date
    Dec 2001
    Location
    USA
    Posts
    620
    Quote Originally Posted by ixion
    1. Only a mistake if you didn't intend to leave the datafiles.
    2. Yes you can manually remove the datafiles.
    3. No.
    Thanks ixion. I feel much relieved now.
    Sam
    ------------------------
    To handle yourself, use your head. To handle others, use your heart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width