home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1142 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  2.0 KB

  1. Path: sparky!uunet!gatech!hubcap!ncrcae!ncrlnk!usglnk!usdsd1!slindemn
  2. From: slindemn@usdsd1.DaytonOH.NCR.COM (Steve Lindeman)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Moving ORACLE system tablespace datafiles
  5. Message-ID: <1523@usdsd1.DaytonOH.NCR.COM>
  6. Date: 27 Jul 92 13:56:31 GMT
  7. Reply-To: slindemn@usdsd1.DaytonOH.NCR.COM (Steve Lindeman)
  8. Distribution: na
  9. Organization: NCR USG Data Services Division
  10. Lines: 37
  11.  
  12.  
  13. To: Any ORACLE V6 or V7 user
  14. Subject: Moving a the datafiles associated with the system tablespace
  15.  
  16.  
  17. Many people have posed the question how do I move a system tablespace
  18. datafile.
  19. If a DBA refers to the index of the version 6.0 database guide (Database
  20. files renaming) he or she is directed to pages 16-14, G-2 and G-7.
  21. The instructions provided on page 16-14 of the ORACLE version 6.0 database
  22. guide gives very limited instructions for moving a datafile that is not  
  23. part of the system tablespace.  The instructions on this page do not mention
  24. that this command cannot be used to move a datafile that is part of the system
  25. tablespace.  The instructions on pages G-2 and G-7 give two different methods 
  26. to rename a datafile but do not provide any furthur guidence.  These pages do
  27. not make any reference to the fact that different methods must be used if
  28. a system datafile is to be renamed.  
  29.  
  30. STEPS TO MOVE A SYSTEM TABLESPACE DATAFILE:
  31.  
  32.  1. The database must be mounted but not opened.
  33.  2. The file must be copied to it's new location using an operating system
  34.         command.  
  35.  3. Connect internal.
  36.  4. The alter database command must be used to rename the datafile.
  37.  5. Shut the database down.
  38.  6. Restart the database.
  39.  7. Remove the old file once you are certain that the new file name is being
  40.         used by the database.  Check the data dictionary table
  41. sys.dba_data_files
  42.         to determine if the new file is being used.
  43.  
  44.  
  45. -- 
  46. Stephen A. Lindeman              E-mail:Steve.A.Lindeman@DaytonOH.NCR.COM 
  47. Data Services Division           Phone: (513) 445-3688
  48. USG DSD Systems Architecture     Fax:   (513) 445-4176
  49.