I CAN QUERY A TABLE EVEN AFTER THE DELETION OF THE DATA FILE

Hello

Can someone explain to me the reason why I am able to interview some tables even after the deletion of the data that are associated with file?

SQL > select table_name, tablespace_name from dba_tables where owner = 'SCOTT ';

TABLE_NAME, TABLESPACE_NAME

------------------------------ ------------------------------

TEST2 USERS

TEST USERS

SALGRADE USERS

USERS OF BONUS

USERS OF THE EMP

USERS OF DEPT

6 selected lines.

SQL > exit

Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

With partitioning, OLAP, Data Mining and Real Application Testing options

[oracle@localhost orcl] $ rm /app/oracle/oradata/orcl/users01.dbf

[oracle@localhost orcl] $ sqlplus scott/scott

SQL * more: Production version 11.2.0.1.0 on Mon Mar 30 21:35:54 2015

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With partitioning, OLAP, Data Mining and Real Application Testing options

SQL > select count (*) from test2;

Select count (*) from test2

*

ERROR on line 1:

ORA-01116: error opening the database file 4

ORA-01110: data file 4: ' / app/oracle/oradata/orcl/users01.dbf'

ORA-27041: could not open the file

Linux error: 2: no such file or directory

Additional information: 3

SQL > select count (*) of the test;

COUNT (*)

----------

5000

SQL >

The first output is as expected. But why am I still able to query the table of test, even if the data file has been deleted.

Hello

The process of database have a file handle for the data file - this remains even when the file is deleted (it disappears from the normal file system navigation)

You can see if you have lsof installed

just try

lsof | grep datafile_name

Once the database is restarted and the released file handle so you will not be able to do this any more - and in fact you will get errors when it can't find the file.

See you soon,.

Rich

Tags: Database

