Datafile Deleted but Data Accessible

Hi
My database is in archive log mode, 10.2.0.2.
I took a hot RMAN backup and then created a tablespace with one datafile and created a user having this new tablespace as a default tablespace. Created two tables for this user.
Then I deleted the datafile of this tablespace using OS command but the data is the datafile is still accessible. Isn't it strange? I thought the database will crash or will at least not access the data on this datafile.
Can someone please tell me how this data is being accessed?
Also if I do shutdown immediate I get the following:
SQL> shutdown immediate;
ORA-01116: error in opening database file 9
ORA-01110: data file 9: '/oracle/oradata/gptest/surrey.dbf'
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Thanks in Advance

Hi
My database is in archive log mode, 10.2.0.2.
I took a hot RMAN backup and then created a
tablespace with one datafile and created a user
having this new tablespace as a default tablespace.
Created two tables for this user.
Then I deleted the datafile of this tablespace using
OS command but the data is the datafile is still
accessible. Isn't it strange? I thought the database
will crash or will at least not access the data on
this datafile.
Can someone please tell me how this data is being
accessed?
how did you access the data? i think it takes some time to register in the control file that a daatfile has been deleted then latre if u query from that tablepsace will result in error.you can access once the deletion info is registered in controlfile.
correct me if i am wrong
Also if I do shutdown immediate I get the following:
SQL> shutdown immediate;
ORA-01116: error in opening database file 9
ORA-01110: data file 9:
'/oracle/oradata/gptest/surrey.dbf'
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 2: No such file or
directory
Additional information: 3
Thanks in Advance
the above surrey.dbf is the one you have deleted now you need to restore and recover the datafile inturn the database.
cheers
maran

