Tablespace offline / online.

Hi all
Oracle 9.2 - aix 5.
I took example tablespace offline earlier using TOAD and then delete the sample data file. It's successful activity. but it is giving error as shown below in the alert log file when you restart the db.
__________
EXAMPLE OF ALTER TABLESPACE OFFLINE
Mon 2 Nov 15:04:31 2009
Errors in the /oracle/ora92/920/admin/guru/bdump/guru_dbw0_516208.trc file:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: ' / oracle/app/oracle/oradata/guru/example01.dbf'
ORA-27041: could not open the file
IBM AIX RISC System/6000 error: 13: permission denied
___________
________________________________________

SQL > select State from dba_tablespaces where nom_tablespace = 'EXAMPLE ';

STATUS
---------
ONLINE

SQL > ALTER TABLESPACE EXAMPLE offline;
EXAMPLE OF ALTER TABLESPACE OFFLINE
*
ERROR on line 1:
ORA-01191: file 4 is already offline - can not do a normal life in offline mode
ORA-01110: data file 4: ' / oracle/app/oracle/oradata/guru/example01.dbf'
________________________________________________

Although the tablespace is offline oracle tries to write to drop something. and every time it gives an error in the alert file. I do not understand how oracle watch double same tablespace status at the same time...?

Amit.

Hi amit,
You can follow the steps:

restore the file data that fell
recover the database
Drop tablespace

Tags: Database

