dbf files
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: dbf files

  1. #1
    Join Date
    Jul 2001
    Posts
    181

    dbf files

    Hi
    I have a db with 6 newly added tablespaces with a dbf file associated with each. 3 suffixed with A and the other 3 with B,

    The application created these tablespaces through a script I have been assured by the developer. That I can drop the ones suffixed with a B as they are no longer reqd. However when I put a trace on I see that nothing is referencing the B's so they seem safe to drop, although when I do an ls from the command line all the dbf files are modified with the current time
    Am I missing something here?

    Thanks in advance!

  2. #2
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    I suppose that the attribute of the datafile is to depend on the OS.

    Just take the tablespace offline before droping it.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  3. #3
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    the timestamp changes because Oracle writes to the headers of these files and certain point, e.g log switches

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Check to make sure no segments are in those tablespaces (select * from dba_Segments where tablespace = 'foo'), take them offline, drop the tablespace, and then remove the files using an OS command such as rm or del.
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

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