Similar Questions

  • Since this morning updated (01/11), my policy is so tiny that I can't read anything. This, even after the DOUBLING of the size of my font in tools. Unless this is addressed, I can't use Firefox more, because I don't SEE anything.

    Since this morning updated (01/11), my policy is so tiny that I can't read anything. This, even after the DOUBLING of the size of my font in tools. Unless this is addressed, I can't use Firefox more, because I don't SEE anything.

    I tried NoSquint (looked simpler) and that did the trick... I am now back to where I was before this upgrade. Thank you.

  • I can't get my calculations right away, even after the selection "commit selected value immediately" on my drop-down menus. Any ideas?

    I can't get my calculations right away, even after the selection "commit selected value immediately" on my drop-down menus. Any ideas?

    The field calculation order is probably not set correctly. The specific configuration procedure it depends on which version of Acrobat you are using. Acrobat 11, you would go first in forms editing mode (Tools > forms > change), and then select:

    Tasks > other tasks > set field calculation order

  • Problem of scanning even after the use of HP print & scan doctor

    Hello

    I have printer HP Deskjet 2050 J510 which gives me an error message "scanner communication cannot be established. I had visited the HP support portal & downloaded HP print & scan doctor. After you run this tool, it is said that it cannot solve the problem. It detects the first two steps of pilot (or can be) Manager & pilot agreed. But in the third stage it gets stuck to the top (win scanning can be, even after the restaring the computer). I use 32-bit windows.

    It seems that HP can't valer'evne fix bugs in its own products. It's pathetic.

    A real quick help will be appreciated...

    Hi alb7039,

    Follow the steps below to update the software to the latest version.

    First step: clear temp directory

    1. tap folder in the race or search programs and files of field

    2 Select all the files in this folder, and then press the delete key to remove. If you receive a message that the file is in use, you will need to ignore this file (s).

    3. proceed to step 2 below

    Second step: downloaded and extracted to your system:

    1 download the drivers and full software features

    http://h10025.www1.HP.com/ewfrf/WC/softwareDownloadIndex?softwareitem=MP-79309-1&CC=US&DLC=en&LC=en&os=4063&Product=3635399&sw_lang=

    2. once the download is complete, double-click the file to extract the software.

    3. when the installation window opens, press the Cancel button to stop the installation

    4. tap folder in the race or search programs and files of field

    5. Locate and open the folder starting with 7z (example: 7zS2356)

    6. right click on the folder and select copy

    7. close this window and all open windows, and then in the Middle the desktop right click your mouse and select Paste. This will move the 7z folder on your desktop.

    8 open the 7z, that you just copied on your desktop

    9 open the Util folder

    10 open the CCC folder

    11 start the uninstall_L4

    12. once the uninstall is complete, restart the computer

    13. run disk cleanup from the tools Accessories\ system under all programs folder

    14. download and install the latest version of Adobe flash player

    http://www.Adobe.com/support/flashplayer/downloads.html

    15 open the 7z folder and then double-click the Setup.exe file that will be towards the bottom of the open window. Follow the instructions on the screen to reinstall your printer.

    Let me know what you find?

  • I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    Hi jcyho,

    Thanks for posting. I have a little trouble understanding your question. If possible you can post back with more detailed information, we can help you with this problem.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Even after the status report of the auditor approval i - the load is "pending approval of accounts payable"

    Even after the status report of the auditor approval i - the load is "pending approval of accounts payable"

    (1) what to do now? I intend to update it

    UPDATE ap_expense_report_headers_all

    SET expense_status_code = "INVOICED."

    expense_current_approver_id = NULL,

    source = 'Self-service '.

    (2) why these things happen? What is recommended to treat if it happens?

    Thank you

    Rahul

    Hello Rahul,

    Expense report preparer can remove the expense report and re - submit, it may be the case of data corruption which is the reason why its status is not updated.

    Re submitting the ER to do magic

  • Unable to connect even after the user password reset

    Hai all,

    10.2.0.3 on Linux

    Reset a user password and the user is unable to connect as you can see below


    [oracle@testdb 10.2.0] $ sqlplus sys/Manager as sysdba

    SQL * more: release 10.2.0.3.0 - Production on Tue Nov 27 16:20:21 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.


    Connected to:
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options

    SQL > alter user sysman identified by oracle.

    Modified user.

    SQL > disconnected from Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options

    [oracle@testdb 10.2.0] $ sqlplus sysman/oracle

    SQL * more: release 10.2.0.3.0 - Production on Tue Nov 27 16:20:32 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.

    ERROR:
    ORA-01017: name of user and password invalid. connection refused



    Unable to connect even after the user password reset

    Check
    How to change the password of the database user Sysman (DB control repository schema) [ID 259379.1]
    EMCA 11 g fails with the error "ORA-01017: name of user and password invalid; connection refused"and" username/password invalid name; For DBSNMP or user SYSMAN"[ID 741530.1]

  • Shopping Cart active even after the application is cancelled

    Hello

    In R12, I cancelled a requisition and attempted to create a new shopping cart to add items.

    My basket is empty and I could add items. But when I check it, it throws an error "need to date should be a later date" even if the date is later.

    I understand that the shopping cart for the cancellation request is still active (shopping_cart_flag = 'Y') and so I won't be able to submit new applications.

    Please help me how I can remove all of your shopping cart (I can't delete lines in your basket that these lines have already been cancelled and the button Delete is disabled).

    Thank you

    Hello

    I have faced a similar problem in 11.5.9, check if it works for R12

    You can do this via a simple data solution.
    Set the Active_shopping_cart flag with a NULL value for that user.

    or

    Copy an existing request at some point, you get a cart new option.
    After clicking New basket your problem should be solved.
    Later, you can remove the trolley lines.

    Kind regards

    Published by: user12558002 on June 25, 2011 12:57 AM

  • Firefox continues to run even after the release in Manager Windows tasks and has about as much memory to affect other applications

    Firefox continues to run even after the release in Manager Windows tasks and has about as much memory to affect other applications. Firefox.exe must be completed manually in Windows Task Manager. Is there a software patch that will force the release of memory and all the resources of the computer that was using Firefox, when it is finished?

    This has happened

    A few times a week

    == I see only the program in the Manager of tasks over the past months but the problem could took place for more

    See this:
    https://support.Mozilla.com/en-us/KB/Firefox+hangs#Hang_at_exit

  • HP Director launch even after the installation of the updated software. HP Officejet 5510.

    Problem launching HPdirector even after the installation of the updated driver.  Also not scan; message machine wants software installed.  Did not have this right?

    Any ideas?

    [Personal information]

    Hello drudgedread

    Follow the steps below and let me know what happens? These instructions will be clean your temporary folder (a folder that contains temporary data such as data configuration / installation) and rub the printer software with the most recent uninstall.bat utility for your printer.

    First step: clear temp directory
    Type %temp% term or search programs and files of field
    Select all the files in this folder, and then press the delete key to remove. If you receive a message that the file is in use, you will need to ignore this file (s).
    Proceed to step 2 below
    Second step: downloaded and extracted to your system:
    1 download the drivers and full software features
    Complete features Officejet 5510 software
    2. once the download is complete, double-click the file to extract the software.
    3. when the installation window opens, press the Cancel button to stop the installation
    4. tap folder in the race or search programs and files of field
    5. Locate and open the folder starting with 7z (example: 7zS2356)
    6. right click on the folder and select copy
    7. close this window and all open windows, and then in the Middle the desktop right click your mouse and select Paste. This will move the 7z folder on your desktop.
    8 open the 7z, that you just copied on your desktop
    9 open the Util folder
    10 open the CCC folder
    11 start the uninstall_L4
    12. once the uninstall is complete, restart the computer
    13. run disk cleanup from the tools Accessories\ system under all programs folder
    14. download and install the latest version of Adobe flash player
    Adobe Flash Player
    15 open the 7z folder and then double-click the Setup.exe file that will be towards the bottom of the open window. Follow the instructions on the screen to reinstall your printer.

    Let me know if you are able to successfully install the software and driver and are able to print & scan? Also, if there are errors or messages just them down and let me know.

  • How can I access my emails after the death of my PC. I had a pc using Windows Vista and I served my Windows Mail e-mail program.

    Disaster of Windows Mail.  Where are my emails please?

    How can I access my emails after the death of my PC. I had a pc using Windows Vista and I served my Windows Mail e-mail program.  The computer has stopped working so I removed the hard drive, put it in a case and now use it as an external drive.  My new computer, I took possession of the Documents and Settings folder, and I'm looking for emails.  I followed the path, Documents and Settings / / AppData / Local / Microsoft / Windows Mail but there are 2 folders, backup & stationery as well as a few small files.  Where I could hide my email? Please, I beg you.

    There should be a directory called local folders under the message store and eml files organized into folders named after the directories under this directory are.  They may be hidden files, so make sure that you have enabled the display of hidden files and folders under control panel | Folder options | View.  You can also try to search *.eml, because messages are stored as eml files.  See www.oehelp.com/backup.aspx#wm for background.

    Steve

  • deployment of imagery-vs is on alert, even after the redeployment of imaging - vc.ear

    Hi all


    Having extended the domain to include the IPM and the University Complutense of MADRID, I found that the deployment of imagery-vs is in warning state. but I am facing the same problem even after the redeployment of the imagery-vc and I get under the same WebLogic console reason: -.

    ""MDB application Imaging -vc is NOT connected to e-mail System. ' "


    Help, please.


    Kind regards

    Vipul Verma

    Thanks Amey and Srinath for quick answers. Version of WCC is 11.1.1.8.0

    The problem is resolved after you set the IPM server as a target in the jms Viewer.

    Kind regards

    Vipul Verma

  • My laptop still give me a version track even after the connection

    I downloaded CC on 2 Mac 1 desktop and 1 laptop.  My laptop still give me a version track even after the connection

    If it please try to disconnect from the creative cloud and reconnect. Try to follow:

    1. https://helpx.Adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    2. https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html
  • JPEG and RAW is more displayed on my screen. even after the graphics card update

    JPEG and RAW is more displayed on my screen. even after the graphics card update

    Click on edit and click Preferences, and then choose the last option which is camera raw.

    on the camera raw preferences, in the lower window, uncheck the box use Gpu option and then restart Photoshop and try again

  • XAV-701HD questions, even after the update - changing Staion, no sound after the cycle of keys.

    I have a Sony XAV-701HD installed in my 09 Ram. I have had for a while now and still have problems even after the last update of the firmware. Since I installed the radio, the stations would change when I turn off the key and then restart the truck. Ususally a station off where I was listening. Then I noticed that when you listen to a CD, if I stop the truck, stop, and restart, I have sometimes no sound from the CD unit that change source to something else then back to CD. In addition, it seems to take an eternity for the CD start playing when I insert one, or when I start the truck every morning. Sometimes the CD start just up, other times not. Now, I've added SiurisXM to the unit, and I noticed that when I turn the key off the coast, and then back on, the device will not be playing Sirius Music until I have changing source, let the next launch of source for play, then switch back to sirius. I'm a professional installer, I know all my wiring is good, everything works. My Kenwood has worked perfectly in the same truck for 2 years before I changed to the Sony. Any ideas?


Maybe you are looking for

  • Average running game to fast!

    OK, I am trying to install an old game on my new pc. Beyond good & evil and installation everything worked fine, but when I run the game it works many times faster than it should, but the audio is running at the correct speed. Not that it is possible

  • Transfer Photos from an SD card

    I know 'how' to transfer photos from your computer to an SD card, but why aren't the pictures that have been transferred to the SD card displayed in the order that they were transferred? I've transferred the photos to the SD card in a specific order,

  • cursor doesn't work in my touch pad in my laptop

    the cursor moves but when clicking on does not

  • Cannot type symbol @ in email looks like a small square.

    When I try to send an email, I can't use the symbol @. What appears instead is a symbol that I don't recognize, but looks like a small square. How to get my computer back to showing @ when I type @? This only happens in Windows Mail. It doesn't happe

  • How can I move multiple photos to a new folder I created without doing it one at a time?

    How can I move multiple photos in a new file instead of a folder a time? I've been clicking and dragging each photo in the folder of don't. I have to be a faster, more simple way and I can not find this way Post proposed by the facilitator for the ap