If data files are deleted?

If data files are deleted, can they be recovered from the control file?

It depends on what is in the datafiles in the tablespaces, if they actually contain data, if they are the only datafiles for the tablespace, etc.
Let's assume that they are the only datafiles for the tablespace and segments have allocated and used space in them.
If the segments are index segments, you can recreate the indexes from the data that currently exists in the table.
If the segments are table segments, you will need to recreate the data either by hand or extracting it from another source.
If no segment has allocated space in the datafile, you should be able to offline the datafile. If this works, it is a good idea to migrate the segments to a new tablespace and then drop the tablespace (unless it is SYSTEM) as Oracle does not like offline datafiles and it will become a maintenance hassle.
If you do not have a backup, do you have a recent export?
Once you have addressed the immediate issues of reconstructing the data, you need to address the issues of backups (you should at least backup the database periodically even if you don't run in archivelog mode) and security (no one should be dropping live data files).
Regards,
Daniel Fink

Similar Messages

  • Can I reimport originals after data files are deleted?

    While selecting photos to burn to a cd I copied folders from the 'Data' folder in iPhoto library. I then moved several individual files, which I did not require for the burn, from the cd to trash - before I had burned. I did not realise that this would delete the data files from the iPhoto library itself. I emptied trash before checking back with iPhoto and now, of course, those images disappear from my library whenever I open iPhoto. However, I still have the photos saved in two locations as 'Originals', but when I try to import them back into iPhoto a message appears to tell me they are unreadable. The 'Originals' files are not corrupted, but how do I reimport them into iPhoto so that they reappear in my Library Data folder in their old locations?

    Welcome to the Apple Discussions. You do know that the Data folder only contains thumbnail sized files that iPhoto uses within the library, right?
    If you can see the blank thumbnail boxes in the library and can click on them to bring up the full sized image you have a good chance at recovering the library by rebuilding as follows: launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    If that doesn't resurrect the library then you'll have to start with a new library and import the Originals folder from the old library. Here's how:
    Creating a new library while preserving the rolls from the original.
    Move the existing library folder to the desktop.
    Launch iPhoto and, when asked, select the option to create a new library.
    Drag the Originals folder from the iPhoto Library on the desktop into the open iPhoto window.
    This will create a new library with the same rolls as the original library. However dates on the rolls may be different but can be edited as you would the roll title.
    Once this is completed you can delete the iPhoto library folder from the desktop. If desired, you can keep the older library folder to try other fixes on it.
    In the future I recommend you make a backup copy of the Library6.iPhoto file after each import and after doing a lot of editing and organizing in the library. Then if you experience a similar crash all you need to do is replace the damaged database file with the backup copy and you'll be back to the same place in the library as when you make the backup. See the tip at the end of my signature.
    In the future, Don't mess with files in the iPhoto Library folder from the Finder. See TD's treatis on file access for how to access photos for use outside of iPhoto.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Ipod touch 4's files are deleted whenever i add a new file into it through itunes (the files i have on my ipod touch aren't in my itunes before hand) and i don't know what to do to keep these files from being erased. PLEASE HELP :(

    my ipod touch 4th generation has files that i didnt back up because i didnt know i was supposed to. the when i tried to add one new file to my EMPTY itunes, all files are deleted, yes because i know i didnt back the files up and the files on my ipod arent in my itunes. so i cancelled adding the new file and all files
    are back again, like i didnt press the sync button when it showed the deletion. what am i supposed to do about this? i dont want my ipod files to be deleted, i just wanna add new files freely without losing any of my old files. please help.

    You want to transfer purchases from the iPod to your iTunes account.
    Connect the device to iTunes but do not sync.
    Select File > Transfer Purchases.
    This will copy the content purchased via iTunes on the iPod to your iTunes account.

  • Local Files are deleted upon disconnecting from project

    Running Version Cue CS3 3.1.0 with latest Bridge. (PowerMac G5 - OSX 10.4.11)
    Im running the VC server on my local machine. Intention is for only myself to use it for version control.
    I created a project, added my files... the standard local file path is ~/Documents/Version Cue/projectname
    2 issues, perhaps the same issue
    whenever i attempt to disconnect from the project... the local files are deleted...
    so, if i had set a custom path for my projects local files, VC immediately deletes the files, and next time trying to connect, the local file path is reset to the ~/Documents/Version Cue/projectname
    Is this how VC is supposed to function?
    Any help or insight is greatly appreciated!!! Thank you in advance

    Running Version Cue CS3 3.1.0 with latest Bridge. (PowerMac G5 - OSX 10.4.11)
    Im running the VC server on my local machine. Intention is for only myself to use it for version control.
    I created a project, added my files... the standard local file path is ~/Documents/Version Cue/projectname
    2 issues, perhaps the same issue
    whenever i attempt to disconnect from the project... the local files are deleted...
    so, if i had set a custom path for my projects local files, VC immediately deletes the files, and next time trying to connect, the local file path is reset to the ~/Documents/Version Cue/projectname
    Is this how VC is supposed to function?
    Any help or insight is greatly appreciated!!! Thank you in advance

  • Does anyone know where the iWeb data files are located or what they are called?  I can't find them.  I looked in Finder for files named the same as my website, but found nothing.  Any help would be appreciated.

    Does anyone know where the iWeb data files are located or what they are called?  I can't find them.  I looked in Finder for files named the same as my website, but found nothing.  Any help would be appreciated.

    If you erased or replaced your hard drive since iWeb was cancelled, then they are gone. Otherwise, if you have maintained backups then check those.
    Usually such files are in the /Home/Library/ folder or a sub-folder.
    Exposing the /Home/Library/ Folder
    Pick one of the following methods:
    A. This method will make the folder visible permanently. Open the Terminal application in your Utilities folder and paste the following at the command prompt:
    chflags nohidden ~/Library
    Press RETURN.
    B. Click on the Desktop, press the OPTION (⌥) button, select Library from the Finder's Go menu.
    C. Select Go To Folder from the Finder's Go menu. Paste the following in the path field:
    ~/Library
    Press the Go button.

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • HT4623 How can u set up your iphone when all the files are deleted?

    How can I set up my iphone if all the files are deleted?

    What files are deleted?
    Please explain

  • If temp and redo files are deleted

    if temp and redo files are deleted what is the impact on database

    sb92075 wrote:
    moreajays wrote:
    Redo Deleted : Db will crash if its current redo , please post proof since you are simply WRONG!
    on Windows, you can not delete open file.
    on *NIX, the directory entry will be removed, but Oracle will continue to hold the file open & use it!
    disk space will be reclaimed by the OS after final process closes the file.And then (on *nix) the fun will begin the next time they try to start the db!   ;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What happens to versions data when files are deleted ?

    When working on a document with an application using autosave, I understand modifications are regularly saved together with the actual state of the file. When such file is dulicated, history and the different versions are not duplicated.
    My question is, what happens to the versions data if the original file is deleted and is the space used for all versions reclaimed ?
    Working with big documents on SSD disk could be a problem seems to me.
    Thanks for your comments.

    Hi Tony,
    As soon as data is deleted from the cube, Data will not be available for reporting. because for any reports data is fetched from Tables, for DSO they will fetch from Active table.
    So you will receive a message Data not found, if the data is deleted from Cube's table.
    Assign some points, if this is helpful.
    Rgs,
    I.R.K

  • How do I delete files permanently from a usb flash key? On my mac (Yosemite 10.10) it's telling me the files are deleted, however on plugging key into television they're still there

    I've a problem I've never come across before and it's how to permanently delete files on a usb flash key? I've just migrated from using Windows for 15 years onto Apple iMac and had been deleting files easily and permanently from the key on Windows without any hassle and thought I'd done the same on my iMac but seemingly they're still there as the tele is showing them when key is plugged in, BUT they can not be seen on iMac. I wondered why the key wouldn't take anymore files after, what I thought was, deletion and now I know why-imac hasn't deleted them!
    I've actually gone into Disk Utility and formatted the key in it's usual FAT32 format to finally delete the files.  Anyone any ideas as to why this happens and how to solve this please?
    Many thanks
    puretoon

    In addition to what Drew wrote, remember the Mac has a data fork and a resource fork.
    Here is an old thread but a nice recap by Dr. Smoke
    ._Files
    Note that the ._file files you note are the resource forks of Mac files you copied to the drive from your Mac, and these are only visible when you use the Flash drive on a PC. These are normal and indicate the Flash drive is already formatted for Windows.
    When you copy or save a file from a Mac OS X system to a Windows shared volume or a Windows-formatted disk, the Mac creates two files: the data fork (xxx) and the resource fork (._xxx). This is called Apple Double Format and is normal. The resource fork contains additional data about the file that is exclusive to the Mac that cannot be saved otherwise on Windows-formatted disks. This is new with Mac OS X, as documented in Mac OS X: Apple Double Format Creates File Name With the Prefix '._'.
    The resource fork files (._xxx) are necessary if you want to copy the file back to the Mac and retain the metadata. The resource forks of files are invisible when they are used on the Mac: the Mac OS Extended file system (aka HFS Plus or HFS+) uses forked files, with a file having both data and resource forks.
    You can delete the resource forks on the Windows disk if and only if you don't care about losing the resource fork information should you copy them back to the Mac, such as comments, image preview icon, etc. Some Mac applications use the resource fork data, so deleting the resource fork can be problematic if you copy the file back to the Mac. Likewise moving the file while not also moving its associated resource fork when using the data on a PC can result in problems when using some files again on the Mac.
    You can't prevent the resource forks from being created if you copy or save files from the Mac to the Windows share or Windows-formatted disk via Finder.

  • Python, distutils, data_files - Yay! I know where my data files are.

    After a long and painful research i have finally found usable way to make distutils propagate location of data files to installed application.
    Python's distutils allow user to specify location for data_files but there's no standard way to acess them.
    Yes sure ,there are few workarounds :
    1) distributing data_files as package_data
      - Do you really want to have ie. README.txt in /usr/lib/python/... ?
    2) Accessing those data_file using $sys.prefix
    - hmm. Here you hardcode $sys.prefix relative path to setup.py like this:
    setup(...., data_files=['share/myverycoolpackage/doggie.gif'], ..)
    - and access it this way:
    os.path.join(sys.prefix, 'share/myverycoolpackage/doggie.gif')
    This works fine, but you're making assertions about layout of users $sys.prefix directory. Not talking about possibility to specify --data-dir during installation.
    Both are not really usable. Here goes the solution:
    Idea: Install additional 'package.ini' file, that will get modified during install and will hold location of data files.
    This package.ini will be installed as package_data, so that it will be accessible relatively to sources.
    And this is how i did it:
    New command to install process:
    from os.path import *
    import re
    class package_ini(Command):
    Locate package.ini in all installed packages and patch it as requested
    by wildcard references to install process.
    user_options = []
    def initialize_options(self):
    pass
    def finalize_options(self):
    pass
    def visit(self, dirname, names):
    packages = self.distribution.get_command_obj(build_py.__name__).packages
    if basename(dirname) in packages:
    if 'package.ini' in names:
    self.patch(join(dirname, 'package.ini'))
    def patch(self, ini_file):
    print 'patching file' + ini_file
    with open(ini_file,'r') as infile:
    file_data = infile.readlines()
    with open(ini_file,'w') as outfile:
    for line in file_data:
    _line = self.patch_line(line)
    if _line:
    line = _line
    outfile.write(line)
    def patch_line(self, line):
    Patch an installed package.ini with setup's variables
    match = re.match('(?P<identifier>\w+)\s*=.*##SETUP_PATCH\\((?P<command>.*)\.(?P<variable>.*)\\)', line)
    if not match:
    return line
    print 'Replacing:'+line
    line = match.group('identifier')
    line += ' = '
    data = '(self).distribution.get_command_obj(\''+\
    match.group('command')+'\')'+'.'+\
    match.group('variable')
    line += '\''+eval(data)+'\''
    line += '\n'
    print 'With:' + line
    return line
    Apend this package_ini command to install command:
    class install(_install):
    from distutils.command.install import install as _install
    sub_commands = _install.sub_commands + [
    (package_ini.__name__, None)
    Mention your package.ini in setup():
    setup(..., package_data={'myverycoolpackage':['package.ini']}, data_files='myverycoolpackage','doggie.gif',..)
    Write your package.ini like this:
    __data_dir__ = '../../data' ##SETUP_PATCH(install_data.install_dir)
    Package.ini will get patched properly during install, so if i assume that user specified --data-dir=C:/Program Files/ApplicationData/verycoolpackage, package.ini will be:
    __data_dir__ = 'C:/Program Files/Application Data/verycoolpackage'
    Notice that you can access any property from setup script, so this might be usable for version string or other stuff.
    Also notice that in 'develoment environment' location of data files differs from 'installation environment'. Cute, isn't it?.
    Now you just have to evaluate package ini (propably in myverycoolpackage/__init__.py):
    with open(inipath) as ini:
    for line in ini.readlines():
    exec(line)
    And we're done.

    I've just checked several versions of Dreamweaver in Windows 7. They all have dotted lines showing the tree structure in the Files panel.
    I also checked Dreamweaver CS3 on Mac OS X 10.6, and CS5.5 and CS6 on Mac OS X 10.7. None of the Mac versions have dotted lines. The files are simply indented.
    If you're on a Mac, that's the way it has been for a long time. If you're on Windows, the lines should still be there. There is no special setting in Dreamweaver.

  • Downloaded files are deleted automaticaly after completion

    Every time I download files, they are deleted automatically,except for PDF files, after completion. I have tried e-mail attachments, utility downloads, patches, drivers, etc. with no luck. Help!

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    *http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Offline redolog file are delete in Oracle 11

    Hi
    We recently upgrade our Oracle release from Oracle 10.2.0.2 to Oracle Database 11g Release 2.
    I was running the process to table compression with BRSPACE 7.20  using the command:
    brspace -u / -p /oracle/LUK/112_64/dbs/reorgEXCL.tab -f tbreorg -a reorg -o SAPR3 -s PSAPLUK -t allsel -n PSAPLUKCOMP -c ctab u2013SCT
    The process finish ok but I have a problem with Offline redolog, it are generated succesfully but it are delete after a short time, it disappear from the filesystem, I donot understand this behavior, the delete of archive log is not a deliberate configuration.
    If I execute the archive log backup I allways obtain a lot of warnings with redolog file not found:
    Offline redolog file '/oracle/XXX/saparch/XXXarch1_11155_666372933.dbf' not found
    After compression process the Offline redologs files are being delete too.
    I need to know the reason for this behavior, may be a wrong parameter in our database?
    It is a normal situation with Oracle 11?
    What happen with the Database and backup/restore strategy without offline redologs?
    Next week I need to upgrade the oracle release in our productive system, in this system the archive and database backup are very important and I need to solve this issue or fix it.
    Please help me to solve this problem.
    Thanks in advanced,
    OMM

    Hi,
    Offline redolog file '/oracle/XXX/saparch/XXXarch1_11155_666372933.dbf' not found
    Such messages are only seen if some one has deleted/moved the complained offline redo log files form the Archive Log destination.
    Please ensure that if someone has moved/deleted the offline redo log files or not ? It may be done to accommodate space in Archive log destination, as the reorganization/compression activities will generate more archive logs.
    Also try to perform the same activity again and monitor the archive log destination directory. As i think, such "Offline redo log file deletion after Table Compressions activity done by BRSAPCE " behavior is not possible at all. 
    What happen with the Database and backup/restore strategy without offline redologs?
    Offline Redo log files must require in Database media Recovery process. Without it only Point-in-time recovery is possible.
    Regards,
    Bhavik G. Shroff

  • Cisco AQM 8.5 not recording : wav files are deleted from client side

    Daer Networkers,
    We do have Cisco AQM 8.5 SR2 ES1 installed with UCCX 8.5
    The issue is that when accessing the Web interface of AQM and try to look for calls, I can't find any one.
    When checking the client side, I can see that the call are being recorded : The FROM and TO files are there. But once the call is terminated, the wav file appear for some seconds and then it dissappears asi fi it's deleted.
    The wav files are not in the server too;
    I don't know what is the issue. Can you please help ?
    Thanks in advance.

    Hi,
    This issue was resolved by doing a repair to the QM Base services, then run postinstall as if it was run for the first once.
    The Proxy Gateway program was missing for some reason. After doing the repair the issue was resovled and calls are uploaded to the server.
    Now I am facing another issue !  : I can hear the client voice only. Agent's voice couln't be heard in the recorded files. As if the agent's voice is not recorded. Can you please advise ?

  • Data files are offline / tablespace offline

    I am confused on the concept of data file offline.
    What happened when you take data file offline?
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?
    Why is tablespace offline but data file is still online?
    Please help!
    Thanks
    S.

    ski123 wrote:
    I am confused on the concept of data file offline.
    What happened when you take data file offline?The offline datafile means simply that the file is not available anymore for the access. All the objects for the offline file become inaccessible for the users to access.
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?Yes it can happen that the data file goes offline because of any kind of damage either over the disk, or also with the file itself. For example, there may be a chance that the file is not available anymore , may be because someone has deletedthe file. So most of the times, Oracle would offline the file by itself. In any case, if the file doesn't go offline by itself than you need to take it offline yourself as the recovery for the file can't happen if its online. You would get the error messages that oracle can't acquire the exclusive access over the file.
    Why is tablespace offline but data file is still online?Not sure that I did see this ever myself. Tablespace is nothing but the container for the datafile so if there is a file of it which is offline and that's the only file in the tablespace, the tablespace can't stay as online. Show us an output for the same.
    The links given by Anantha are must for you to read the cocept of offlining a tablespace. Make sure you read them for sure.
    HTH
    Aman....

Maybe you are looking for

  • Creating a complex view

    I Need to create a complex (at least for me !!)view can some body throw some ideas I have two tables TABLE-1 NAME     SYSTEM          DT AAA     GRADE-A          DATE AAA     GRADE-B          DATE BBB     GRADE-A          DATE BBB     GRADE-B        

  • Adf Table with selection as set to NONE

    Hi, I having a scenario as explained below: I am populating records in to the adf Table After that I am using checkbox for selecting multiple records in the table and delete them. So I set selection property to None for the table. Because I want user

  • Mail newbie question

    Hello. I am setting up mail for the first time and I am running into an issue. I am going step by step by what it says in the mail services pdf, and I am to the point of configuring email client software. I decided to try it on my own account first,

  • Windows 7 home premium wont update

    We had windows vista removed from our laptop and replaced with windows 7 home premium, this was done at our local computer shop.  I now realise that a month later it has never updated and no matter what i do it still wont update. it comes up with err

  • Stress Testing - eCATT, CATT, etc

    Hi All, I have a situation where I would like to run a number of queries for different scenarios.  Ideally, I'd like to record, reuse and automate (ie. CATT, eCATT) the use of these scenarios.  Has anyone tried to do this using the standard test tool