How to recover database SYSTEM datafile get corrupt ?

Database is in ARCHIVELOG mode, and the datafile belonging to SYSTEM tablespace gets corrupted. Up to what point can I recover the database ?
A. Until last commit.
B. Until the time you perform recovery.
C. Until the time the datafile got corrupted.
D. You cannot recover the SYSTEM tablespace and you must be re-create the database.
and 1 more doubt :
If redologfiles are not multiplexed and redolog blocks get corrupt in group 2, and archiving stops. All redolog files are filled and database activity is halted.
DBWR has written everything to disk. What command can be used to proceed further ?
A. recover logfile block group 2;
B. alter database drop logfile group 2;
C. alter database clear logfile group 2;
D. alter database recover logfile group 2;
E. alter database clear unarchived lofile group 2;
Edited by: user642367 on Sep 18, 2008 8:45 PM

1. A. Since the DB is in archivelog mode, so you can always restore and recover the whole DB including system tablespace datafile till last SCN generated provided the redo record is available in archive/online logfiles.
2. E. Since only redolog is corrupted so archiver won't proceed and hence a db hang is obvious, So, in order to proceed further you need to clear online (un archived log file) and then db will work as usual. Care should be taken that you must take a full backkup of DB(cold backup wherever feasible) as soon as possible after issuing this command. As now you don't have redo info in archivelog files to recover the db in case of a crash.
Please go through Oracle 10g DB Administrators guide (available on OTN) for more details.
Thanks