Similar Questions

  • Diffrence between the tablespace is ONLINE and READ WRITE?

    Hi all

    I'm very confused on the tablespace is ONLINE and READ WRITE?

    Some say that if the tablespace is online, this means that its READ WRITE and when its offline then its READ-only.

    So, what is the difference between them:

    ALTER TABLESPACE offline tablespacename; -> done mean READ only now?

    ALTER TABLESPACE tablespacename online; -> is it means its READ WRITE now?

    If Yes, then what is the use of the following command if above 2 commands? :

    ALTER TABLESPACE tablespacename [READ ONLY |] READING WRITING];

    Kind regards

    Confused Ritu

    In addition, when the tablespace is offline, objects belonging to those who are not available for use to users. You wouldn't be able to query for objects in a tablespace offline.

    When the tablespace is read only - no write operation cannot be performed i.e. etc. INSERT/UPDATE/DEL. Oracle says that read-only tablespaces provides a way to protect the historical data so that users cannot modify it. You can drop objects, such as tables or indexes, to a tablespace read-only, but you can't create or modify objects in a tablespace read only

    In order to bring a tablespace OFFLINE to ONLINE - so that it is available to users, you must "ALTER TABLESPACE online tablespacename" command. A tablespace online can be READ ONLY or READ WRITE mode.

  • alter tablespace his online;

    Dear all,

    SQL > alter tablespace his online;

    alter tablespace his online

    *

    ERROR on line 1:

    ORA-01113: file 6 needs media recovery

    ORA-01110: data file 6: ' / u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat'

    Can someone tell me what is the problem here

    SQL > recover datafile ' / u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat';

    ORA-00279: change 1859444 September at 17/06/2013 02:57:17 necessary to screw 1

    ORA-00289: suggestion:

    /flash_recovery/flash_recovery_area/SA/ARCHIVELOG/2013_07_01/o1_mf_1_35_%U_.arc

    ORA-00280: change 1859444 thread 1 is in sequence #35

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00308: cannot open archived log

    ' /flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc

    '

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    ORA-00308: cannot open archived log

    ' / flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    Can someone help me on this please.

    Thank you

    Gallot

    Dear all,

    While moving oracle files from one place to another place, I missed the space of a single table data file. So, to create this data file, I did this tablespace as offline and tried to use RMAN to restore this data file 6. He recreated the new data file 6 but he could not recover this file because some log files are missing. Then everything just, I did just deleted the Tablespace SA and created a new one with same. Because there is not a lot of data in the database.

    And my problem is solved

    Thank you

    Hiroji gallot

  • alter tablespace offline...

    Hello

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/tspaces005.htm

    just a quick question,
    alter tablespace....offline temporary
    A tablespace can be taken offline temporarily, even if there are error conditions for one or more files in the storage space. When you specify TEMPORARY offline, the database supports offline data files that are not already in offline mode, the control points as she does.
    If no file is offline, but you use the temporary clause, media recovery is not required to bring to the online storage space. However, if one or more files from the storage space are offline due to clerical errors, and you are taking the tablespace offline temporarily, the tablespace requires recovery before you can bring it online.

    Based on the explanation above, done means that these datafile (with the error condition) code with the storage space you want to use offline will not in offline mode.
    Oracle will be only offline these 'good' datafile associate with storage space?

    My confusiong early when he mentions:
    if one or more files of the tablespace are offline because of write errors,
    which make me feel that even in the midst of erros, all storage data files will be always taken offline.

    The documents also mention:
    Specify TEMPORARY only when you cannot take the tablespace offline normally. In this case, only the files taken offline because of errors need to be recovered before the tablespace can be brought online. Specify IMMEDIATE only after trying both the normal and temporary settings.
    In this case, based on my current knowledge, I mention since all data files are taken offline in the middle of the condition of erros, we just need to recover those files that have the condition of error on them. ???

    Published by: flaskvacuum on March 1, 2012 11:45

    >
    Oracle will be only offline these 'good' datafile associate with storage space?
    >
    Well, Yes, but it's because the files of data with errors will already be ordering offline offline will not be offline them.
    >
    that means the code of these datafile (with the error condition) with the tablespace you want to use offline will not be in offline mode
    >
    No - the doc says that data files wilth errors have been offline. And after ordering TEMPORARY if you try to put the storage space online, it will fail because it will try to put offline the with online also return errors.

    That's why the doc has this cautionary
    >
    Caution:

    If you take a tablespace offline, use the NORMAL clause (default) if possible. This setting ensures that the tablespace requires not coming online restore, even if after incomplete recovery, you reset the sequence of redo logs using an ALTER DATABASE OPEN RESETLOGS.
    >
    You should check the status of all data files before you use CONNECTION TEMPORARY offline, or if a data file is already offlilne because of a clerical error, you will find that what you thought was temporary will avoid you to bring online storage space unless you do a recovery.

  • Why can they take default permanent tablespace offline?

    We cannot take the tablespace temporary default offline, as well as of the SYSTEM, UNDOTBS1.
    so, I wonder why we take offline the permanent tablespace default as USERS?
    What happens if there is only a single tablespace 'USERS' in my database?

    PhoenixBai wrote:
    >
    Why do you have to be obsessed to take tablespaces offline?
    >
    not me obsessed to this topic. OCP tends to make a fuss out of it, so I have no choice, but to play the game.

    back to the point, the original question is:

    Your Oracle 10g database has 6 tablespaces in which:
    -TEMP is the default temporary tablespace
    - UNDOTBS1 is the default undo tablespace
    - USERS is the default permanent tablespace
    In this database, which three tablespaces can  be made offline? (Choose three.)
    
    1. USERS
    2. TEMP
    3. UNDOTBS1
    4. SYSTEM
    5. SYSAUX
    6. PROD
    

    responses, are without a doubt, 1,5,6. and I have no problem seen the SYSTEM may not be in offline mode.
    but, do not understand why TEMP and UNDOTBS1 isn't in offline mode while USERS can?
    for me, TEMP & UNDOTBS1 are to serve the manipulation on the data that is contained in the USERS (or PROD) tablespaces in this case.
    Thus, when data are not available, what is the point to keep TEMP & UNDOTBS1?

    Another possibility is: we are allowed to disconnect USERS tablespace, because currently we have an another PROD tablespace to store data?

    want you or anyone can help explain a little.
    I just want one another reasonable explanation that oracle doc said.

    Phonexbai,

    Please see,

    SQL> l
      1  select * from database_properties
      2* where property_name like '%DEFAULT%'
    SQL> /
    
    PROPERTY_NAME                                      PROPERTY_VALUE                                     DESCRIPTION
    -------------------------------------------------- -------------------------------------------------- ----------------------------------------------
    DEFAULT_TEMP_TABLESPACE                            TEMP                                               Name of default temporary tablespace
    DEFAULT_PERMANENT_TABLESPACE                       USERS                                              Name of default permanent tablespace
    DEFAULT_EDITION                                    ORA$BASE                                           Name of the database default edition
    DEFAULT_TBS_TYPE                                   SMALLFILE                                          Default tablespace type
    
    SQL> select * from V$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> archive log list
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     71
    Current log sequence           73
    SQL> alter tablespace users offline ;
    
    Tablespace altered.
    
    SQL> alter tablespace users online;
    
    Tablespace altered.
    

    For the first thing, the declaration this tablespace users may be taken offline is indeed correct . Now the System and Sysaux are containing the data dictionary of the database and without whom, there is no point that this database can work. This is why its mandatory for them to be online and if off line by crushing or something, the recovery of them must also occur in the phase (Mount) offline.

    The Undo tablespace is required to service the mechanism of reading-consistansy of the database. If quoted to be mandatory (i.e. your AUM), it cannot be taken offline and being crushed, his recovery would be as necessary a restoration in offline mode. The Temp tablespace is a special tablespace (he was't it always in all previous versions) for the database and if it's a must for the datbase for read-only and do something that will exceed PGA. So it cannot be disconnected as well.

    Now, I'm sure you mean you know all this, what about users being able to get offline, right? Well, the answer is quite simple. Everything simply because you establish a default tablespace for the user be available as their default tablespace (further a quota to spread on it), it does not change any property of this tablespace. Its the tablespace, unlikely normal Temp, cancel and so on. He did justto do that people do not, by mistake, make objects in the System tablespace. A tablespace of default tablespace of the user database for the creation of objects, does not mean that all of a sudden, its now taking a special meaning. That is why its possible to redo this tablespace still transactions that apply to any other tablespace (by default) with the exception of the system those. I don't think to dig any deeper. There is no other explanation that it is possible for this behavior of the IMO.

    HTH
    Aman...

  • I can't get my printer to print 'offline' online

    I went into the print that and tried to uncheck PRINT offline and it won't allow me to uncheck. What can I do to disable this so that my print jobs print?

    Hi,

    Thanks for posting your question in the Microsoft Community.

    From the descriptions of the question, it seems that your printer will not online to print to offline mode.

    I imagine the inconvenience that you are experiencing. I'll help you fix the problem.

     

    To help you solve the problem, I would appreciate if you could answer the following questions:

     

    1. what operating system is installed on your computer?

    2. What is the brand and model of the printer?

    What version of the operating system Windows am I running? :

    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

     

    Follow the steps below to change a printer connection Online:

     

     

    To resolve this problem, you need to change your printer settings of the offline online.

    a. open the start menu and click on the "devices and printers". This will open a window with a list of the printers currently installed on your computer.

    b. double-click the icon of the printer that you want to change online. The status of the printer appears in the form "printer: Ready" or "printer: offline.".

    c. click on "printer: offline" and the menu of the printer. Click on "Printer" in the menu bar and uncheck "Use printer offline." This action will change the printer from offline to online mode.

    For reference:

    Why can I not print? : http://windows.microsoft.com/en-US/windows7/Why-cant-I-print

     

    I hope that the information above helps you.

    Your response is very important for us to ensure a proper resolution.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

  • Offline online MG6220

    How can I get my MG6220 offline online mode. It is connected to a PC/Windows 10. A few days ago, it was beautiful, but now it shows currently out & do not print. I'm sure it's something simple, but I can't understand it.

    Hello.

    Uninstall and reinstall the drivers should fix this problem. Please, perform the following steps:

    1. on the start menu, click settings, devices, printers, and Scanners.

    2. down the area printers and Scanners, disable let them Windows manage my default printer.

    3. right click on the Start button and choose Control Panel.

    4. open programs and features.

    5 uninstall drivers MG6220/MP and the Canon IJ Network Tool.

    6. close all open windows.

    Once this has been done, please visit the following link to download and install the MG6200 MP driver series.

    MG6200 series drivers & downloads

    It has not responded to your question or problem? Find more help contact us.

  • put a tablespace offline

    On oracle 10g. How to make an offline table space for NORMAL, TEMPORARY and IMMEDIATE. What is the syntax.

    Published by: laurette on June 18, 2009 02:13

    ALTER TABLESPACE offline NORMAL;

    ALTER TABLESPACE TEMPORARY offline;

    ALTER TABLESPACE offline IMMEDIATE.

  • 2 undo Tablespace two ONLINE, how to remove the previous cancellation of the SCT

    Hello team,

    Cancel management = auto

    After cloning: -.
    To reclaim space, I created a different undo tablespace, both are now online, but according to oracle as soon as you go to undo tablespace, undo previous TBS gets pending offline mode, offline mode, (so this transaction ends)

    But in my case, UNDO the two storage spaces are online

    Previous TBS1 Undo :-600 GB

    New cancel Tb2s :-100 GB

    Please suggest how to remove this TBS1 online cancellation

    NOM_TABLESPACE ONLINE_
    ------------------------------ -------
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS1 ONLINE
    APPS_UNDOTS2 ONLINE
    APPS_UNDOTS2 ONLINE

    NOM_TABLESPACE ONLINE_
    ------------------------------ -------
    APPS_UNDOTS2 ONLINE

    If I'm not mistaken not looking in the right place. In the EXPECTATION of OFFLINE status will be displayed for cancel individual segments DBA_ROLLBACK_SEGS according to.

    It will be useful.

  • change offline online jobs

    I get the message that I'm working in offline mode how can I change this online. I can't print from adobe reader, or Word.

    Click file, and then click work online

  • HP envy 5530 all-in-in-one: HP ENVY 5530 offline online?

    My availability/status of the printer is showing offline. When I try to print from my laptop, I get the message "printer offline". I have internet I have my router connected to wireless broadband.  My printer is associated with the router as all my other articles (tablets, laptops, smartphones) If this information is still relevant.   I tried my hp scan doctor who tells me that there is no problem and it shows that my printer is online! I tried so many different 'solutions' and I have no idea what to do.  Please someone tell me how to change my printer from offline to online mode.

    Hello

    Please check if the printer is connected to the router.

    Please enter the printer's IP address in the browser (Internet Explorer / Chrome / Firefox).

    If the info from the printer appears, the printer communicates with the computer.

    Otherwise, run the Setup Wizard from the front panel of the printer wireless.

  • OfficeJet Pro L7680 cannot NOT CHANGE of PRINTER offline online

    OS is 64-bit WIN8.1.  In devices and printers State appears offline.  To see which print drop-down list under printer shows that this printer use offline is not checked.  Printer is on a home network.  Print from another computer on the network.  Downloaded the latest version of the HP driver and still does not have goback online.  Looked in properties, preferences, etc. and could not find any way to go from offline to online.  How can I go from offline to online?

    Gemini02

    Two problems.

    I just kept on uninstalling and reinstalling the printer and it worked finally.

    Thanks for your help.

    jdmosk

  • I can't go offline online in windows live mail.

    Hello. When I went to check my email yesterday I suddenly found a message telling me that I was working in offline mode. The box asked me if I wanted to go online and I said yes, but is it does not record and so I am unable to download my mail. I had not previously checked button to work offline and have not met before.
    How can I fix it?

    Open Internet Explorer, and then press Alt + F to open the file menu. If work offline is selected, deselect it. If it is not selected, select it, wait a few moments and then deselect. Now check if Windows Live Mail is still offline.

    What version of Internet Explorer is installed? In Internet Explorer, press Alt - H has to do.

    You have Google Chrome installed?

  • I can't change to work offline online

    Hello.  I use windows live mail 2011 and when I want to change the tab to work online, he switches and then comes back just to work in offline mode.  Someone had this problem?  Does anyone have a solution?  Thanks Bob

    has worked for me. Thank you

  • Come una stampante offline online switch

    the mia stampante predefinita con cui all usually (era stato online) ora pulito offline. Ho controlled che risulti correctly collegata alla presa elettrica e al pc. My non riesco a riattivarla online.

    Hello

    Please select your language from the drop-down menu above to post your question in the language of your choice. The forum in which you've posted is for English only. If you can't find your language above, support for additional international sites options are by following the link below:

    http://support.Microsoft.com/common/international.aspx

    Hope this information is useful.

Maybe you are looking for