Similar Messages

  • After I reset my Ipod (deleted all data and settings) windows 7 doesn't recognize by ipod touch, and it doesn't appear in the itunes library or in the device menu, but it does charge. How can I get my computer to recognize it again?

    After I reset my Ipod (deleted all data and settings) windows 7 doesn't recognize by ipod touch, and it doesn't appear in the itunes library or in the device menu, but it does charge. How can I get my computer to recognize it again?

    Refer to this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538

  • What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?

    What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?

    If you have multiple devices backing up to the Cloud, you will see all of them listed. You would click on each device to change what is backed up from that device. You can then delete your individual back-ups.
    Once you have all your settings to your liking, you can then go back to Settings>iCloud>Storage & Backup, and click on Back Up Now (bottom of the screen) to create a fresh backup with your new settings.
    Cheers,
    GB

  • For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    If they were deleted from your camera roll that should have resulted in a corresponding decrease in the estimated size of your next backup.
    If it's still saying that you don't have enough storage to back up, read through this article: http://support.apple.com/kb/ht4847.  It provides some suggestions for reducing your iCloud storage, such as deleting unneeded email. 
    The other area to look at is your text messages.  These are included in the backup.  If you have lots of photos and videos attached to your messages, that can significantly increase the size of your backup.  If that's the case, deleting these may make a big difference.

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

  • HT204053 I have a school ipad with iCloud using a different ID (my school email address) . I am leaving and want to buy my own ipad and transfer all my data and docs to my personal iCloud account but don't know how to do this without deleting all data and

    I have a school ipad with iCloud using a different ID (my school email address) . I am leaving and want to buy my own ipad and transfer all my data and docs to my personal iCloud account but don't know how to do this without deleting all data and photos?

    Heya Katie!!
    So, the article you have there, HT4895, is pretty good. Just look at the FAQ section of it.
    But basically, you will want to create a backup on your computer through iTunes...Just plug your current iPad into it and make sure your iPad and iTunes are logged in with the same Apple ID. At that point, just create a backup.
    When you get your new iPad, and before you plug it in or set it up, follow the directions in this link to change your Apple ID. http://support.apple.com/kb/HT5621?viewlocale=en_US
    Once you have that done, plug your new iPad into your computer to sync up with iTunes. Follow the directions for Restore from Backup and it should bring all that info back to your new iPad.
    And changing your Apple ID email info will allow you to have your own!!! This should solve all your issues and GL!!!

  • I installed Windows 7 in my Macbook pro, I can access Windows data in Mac, but I can't copy and delete it. and the same case while i am working in Windows. Could you please guide me if there is any solution, where I could copy/paste/delete my data.

    I installed Windows 7 in my Macbook pro, I can access Windows data in Mac, but I can't copy and delete it. and the same case while i am working in Windows. Could you please guide me if there is any solution, where I could copy/paste/delete my data.

    OS X can natively read NTFS of Windows, but not write to it.
    Windows can't read or write to HFS+ of OSX, and that's a good thing from a security standpoint.
    Ideally if you share files between operating systems you should have a FAT/MSDOS formated USB key or hard drive. (exFAT external drive if any of your files are over 4GB in size) both these formats are universal for OS X or Windows.
    If you install software into Windows and OS X to read each others formats, then you have to pay to update/upgrade it deal with headaches.
    If you swtich between Windows and OS X a lot, don't need full hardware performance for Windows, you may consider installing virtual machine software like VMFusion or Parallels which can take a copy of your Windows in Bootcamp and place it into OS X as a file then run that copy of Windows in a window in OS X like so.
    Advantage here is you run most of your light weight Windows programs like this at the same time as OS X.
    Benefit is you can run just about any Windows or Linux version and OSX server editions (not client versions)
    Bootcamp only allows Windows 7, that's it now.
    You'll also be interested in two fre pieces of software, Carbon Copy Cloner and Winclone on macupdate.com.
    CCC clones OS X partition and Winclone clones the Bootcamp partition. Valuable for you.
    Good Luck

  • I want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    Welcome to the Apple Community.
    You can only wipe your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • How to restore deleted, but not erased, data?

    I just restored my iphone, from an older backup.  itunes says that the information is deleted from the device, but not erased. How do I recover this deleted information?

    I have never seen a message where iTunes states that data is deleted but it has not been erased.
    The only way that you can recover that data - and data is a somewhat vague term because it can refer to so many different things such as documents, contacts, notes, etc. - is to restore from a backup that contains that data or if you have a local copy of that data stored somewhere on your computer you can import it again via File Sharing, email, DropBox, etc.
    So I guess at this point the next question is what data are you trying to recover?

  • I m trying to manage space in my iPhone but what I find is I m not able to delete document data alone of an application without deleting the entire application ... Any other suggestions or methods to accompanish this? Any pointers welcome... Is this a bug

    I m trying to manage space in my iPhone but what I find is I m not able to delete document data alone of an application without deleting the entire application ... Any other suggestions or methods to accompanish this? Any pointers welcome... Is this a bug

    You mean take the cover off of the iPhone, to look inside?  I'd recommend against it.  Even with warranty expired, you might qualify for an out-of-warranty service, which for 3GS is $149.
    Other than that, any repair/service options are going to cost money.  You might want to see if a wireless carrier will let you get a new contract & phone.
    Out of curiousity, you're just using at as, basically, an iPod Touch, if there's no cell provider?  Did I understand that correctly?

  • I delete a date from my calendar and it goes away for a few seconds but then it comes right back. Help, I delete a date from my calendar and it goes away for a few seconds but then it comes right back. Help

    When I tried to delete a date from my calendar it disappears for a second but then it comes right back. I tried to edit the same appointment but the calendar will not edit.

    Try a Reset...
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    If no joy... Try a Restore...
    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.
    From Here
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • How to make copy client with customizing but with no deleting appl.data

    Hello,
    Which profile of copy client i need if i want make copy customizing without deleting application data in target client.
    regards,
    Denis

    hello dennis,
    There is no way you can do that, you cannot copy only customizing onto a client without deleting the application data since there is no such profile in the client copy profiles to do so.
    Also, to me it seems a bit strange to keep the application data (which depends on customizing for integrity) and update the customizing with something else!
    However, still if you wish to do this, there is a crude way of doing it (theoratically). You could use the client copy by a transport request where in you club all your customizing transport requests into one single transport request using transport of copies and then use the client copy via transport request to copy the customizing.
    Here are the steps:
    1. Create transport of copies [click here|http://help.sap.com/saphelp_nw70/helpdata/EN/57/38e1a94eb711d182bf0000e829fbfe/frameset.htm]
    2. Copy the newly created transport request into the target client via copy by a transport request functionality.
    click the following link for the same:
    [client copy via transport request|http://help.sap.com/saphelp_nw70/helpdata/EN/69/c24c754ba111d189750000e8322d00/frameset.htm]
    Regards,
    Siddhesh

  • I use a Win7 PC with iCloud and Outlook 2010 for syncing my calendar and contacts. I can enter data in my Outlook Calendar and it will appear in iCloud, but data entered in iCloud does not sync back to Outlook.  ICloud syncs to my iphone fine both ways.

    I use Win 7 PC with iCloud and Outlook 2010 for syncing my Contacts and Calendar.  They have stopped syncing...mostly.
    Now, appointments I enter on my local Outlook (iCloud) Calendar goes up to iCloud fine.  But, data I enter on iCloud directly does not come down to my local Outlook iCloud Calendar.  If I reboot the computer, the iCloud data shows up.
    Also, Contacts I try to enter on my Outlook (iCloud) Contacts goes up to iCloud fine, but does not show up in my local iCloud Contacts.
    All syncing works with my iPhone.
    I have signed out of iCloud on PC.  I have stopped syncing and re-started.  No change.
    I have an .aplzod folder for iCloud.  I have a separate Earthlink.net.pst email account in Outlook and a me.com.pst Outlook email account (which I don't actually use) listed under Data Files.
    Any help would be appreciated.  Curious that Outlook will upload to iCloud but not receive downloads unless I reboot.  However, rebooting does not download the missing Contacts.
    Jim Robbins

    Hi Jim!
    You've started off with some good troubleshooting steps, so let's see if we can take this a little further and figure out what the issue is with your iCloud contacts and calendars. I have two articles here that will help you troubleshoot this issue a little further, but the troubleshooting steps for both articles are exactly the same, so I will lay those out for you here:
    Note: When using iCloud Control Panel 2.0 and later, iCloud Calendar event descriptions in Outlook 2010 do not support text formatting (bold, italics, or underline), HTML, images, or attachments. The contextual (right-click) menu has also been disabled.
    If you are having trouble with a PC (with Outlook 2007 or 2010) and iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Verify that you are using a Windows configuration that is supported by iCloud. For more information, see iCloud system requirements.
    When enabling Calendars in the iCloud Control Panel, part of the setup process is to copy your Calendars data from the default Outlook ".pst" file to iCloud, and then remove the Calendars from the ".pst" file by placing them in the Deleted Items folder in Outlook. The Calendars data is then stored in the iCloud data set within Outlook so that changes can be pushed to and from Outlook by iCloud. Be sure you are looking for your data within the iCloud dataset within Outlook after enabling Calendars in the iCloud Control Panel. The deleted files can be seen by viewing Deleted Items within your Outlook Folder List. This is not iCloud removing your data; iCloud simply copies your data into the iCloud data set and then removes the local Calendars data by placing it in the Deleted Items folder.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in Outlook. Click here for more information about troubleshooting your Internet connection.
    Open a secure website to test if you are online as is necessary for iCloud Calendar. This also tests if the ports 80 and 443 are accessible. Outlook requires port 443 access to iCloud in order to push and pull updates to and from the iCloud Calendar servers.
    Verify that your iCloud member name is entered into the iCloud Control Panel pane. See iCloud Setup for more information about setting up iCloud on Windows.
    Completely close and reopen the iCloud Control Panel.
    If you recently made changes in Outlook and they are not moving to your other devices or vice-versa, click the Refresh button in Outlook.
    Turn iCloud Calendar off and back on:
    Close Outlook.
    Open the Windows Control Panel:
    In Windows 8, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    In Windows 7 and Vista, choose Start menu > All Programs > iCloud > iCloud.
    Remove the checkmark in the checkbox next to Mail, Contacts, Calendars & Tasks, and click Apply. Wait a few seconds, then replace the checkmark, and click Apply.
    Open Outlook and test to see if the issue has been resolved.
    Ensure the iCloud Outlook Add-in is active within Outlook.
    Outlook 2010:
    Open Outlook 2010.
    Click the File menu.
    Click Options in the left panel of the Outlook window.
    Click Add-Ins in the left panel of the Outlook Options window.
    Look at the list of add-ins beneath "Active Application Add-Ins" and verify that the "iCloud Outlook Add-in" is listed.
    For Outlook 2007, follow these steps to verify the iCloud Outlook Add-in is active
    Open Outlook 2007.
    From the Tools menu, choose Trust Center.
    Select Add-ins from the left column.
    Look at the list of add-ins beneath "Active Application Add-Ins" and verify that the "iCloud Outlook Add-in" is listed.
    For additional information about managing Add-ins with Microsoft Outlook, see this Microsoft support document.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • How to recover to keep tablespaces working after datafile deleted on OS

    hi,
    given situation like this :
    1. OS HPUX 11i
    2. Oracle 9.2 or 10g
    3. tablespace AAA have a datafile AAA.dbf
    4. AAA.dbf has been deleted by a guy on OS by accident
    5. it's a production database , i have other copy of product running elsewhere
    6. we can forget about the data on this tablespace , just wanna make sure new data will still be inserted
    I know there is a magic way involving file descritpor to recovery the file on OS if it was still opened by the process
    seems it only works on linux or solaris , since HPUX don't have /proc
    here is what i had done ,
    1. offline drop the tablespace
    2. export tablespace AAA from other DB without data but everything else
    3. import them into DB without AAA now
    only problem seems application couldn't insert into the tables ,Object priveledge not granted
    i'd checked the export file , those object grant SQL are right there , i just don't know why import hasn't worked
    so my question is
    if it were you ,
    1.do you have any better idea of how to recover
    2.if you any dirty and fast way of recovery File on HP box , appreciate that too
    3.can you image why import doesn't seems getting priveledge imported ? my DB version 9.2.0.4
    many thanks
    br/ricky

    thanks , aman ,lenord and you all
    looks like i'm the sinful :)
    to clear it up ... it's not me who did it , one of our guys , same thing ,hum ~~
    he deleted the backup , cause it's full and auto backup is not ongoing , and he's trying to make things right
    he deleted the datafile , cause i told him to rename the file to another space , coz vgdb is full , screw up that too ..
    yeah , it'a real production database ~~ , so ,if anybody learn somethings on this , credit on me , :)
    the version is 9.2.0.4 , but gonna move to 10g soonor or later , so put it there , to see if in 10g , we can do better ..
    tablespace created like five years ago , so , apply all archive since would be crazy ~
    this database have 500 Tablespaces , and thoudsands of tables , and the one lost is a important one ,
    but data in it , we can bear loss
    what i do , is offline drop the tablespace , and import the tablespace without data from other production DB ...
    only it didn't work out so well with object grant , and application still not inserting ...
    why i post it here , is i wanna learn better ways in this kind of situations ...
    i thought my way is not good enough
    anway , i'll look at all your suggestions
    thanks
    br/ricky
    Edited by: zs_hzh on Sep 15, 2008 10:12 PM

  • How to delete the data in a table using function

    hi all,
    i need to delete the data in a table using four parameters in a function,
    the parameters are passed through shell script.
    How to write the function
    Thanks

    >
    But the only thing is that such function cannot be used in SQL.
    >
    Perhaps you weren't including the use of autonomous transactions?
    CREATE OR REPLACE FUNCTION remove_emp (employee_id NUMBER) RETURN NUMBER AS
    PRAGMA AUTONOMOUS_TRANSACTION;
    tot_emps NUMBER;
    BEGIN
    SELECT COUNT(*) INTO TOT_EMPS FROM EMP3;
    DELETE FROM emp3
    WHERE empno = employee_id;
    COMMIT;
    tot_emps := tot_emps - 1;
    RETURN TOT_EMPS;
    END;
    SQL> SELECT REMOVE_EMP(7499) FROM DUAL;
    REMOVE_EMP(7499)
                  12
    SQL> SELECT REMOVE_EMP(7521) FROM DUAL;
    REMOVE_EMP(7521)
                  11
    SQL> SELECT REMOVE_EMP(7566) FROM DUAL;
    REMOVE_EMP(7566)
                  10
    SQL>

Maybe you are looking for