Similar Messages

  • RMAN restore when system datafile get corrupt

    Hi,
    I am new to Backup and recovery, Can anybody suggest.
    If my system datafile gets corrupt, do I need to restore and recover complete database or just datafile restore will be suffice.
    In case the database is running on archive log mode.
    Waiting for reply.
    Thanks & Regards,
    Deepak

    Deepak Pushkarna wrote:
    Hi,
    I am new to Backup and recovery, Can anybody suggest.
    If my system datafile gets corrupt, do I need to restore and recover complete database or just datafile restore will be suffice.
    In case the database is running on archive log mode.
    Waiting for reply.
    Thanks & Regards,
    DeepakMount you database
    restore tablespace system
    recover tablespace system

  • System tablespace gets corrupted.

    Hi,
    My system tablespace gets corrupted. My Database is not running in archivelog mode and also i dont have any backup. Is there is any solution to recover corrupted blocks in system tablespace;

    had the same few weeks ago at one of our customers
    SYSTEM tablespace (SYSTEM01.DBF) got corrupted due to power outage/disk error
    no archiving, no backup (database for testing purposes, which they update periodically with data from the production database)
    tried recovery (as Rafi suggested above), but it didnt work, it said SYSTEM01.DBF needs further recovery, thus open resetlogs wont work
    and it was right, resetlogs didnt work :)
    so the options:
    1. recovery/restore - not possible
    2. Oracle has a private tool called Oracle Data Unloader that can get the data from the datafiles - just a test database, doesnt worth the work/time/money
    3. open the database with the allowresetlogs_corruption=TRUE hidden parameter, and try a full export
    database could be opened with resetlogs by using this parameter
    the reward for this action: several ORA-600s per second, instance crashed in 30-60 seconds
    at the end we dropped the database and duplicated the production one

  • How to recover 10.6 after getting mangled by CoreAudio

    hi- about two days ago i experienced a sever system crash- i was trying to install the CoreAudio drivers to use Virtual DJ and messed up most of OS X. i could boot properly but almost nothing worked, including iTunes, FInder, Chrome, Safari, and so on. i tried debugging for a while (deleting the drivers, reinstalling chrome, running disc utility, running onyx, so on) with no results so i reinstalled osx and that has brought be this far. at this point most of the system has recovered except for two (maybe three) things. one is that disc utility still shows inconsistencies in the permissions of many of my system files. it also fails to fix any of them. onyx does the same. also my internet protocols have been effected. chrome has become unusable to a cue- crashing pretty consistantly and demonstrating this unstability. safari doesnt even load my homepage without freezing, forcing me to force close it. skype is also very unstable, and firefox does not run either.
    if anyone knows how to recover 10.6 after getting mangled by CoreAudio, please help. tnx.

    Ignore the disk utility repair permissions.  Stuff is always reported.  Scan over this.
    The fact that your internet related apps aren't working implies that you should look at your network system preferences.  Are you using ethernet or wireless?  Are you using default DNS servers or something like the OpenDNS servers (208.67.222.222, 208.67.220.220)?  DHCP?  Is there a green dot next to the connection type you are using?

  • How does 0SOURSYSTEM Souce system Id get filled?

    Hi Gang,
    How does 0SOURSYSTEM Souce system Id get filled?
    I'm trying to recreate some transfer rules which were deleted.
    Is there an ABAP program or transfer program to populate this field?
    Or do I hard code a value?
    Thanks,
    John Hawk

    Hi,
    Yes you need to write code..
    INCLUDE rsbctbbp_transfer_r3.
    TABLES: srm_proj_contr.
    DATA:   l_s_errorlog TYPE rssm_s_errorlog_int,
              l_text TYPE string.
    Retrieve source system ID form the source system
    CALL FUNCTION 'RSDG_ID_GET_FROM_LOGSYS'
            EXPORTING
              I_SOURCE_SYSTEM = TRAN_STRUCTURE-ORGLOGSY
            IMPORTING
              E_SOURSYSID     = RESULT
            EXCEPTIONS
              ID_NOT_FOUND    = 1.
          IF SY-SUBRC <> 0.
            RETURNCODE = 4.
            message E087(R7) with TRAN_STRUCTURE-ORGLOGSY into l_text.
            move-corresponding syst to l_s_errorlog.
            l_s_errorlog-record = RECORD_NO.
            append l_s_errorlog to g_t_errorlog.
          ENDIF.
        ELSE.
          RESULT = SPACE.
        ENDIF.
      ENDIF.
    See
    Problem with mapping 0SOURSYSTEM and 0LOGSYS in BI7.
    Thanks
    Reddy

  • How to recover deleted systems in "All Systems" collection in SCCM 2012

    Hi Everyone,
     how to recover deleted systems in "All Systems" collection in SCCM 2012  and also I had one system which is by accidentally deleted, I know the system name, but I cannot able to add the system manually to Device Collections,  is
    there any solution for this...
    I had discovered many systems using discovery, I recovered some systems but not all the systems..
    Please suggest...
    saikumar CH

    just a follow up on Torstens reply. You will see the discovery records show up in the console without having the client installed. That will be corrected when clients perform a hardware inventory re-sync. It all happens automatically, no panic and don't
    reinstall the clients.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Oracle 9i System file get corrupted. How to remove the corruption.

    Hello,
    I am facing problem during backup of oracle database (Oracle 9i, 32 bit windows). Pls see the following error messages.
    Sep 16 10:48:41 mnmccbr.mci.sc: * mnmcfs.mci.sc:E:\SC\SC12.1\Databases\Oracleconfig\oraBackupNM45 ORA-19566:
    exceeded limit of 0 corrupt blocks for file E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA
    Output of dbverify.
    DBVERIFY: Release 9.2.0.6.0 - Production on Sat Oct 11 09:40:42 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    DBVERIFY - Verification starting : FILE = E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA
    Page 28093 is marked corrupt ***
    Corrupt block relative dba: 0x00406dbd (file 1, block 28093)
    Bad check value found during dbv:
    Data in bad block -
    type: 6 format: 2 rdba: 0x00406dbd
    last change scn: 0x0000.09abd22e seq: 0x2 flg: 0x06
    consistency value in tail: 0xd22e0602
    check value in block header: 0x8b91, computed block checksum: 0x800
    spare1: 0x0, spare2: 0x0, spare3: 0x0
    DBVERIFY - Verification complete
    Total Pages Examined : 31616
    Total Pages Processed (Data) : 21138
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 7246
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 1451
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 1780
    Total Pages Marked Corrupt : 1
    Total Pages Influx : 0
    Highest block SCN : 224578617 (0.224578617)
    The Backup is enabled in our machine but we are not able to take backup since we we get the error (6 Sept). I am not sure whether archive log are available since 6th Sept. Even oracle is working fine but backup is not possible.
    Pls note that this is customer testbed. Any idea to remove the corruption from the system file.
    Thanks
    With Regards
    Hemant Joshi

    Hello All,
    I tried the resize procedure but the corruption doesn't cleared.
    SQL> ALTER DATABASE DATAFILE 'E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA' RESIZE 246 M;
    Database altered.
    SQL> ALTER DATABASE DATAFILE 'E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA' RESIZE 245 M;
    Database altered.
    SQL> ALTER DATABASE DATAFILE 'E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA' RESIZE 244 M;
    ALTER DATABASE DATAFILE 'E:\SC\SC12.1\DATABASES\ORACLECONFIG\SYS1NM45.ORA' RESIZE 244 M
    ERROR at line 1: ORA-03297: file contains used data beyond requested RESIZE value
    SQL> ALTER DATABASE DATAFILE 'E:\SC\SC12.1\DATABAES\ORACLECONFIG\SYS1NM45.ORA' RESIZE 400 M;
    Database altered.
    Can you please let me know how to recover corrupted Block or how to recover the corrupted file only.
    Thanks
    With Regards
    Hemant Joshi.

  • System datafile block corruption - no backups and database in NOARCHIVELOG mode

    Dear All,
    Database version - oracle 11.1 Enterprise
    OS - RHELinux 5.8
    What are the options of recovering from physical block corruption when there are no backup available to perform block media recovery?
    V$DATABASE_BLOCK_CORRUPTION reports two segments corrupted (please see attached image for details).
    1 table in system datafile - sys_fba_barrierscn
    1 index - (applicaiton index)
    What are my options?
    I know there is a possibility that the database will not restart after a shutdown due to corruption in system tablespace.
    Database is in noarchivelog mode. So online backups are not possible and there aren't any full backups either.
    I am thinking of below,
    1. Run dbms_repair with fix_block_corruption. - Still database startup might fail?
    2. Shutdown the database and take offline full backup with RMAN MAXCorrupt option.
    Appreciate your suggestions and advises.
    Thanks
    Stefan

    Thanks Sybrand,
    Agree with your first two suggestions .
    Also scheduled a expdp job tonight. (Only backup like thing they had was a expdp cron, but until today all the large tables were failing due to small undo_retention).
    Yes. Flashback is not used. So hopefully it will not affect the a database restart i guess?
    Related to dbms_repair, I was referring to - http://askdba.org/weblog/2010/08/physical-corruption-ora-1578-part-3/.
    Where DBMS_REPAIR.FIX_CORRUPT_BLOCKS and DBMS_REPAIR.SKIP_CORRUPT_BLOCKS used.
    Which i think will not use any redo.
    Thanks
    Stefan

  • How to recover database without controlfile and redo files?

    Hi all,
    If I just have datafiles using hot backup saving in another machine, and all files in current database were lost including data files,control files and redo log files .
    How can I recover database just using hot backup datafiles? without control file, without redo files.
    Your help is greatly appreciated.

    alter database backup control file to trace
    SQL> alter database backup controlfile to trace;
    Go to udump folder in oracle home folder check the trace file copy these lines
    CREATE CONTROLFILE REUSE DATABASE "O10G1” NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 454
    LOGFILE
    GROUP 1 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO01.LOG' SIZE 10M,
    GROUP 2 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO02.LOG' SIZE 10M,
    GROUP 3 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO03.LOG' SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSTEM01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\UNDOTBS01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSAUX01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\USERS01.DBF'
    CHARACTER SET WE8MSWIN1252
    Change the new database name “abc
    ” and REUSE replaced by SET and NORESTLOGS replaced by RESTLOGS above lines.
    Save as C1.sql
    C:\ set oracle_sid=instance name
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr
    11 06:44:28 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect / as sysdba;
    Connected to an idle instance.
    SQL> startup nomount
    pfile='C:\oracle\product\10.1.0\admin\jeeno\pfile\jeenoinit.ora'
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145750508 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    SQL> @c1.sql
    Control file created.
    SQL> alter database open resetlogs;
    Database altered

  • How to recover database in this situation?

    My os is windows 2000 server, the oracle database version is 9.2.0.1
    And the database is in archivelog mode.
    first: I backup the controlfile to trace
    second: I added a new tablespace
    third: I shutdown immediate the database
    forth: I delete the controlfile and datafile of the new added database
    then: I tried to recover my database.
    But I meet troubles.
    I am a user from China. Appreciate your help!
    C:\>sqlplus
    SQL*Plus: Release 9.2.0.1.0 - Production on &#26143;&#26399;&#19968; 10&#26376; 24 21:05:24 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    &#35831;&#36755;&#20837;&#29992;&#25143;&#21517;: sys/nolog as sysdba
    &#36830;&#25509;&#21040;:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> archive log list
    &#25968;&#25454;&#24211;&#26085;&#24535;&#27169;&#24335; &#23384;&#26723;&#27169;&#24335;
    &#33258;&#21160;&#23384;&#26723; &#21551;&#29992;
    &#23384;&#26723;&#32456;&#28857; D:\oracle\ora92\RDBMS
    &#26368;&#26089;&#30340;&#27010;&#35201;&#26085;&#24535;&#24207;&#21015; 0
    &#19979;&#19968;&#20010;&#23384;&#26723;&#26085;&#24535;&#24207;&#21015; 1
    &#24403;&#21069;&#26085;&#24535;&#24207;&#21015; 1
    SQL> select group#, sequence#, archived, status from v$log;
    GROUP# SEQUENCE# ARC STATUS
    1 0 YES UNUSED
    2 0 YES UNUSED
    3 1 NO CURRENT
    SQL> create tablespace user_data datafile
    2 'd:\oracle\oradata\wwfdb\user_data01.dbf' size 50m;
    &#34920;&#31354;&#38388;&#24050;&#21019;&#24314;&#12290;
    SQL> create table t(a number) tablespace user_data;
    &#34920;&#24050;&#21019;&#24314;&#12290;
    SQL> insert into t values(10);
    &#24050;&#21019;&#24314; 1 &#34892;&#12290;
    SQL> commit;
    SQL> shutdown immediate
    &#25968;&#25454;&#24211;&#24050;&#32463;&#20851;&#38381;&#12290;
    &#24050;&#32463;&#21368;&#36733;&#25968;&#25454;&#24211;&#12290;
    ORACLE &#20363;&#31243;&#24050;&#32463;&#20851;&#38381;&#12290;
    SQL> host del d:\oracle\oradata\wwfdb\*.CTL
    SQL> host del d:\oracle\oradata\wwfdb\user_data01.dbf
    SQL> startup nomount
    ORACLE &#20363;&#31243;&#24050;&#32463;&#21551;&#21160;&#12290;
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> CREATE CONTROLFILE REUSE DATABASE "WWFDB" NORESETLOGS ARCHIVELOG
    2 MAXLOGFILES 50
    3 MAXLOGMEMBERS 5
    4 MAXDATAFILES 100
    5 MAXINSTANCES 1
    6 MAXLOGHISTORY 226
    7 LOGFILE
    8 GROUP 1 'D:\ORACLE\ORADATA\WWFDB\REDO01.LOG' SIZE 100M,
    9 GROUP 2 'D:\ORACLE\ORADATA\WWFDB\REDO02.LOG' SIZE 100M,
    10 GROUP 3 'D:\ORACLE\ORADATA\WWFDB\REDO03.LOG' SIZE 100M
    11 DATAFILE
    12 'D:\ORACLE\ORADATA\WWFDB\SYSTEM01.DBF',
    13 'D:\ORACLE\ORADATA\WWFDB\UNDOTBS01.DBF',
    14 'D:\ORACLE\ORADATA\WWFDB\CWMLITE01.DBF',
    15 'D:\ORACLE\ORADATA\WWFDB\DRSYS01.DBF',
    16 'D:\ORACLE\ORADATA\WWFDB\EXAMPLE01.DBF',
    17 'D:\ORACLE\ORADATA\WWFDB\INDX01.DBF',
    18 'D:\ORACLE\ORADATA\WWFDB\ODM01.DBF',
    19 'D:\ORACLE\ORADATA\WWFDB\TOOLS01.DBF',
    20 'D:\ORACLE\ORADATA\WWFDB\USERS01.DBF',
    21 'D:\ORACLE\ORADATA\WWFDB\XDB01.DBF'
    22 CHARACTER SET ZHS16GBK;
    &#25511;&#21046;&#25991;&#20214;&#24050;&#21019;&#24314;
    SQL> recover database until time '2005-10-24 21:10:33';
    &#23436;&#25104;&#20171;&#36136;&#24674;&#22797;&#12290;
    SQL> alter database open;
    alter database open
    ERROR &#20301;&#20110;&#31532; 1 &#34892;:
    ORA-01589: ??????????? RESETLOGS ? NORESETLOGS ??
    SQL> alter database open noresetlogs;
    &#25968;&#25454;&#24211;&#24050;&#26356;&#25913;&#12290;
    SQL> select * from t;
    select * from t
    ERROR &#20301;&#20110;&#31532; 1 &#34892;:
    ORA-00376: ???????? 11
    ORA-01111: ???? 11 ???? - ?????????
    ORA-01110: ???? 11: 'D:\ORACLE\ORA92\DATABASE\MISSING00011'
    the above sql statement:
    recover database until time '2005-10-24 21:10:33'&#65292;the reason I choosed the time '2005-10-24 21:10:33'
    is based the contents of alert.log file:
    Mon Oct 24 21:10:20 2005
    create tablespace user_data datafile
    'd:\oracle\oradata\wwfdb\user_data01.dbf' size 50m
    Mon Oct 24 21:10:32 2005
    Completed: create tablespace user_data datafile
    'd:\oracle\or

    Hi,
    why you create trace file ? and if you did that then you must have trace your ctl file after adding the tablespace for your db.so your ctl file will have registered the name of newly created tablespace.and if you do not have backup of ctl file which dosent contain the name of newly created tablespace then how would you recover your tablespace ? if you want to achieve your disered thoughts then add the tablespace and then backup of your full db then shutdown your db and delete your ctl file and data file.now open your db in nomount mode then restore your ctl file and datafile.
    thanks
    Alok

  • How to recover database without archive files

    Hello,
    I've a test database without archive files and I need to know how to recover it without using archive files.
    What is SQL command to recover database wthout archives?
    Thanks in advance for your help.
    Regards,
    Carles

    There are serveral information missing in this posting and as a support personnel, I would like to find out more when I see postings like this.
    1. This person wants to "Test" his backup and recovery in NOARCHIVELOG mode.
    2. He/She did not say his database had already crashed or had a problem.
    3. He/She did not give any indication the kind of scenario he wants to recover from.
    4. He/She did not mention the state of his database at the time of he posting.
    5. He/She did not mention the Release of his Oracle Server or Platform.
    6. He/She did not mention the type of backup he already has in place (although provided later as Full COLD Backup). How "genuine" is the back?
    7. What actions has already been taken to attempt recovery.
    In my support experience, I normally would go through a list of questions witht he use/client to get the full picture of the current status of the database before I give answers that would worsen situations, especially in a Disaster Recovery sitaution.
    Personaly, I would suggest you have a look at the list above. One of the most important is number 3 (The Recovery Scenario), then number 4, number 6 and 7. Number 7 will determine the situation of your database. So, when you ask for SQL commands to use, there are different commands for different kind of recovery depending on what has gone wrong or what kind of file is damaged (Datafiles, Logfiles, Control Files, one tablespace, one table, entire database gone, etc).

  • How to Recover database from old backup and full archive log file

    Hi Oracle expert!
    I met problem when restore my oracle database.
    In my case:
    - My database version: 10.2.0.2
    - I have a database full backup (01-Nov)
    - I have all Archived log file from (01-Nov -> 05-Nov)
    - My database drop in 05-Nov with disk error (no datafile, no redo..).
    - I have no any RMAN backup from (01-Nov -> 05-Nov)
    How can i restore my database to 05-Nov?
    Thanks

    user10280724 wrote:
    Hi Chinar.
    When i used RMAN flow as your step, but i met the problem!
    - After recover database i select sequence#, applied from v$archived_log;
    --> it apply newest archived log that i had.
    - but when I select Data from table created between 01-Nov to 05-Nov, it not found!
    Not the same way the step:
    SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL?
    It apply newest the same archived log i had table created between 01-Nov to 05-Nov.
    How can i do with RMAN to recover my table?That is not possible,if your all available archive logs applied using rman or through sqlplus(recover database using backup controlfile until cancel) and one of these logs contain your table then there are not any problems.So there are not any difference between recovery using rman and user managed(using sqlplus),but there main matter is applying all archive logs.So first check through rman list copy of archivelog all or list backup of archivelog all and identify there in rman repository is any information or not about these logs.

  • Recover database with datafile and logfile

    Hi Export,
    we have one maxdb database. For some reasons, we have no backup and lost the programs binaries. Is it possble to recover the database with datafile and logfile? and how?
    thanks a lot.
    Rongfeng

    Hello Rongfeng,
    1. Please see document u201CHowTo - Creating a clone of a SAP MaxDB databaseu201D at
    http://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBHowTo
    and review the section u201CCreating a clone manually via reusing volumes and parameters.u201D
    2. You wrote, that you u201Clost all dba passwords.u201D
    Please review the SAP note 25591. This note also has the brief description of the database user types.
    You are SAP customer, I recommend you to create the SAP message to the component u201CBC-DB-SDBu201D to clarify more details about the problem & find solution for you.
    Thank you and best regards, Natalia Khlopina

  • How to reduce oracle system datafile

    hi
    i m working on data base whose system datafile file is around 5GB in size
    n around 200 user in it.
    i have aleady tarnsfer all user and its segment to another table space.
    but when i pass this command: 'alter database datafile 'c:\oracle\oradata\system01.dbf' resize 4000m;
    then its display error message that;ora03297 .
    plz help me how i will reduce my system datafile size
    Thanx

    hi use this query to check the HWM of a tablespace associated datafile;
    col fname format a75 justify c heading 'FileName'
    col totsiz format 999,999,990 justify c heading 'Total|(KB)'
    col avasiz format 999,999,990 justify c heading 'Available|(KB)'
    col pctusd format 990 justify c heading 'Pct|Used'
    comp sum of totsiz avasiz on report
    break on report
    select
    total.file_name fname,
    total.bytes/1024 totsiz,
    nvl(sum(free.bytes)/1024,0) avasiz,
    (1-nvl(sum(free.bytes),0)/total.bytes)*100 pctusd
    from
    dba_data_files total,
    dba_free_space free
    where
    total.tablespace_name = 'TABLESPACE_NAME'
    and total.tablespace_name = free.tablespace_name(+)
    and total.file_id=free.file_id(+)
    group by
    total.tablespace_name,
    total.file_name,
    total.bytes;
    Kamalesh JK

  • How to recover previous system?

    Hi All,
    I need some help with Mac OS X. During a process to reinstall Mac OS I lost my previous system folder. Any help tips how to recover my lost data would be greatly appreciated.
    While I was reinstalling the OS X I picked option to archive the old system and I was able to see the folder named "previous system" but this folder disappeared after the software update. Now that folder looks like a developer folder with a hammer. I think that my data is still there and I just don't know how to recover it.
    In my past life I was a PC, Now a Mac & a little lost.
    Thank You
    Guava
    Message was edited by: Guava101
    Message was edited by: Guava101
    Message was edited by: Guava101

    Guava101 wrote:
    Yes, I installed Mac OS X Leopard Version 10.6. When I installed it from my DVD, it gave me an option to archive and continue,
    no, something is wrong here. snow leopard installer doesn't give you any such options. no kind of snow leopard install could possibly create a previous systems folder. and it would keep your data directly not in any such folder. I suspect installed leopard. go to apple menu->about this mac. what os x version does it say you have. also, it seems clear from your post that you don't back up. is this right?
    which I did and later on I found my previous system in a folder. After a few days I used software updates from apple website and my previous system folder got replaced by a developer folder with a pic of a hammer.
    All of my documents and pictures disappeared. Also, my iWork is gone. I am not reinstalling the iWork until I get some feedback from this forum.
    Thank you
    Message was edited by: Guava101

