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

Thread: Tablespace creation problem - URGENT

  1. #1
    Join Date
    Sep 2000
    Posts
    77
    I accidentaly created a tablespace without giving required intial extent size i wanted. I just created a datafile for that tablespace with 500M. I want that tablespace intial extent to be 450m. What should i do now.
    Thanks

  2. #2
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    You can just drop/recreate it OR issue:
    alter tablespace (name) default storage (initial 450M ....);

  3. #3
    Join Date
    Apr 2000
    Location
    roma
    Posts
    131
    The default storage of a tablespace may be "dangerous" if you don't specify the storage of segments created on that (becasue they by get the default storage of the tablespace)
    However you can do as halo said.

  4. #4
    Join Date
    Sep 2000
    Posts
    77
    If i drop the tablespace including contents, i will still have a datafile on operating system. If i remove that datafile will it lead to any complications once i shutdown and restart database ? I verified it on personal oracle everything looks fine, but still i want to know.
    Thanks

  5. #5
    Join Date
    Nov 2000
    Posts
    71
    Put yuor tablespace offline;
    Drop the tablespace including contents;
    Remove the datafile from your file system.
    If you correctly do those steps you have not any problems in shutting down and starting up your database.
    However for every evenience you should take a backup of your controlfile before shutting down your DB with the command
    ALTER DATABASE BACKUP CONTROLFILE TO TRACE.
    Bye

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