Maybe you are looking for

  • Class Cast exception in JSP

    Hi All, Softwares used : UI--> JSP/Flex Grid/Dojo framwork Spring MVC Back end : EJB 3.0 application Server : Jboss 4.2.2 i have one Ajax call witch will update my flex grid after getting the data from Backend. i am able to get responce object but i

  • Using file manager and phone browser without email...

    I have nokia 6021, PC suite version 6.5.12 and windows xp home SP2 and I connect the phone to PC via bluetooth. I just want to be able to view my phone "contacts" (just names and phone numbers) on my PC, edit my "contacts" on the PC and then load the

  • [Found workaround] Conky ignores "window_hint below" when autostarted.

    I recently installed conky and adapted its config to my liking. Conky is started automatically after logging in using a desktop entry in .config/autostart. The problem is that after logging in, conky is drawn above other windows although my .conkyrc

  • NetDynamics 4.1 Question???

    In the existing data object, I changed procedure name to new proc name through data object editor. Becaues of this, it deleted the result set and I re-entered all the result set of the new proc. When I execute it, it is resulting no rows even though

  • Tutorials of Weblogic Portal 10.3.2 ?

    Hi, I wanted to ask a favor, tell them: I have to learn from Weblogic Portal 10.3.2, using eclipse, I have already managed to raise the environment, and I made a small application, I have to learn how to use action, controller, struts, but I can not