Lost committed Data

I have done the following test and the following was the out come of it.. could anybody read this and explain what went wrong here.. and how can this happen with Oracle 11g R2_
[root@amil ~]# xhost +
access control disabled, clients can connect from any host
[root@amil ~]# su - oracle
[oracle@amil ~]$ dbca
[oracle@amil ~]$ export ORACLE_SID=test
[oracle@amil ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue May 31 14:42:21 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 21
Next log sequence to archive 23
Current log sequence 23
SQL> sho parameter db_flashback_retention
NAME TYPE VALUE
db_flashback_retention_target integer 1440
SQL> alter database flashback on;
Database altered.
SQL> desc v$logfile;
Name Null? Type
GROUP# NUMBER
STATUS VARCHAR2(7)
TYPE VARCHAR2(7)
MEMBER VARCHAR2(513)
IS_RECOVERY_DEST_FILE VARCHAR2(3)
SQL> select group#,status,member from v$logfile;
GROUP# STATUS
MEMBER
1
/u01/app/oracle/oradata/test/redo01.log
2
/u01/app/oracle/oradata/test/redo02.log
3
/u01/app/oracle/oradata/test/redo03.log
Then after I have deleted all the control files and redo log groups with OS commands and came back to sqlplus and did as follow:_
SQL> select group#,status,member from v$logfile;
GROUP# STATUS
MEMBER
1
/u01/app/oracle/oradata/test/redo01.log
2
/u01/app/oracle/oradata/test/redo02.log
3
/u01/app/oracle/oradata/test/redo03.log
SQL> select status from v$instance;
STATUS
OPEN
Next STRANGE thing was:_
SQL> alter system switch logfile;
System altered.
Still no error message triggered from the database !!!_
SQL> select group#,status,member from v$logfile;
GROUP# STATUS
MEMBER
1
/u01/app/oracle/oradata/test/redo01.log
2
/u01/app/oracle/oradata/test/redo02.log
3
/u01/app/oracle/oradata/test/redo03.log
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
SQL> alter system checkpoint;
System altered.
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
SQL> alter system checkpoint;
System altered.
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
SQL> alter system switch logfile;
System altered.
Strange !!!!_
SQL> alter system switch logfile;
alter system switch logfile
ERROR at line 1:
ORA-01013: user requested cancel of current operation
Now only it has detected the error and it is also after 15 or 20 minutes_
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 1023004672 bytes
Fixed Size 2219752 bytes
Variable Size 281018648 bytes
Database Buffers 734003200 bytes
Redo Buffers 5763072 bytes
SQL> alter database mount;
Database altered.
Af ter that I recover the database with RMAN
SQL> conn / as sysdba
Connected.
And Again I have tested the scenario in a different way:_
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
Then again I delete all teh control files and all the redo log groups and did the following:_
SQL> alter system checkpoint;
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system checkpoint;
system altered.
SQL> create table c1 (ci number);
Table created.
SQL> insert into c1 values (1);
1 row created.
SQL> commit;
Commit complete.
SQL> select * from c1;
CI
1
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
test OPEN
SQL> update c1 set ci=5;
1 row updated.
SQL> commit;
Commit complete.
SQL> select * from c1;
CI
5
SQL> alter system checkpoint;
System altered.
SQL> alter system switch logfile;
System altered.
Still it is working without any errors !!!_
SQL> shutdown immediate;
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oracle/oradata/test/control01.ctl'
ORA-27041: unable to open file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
SQL>
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1023004672 bytes
Fixed Size 2219752 bytes
Variable Size 281018648 bytes
Database Buffers 734003200 bytes
Redo Buffers 5763072 bytes
SQL> alter database mount;
Database altered.
Then after I have performed a recovery..........!!_
SQL> select open_mode from v$database;
OPEN_MODE
READ WRITE
SQL> select * from c1;
select * from c1
ERROR at line 1:
ORA-00942: table or view does not exist
I lost committed Data !!!_
Edited by: Ora_Bunny on May 31, 2011 4:07 AM
Edited by: Ora_Bunny on May 31, 2011 4:21 AM
Edited by: Ora_Bunny on May 31, 2011 4:23 AM

And what did you expect when you delete all logfiles? Of course this will lead to the loss of committed data.
The phenomenon that the instance keeps on running for quite a while is because you are on *IX and only rm'd the files, so that the database still had a handle on them.
This was often reported from those B&R test cases. Better way to actually destroy the files is an
echo something > filenameKind regards
Uwe Hesse
http://uhesse.wordpress.com

Similar Messages

  • Message "iTunes could not sync contacts to iPhone because an error occurred while committing data"

    Hello all. I recently replaced the HD in my MacBook Pro. Just after, I retrieved my old files from the Time Machine backup, which I made just before the replacement. During the first sync of my iPhone via iTunes and while I was trying to sync my contacts I saw the message "iTunes could not sync contacts to iPhone because an error occurred while committing data". After that, I lost my iPhone contacts (I have them only from iCloud). The only problem is contacts, all the others (Calendars, Apps) are normally syncing. Does anybody has a solution? Thanks in advance!

    hello,
    There was a similiar posting that I have seen from others and they found out that the back up was bad. https://discussions.apple.com/message/6139533#6139533
    I would use a previous backup (earlier one) to the one you have tried to just do.

  • SAP Inter company PO Checking rule and commitment date

    Hello there,
    I am trying to understand the commitment Qty and commitment Date on the NB type PO between two different plants.
    I have a setup where my Plant1 buys from Plant2 and Plant1 takes 100 days to get it from Plant2.
    Plant2 will source it from Vendor1 and takes 200 days for the Vendor1 to supply to Plant2.
    Plant 2 does not have any stock today, the stock from Vendor 1 will arrive only on 6/10/2015, there is an Open PO for Vendor2 for GR will be done on 6/10/2015. So on 6/10/2015, there will be a stock of 2500 units.
    No other requirement exists in MD04 for this material in Plant 2.
    Plant1 is raising a PO for Vendor Plant2 on 3/27/2015 for 1000 units. The planned delivery date is 100 days on Plant1 Material Master. So the delivery day is shown on PO is 100 days from now which is 7/5/2015.
    Considering the fact that Plant2 is receiving 2500 on 6/10/2015, why wont SAP commit to the Qty. When I do the availability check, it does not consider the 2500 units coming in from PO and from CO09. The checking rule does not consider the Purchase Order Qty.
    Now, here is where I need clarification.
    The checking rule says not to consider Purchase Order in the in/out movement, So when I play around with this check I was able to commit the Qty on the PO. When I take out the check it will not commit the Qty and puts the commitment date based on the Plant 2 planned delivery time ( the time Plant 2 takes to buy it from the supplier).
    It makes sense so far, however when excluding Purchase order to be considered for my purchase order availability check and when I remove the 200 days from Plant2 material masters planned delivery date and then create a purchase order, my PO is committing the QTY, how is this explained? or am i having some bad setup somewhere.
    Same exact checking rule i.e excluding purchase order, everything else constant.
    Scenario 1: Qty committed on PO when Planned Delivery time on Plant2 is zero days
    Scenario 2: Qty not committed on PO when Planned Delivery time on Plant2 is 200 days
    Can someone assist me to understand this. thank you

    Anyone thoughts? thanks

  • Lost all data on computer, want to sync back from iPhone

    Hello, first of all thank you very much for helping me, and sorry for my bad english.
    I have a iphone3g which connects to windows Xp trough an itunes 9.0.2.
    My problem is:
    I had to format my hard disk so I've lost my itunes libray and all files wich were included it. By the way I've reinstalled the iTunes. I've found an older libray and sat it up iTunes to use that folder/libray.
    The only problem is that this libray has an 50% diference that my iPhone has. I mean the half of the files (music, movie,calendar etc.) are different. I noticed it when i connected my iPhone to the iTunes, because iTunes wanted to replace all my sings and applications on my iPhone as it is on the (old) libray. I've noticed it and disconnected my iPhone from the CP.
    I've tired to create a new fresh empty libray and copy all my media from my iPhone to the new libray. But it said the iPhone could be connected just one lbray. (Which seems to be my "old"libray.) I dosnet want to connect my iPhone to the old libray because it will cause the loss of the half of my songs. I neither cant find the libray which is the same as the one on my iPhone nor copy my songs to a new libray.
    My songs were not imported to the itunes libray folder but were on their own place. It means that I have not lost my data, just the configuration (playlist, rateing, playcount, wich files were selected to add to the itunes, !applications! , etc.)
    Oh yes, there is an other thing. My newly bought applications were synced to the lost libray, and they could not be found in the "old" one, just on my iPhone. But as i said, I can not connect my iPhone to a new libray.
    I hope I've described it well, and you can help me please.
    Waiting for your answer.

    This user tip is very helpful and the instructions are easy to understand. Read it and do what it instructs you to do and you should be good to go.
    Syncing to a New Computer or replacing a crashed hard drive
    https://discussions.apple.com/docs/DOC-3141

  • IOS 8.1 - after update how can I get my lost calendar data back?

    Hi, after the update to iOS 8.1 is my calendar empy. All my appointements are gone and there is no way to safe new appointments in it. I tried to use the backup  of the data, but it did not work. Any clou how can I get my lost calendar data back? And or get the calendar working again???
    Thanks!

    You sign into whatever iCloud or Mail account the calendar was synced to, and enable the Calendar option for those accounts.

  • I need to rebuld the "C" drive on my computer will need to reinstall adobe cs6 when I am done, but have moved recently and lost the data to get that done. Help!

    I need to rebuld the "C" drive on my computer will need to reinstall adobe cs6 when I am done, but have moved recently and lost the data to get that done! Help!

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT3529 I have lost all data on my iphone and the back-up is too old. How can I restore iMessage chats on my iPhone 4? I have all the chats on my Mac, but there seems to be no sync function from Mac to iphone. Please advice.

    Hi,
    I have lost all data on my iphone by mistake. I needed to restore the phone and I didnt realize my back-up was 1yr old, and now the phone is restored and I've got a year old contact list and iMessage chat history. Luckily my iMessage on the Mac is still valid and has all the chat history. My question is how can I restore iMessage chats on my iPhone 4 from my Mac? I have all the chat history on my Mac, but there seems to be no sync function from Mac to iphone. Please advice.

    If things seem to be going haywire with your phone, it seems that it MAY be a software issue.
    Now, that being said, that does not necessarily mean that it is a virus. Software issues do happen sometimes. It is probably just coincidence.
    What you need to do is restore the device using iTunes. This will fix any software issues. After you have done this, you can restore from an iCloud backup.
    iCloud does not back up the actual software, so no, the "virus" would not have gotten into the backups.
    The link below provides steps on restoring your device using iTunes as well as how to restore from an iCloud backup.
    http://support.apple.com/kb/ht1766
    Don't worry! Everything should be back to normal if you follow these steps.

  • My Macbookpro has turned into microsoft windows and lost all data, how do I recover it with my windows 7 still inside? I accidentally install directly, Help please...

    My Macbookpro has turned into microsoft windows and lost all data, how do I recover it with my windows 7 still inside? I accidentally install directly, Help please...

    ok turn it off manually and turn it back on while holding the apple logo bottor or the function botton this will give you  an option to choose if you want to startup with osx ow windows. let me know if this works
    <Email Edited By Host>

  • Can anyone help me in iphone mobile, i had lost my data in phone, because i restore my phone without backup, how can i get my old data, i lost my photos and videos... help me

    can anyone help me in iphone mobile, i had lost my data in phone, because i restore my phone without backup, how can i get my old data, i lost my photos and videos... help me

    Sorry Raj,
    If you did not back up your information, and you have now restored your phone, then your information is not recoverable.
    Sorry,
    GB

  • Commited Date - in process order

    Gurus,
    I am creating a process order using a BDC recording. While releasing the process order, Material shortage popup is coming and my BDC is failing in production environment.
    My issue is eventhough i have enough stock of my component SAP throws me this material shortage popup. On anlysis we found out commited date is calcualted as 31.12.9999 and there is no confirmed quantity in missing parts list.
    I had maintained Avaliablity check and checking groups in material master and factory calendar is also valid.
    Please help out with this issue and solution to this is highly appreciated.
    Thanks,
    Aravind

    Hi Aravind,
    Please check on the following things.
    1)  Lead times and processing times in Bom & material master whether maintained in R/3
    2)  Horizons in PP/DS tab in APO material master
    3)  Any false reservations for components based on other planned/process orders
    4)  All the stocks of components should not be in blocked storage location
    Regards
    R. Senthil Mareeswaran.

  • My X301 with solid state Hard disk lost all data

    Hello all people, excuse my poor english i try to explain my problem.
    1.- I have a Lenovo x301 (type 2776-TMU) with a 128 Gygabites solid state hard disk (Samsung MMCQE28G8MUP-0VAL1)
    2-The sympton is: Lost all data of the hard disk and apears 0 partitions and 0 bytes used.
    3.- I run all type of diagnostics and all  pass OK.
    4. I restore windows,aplications etc.  and all work fine, but in any random time, the hard disk lost all info and another time apear 0 Partition and 0 bytes used.
    5. I try to install, bios, firmware or any update of the lenovo web, and no resolve my problem.
    6.- In a last chance install via dvd a fresh instalation  with oem windows 7, and present the same sympton of point 4.
    7.- I change parameters on the bios setup of the SATA interface (ochi or compatible) with the identical result of the 4 point.
    How you understand, i have a big problem and desesperate, but i not sure if my hard disk is of the problem, or the mother board, any firmware, etc.
    Any have idea in how attack o determine exactly the origen of my problem?
    Thanks and regards all people.
    atn, Miguel Angel Borbolla Bonomi
    Moderator note; e-mail address removed to stop the spambots getting it

    Sounds like a faulty SSD. Return for warranty repair/replacement.
    T61p, T400
    formerly x23, x40

  • Commited Date in Delivery Schedule of a PO

    Hi All,
    I have created a PO for a country XX to a Country YY
    I have defined a Route from XX to YY with a transit time of 5 days and also factory calendar of XX as calendar.
    When i create a PO from XX to YY , in Delivery Schedule of the PO , i see the commited date of delivery considers Sunday and Saturday also.
    But the business does not want to conisder sundays and saturdays, How does the commited date determined in PO?
    The factory calendar of XX does not consider Sat and sunday but the Confirmed delivery date shows Sunday ?
    Please advice!!
    Thanks,
    Kumar

    Dear Kumar,
    As per my understanding about your thread
    You created PO from XX country to YY country
    You will recieve the delivery fromm YY to XX so the delivery date and comitted date will be based on the YY calendar not based on the XX calendar so you make the changes accordingly (Saturdat and sunday are holiday) in YY calendar.
    Now try
    I hope this will help you,
    Regards,
    Murali.

  • I upgraded i Tunes to 10.1 and I've lost the datas of albums and authors

    I upgraded i Tunes to 10.1 and I've lost the datas of albums and authors: with the previous version the datas of my CDs, that I put on an external drive like .wav files, i Tunes recognize authors and albums, with the new version I've got only one big "unknown album". How can I do to make it see those datas? Thanks!!!

    White-1 wrote:
    I upgraded my MacBook to Mountain Lion and can I have the old dock back somehow?
    The Dock was replaced in Mountain Lion and you can't get back the old one.
    White-1 wrote:
    What is Messages? It doesn't work like iChat. Can I use iChat somehow?
    Messages is the iChat replacement. Messages is iChat but with iMessage compatibility, so you can send messages to other iPhones, iPads, iPods touch or Macs, but keeping the iChat features. See > http://support.apple.com/kb/HT5395
    White-1 wrote:
    Also, what happened to screensavers? Can I have screensavers from older OS?
    Screensavers have changed in Mountain Lion too. You are not the only one that complains about them. OS X Mountain Lion keeps some of the old Lion screensavers, but others were replaced

  • When updating my iphone 4s to the new ios 6, it lost all data including photos, contacts etc. itunes now cannot find previous back up. Is there anyway i can get this lost data

    when updating my iphone 4s to the new ios 6, it lost all data including photos, contacts etc. itunes now cannot find previous back up. Is there anyway i can get this lost data

    rebeccakhwar17 wrote:
    Hi
    Can anyone help me please. I've recesally had to take my Iphone to be repaired before I. took my phone i backed up my data into Icloud and when i got my new phone I have lost all my contacts and photos.
    Restore the iPhone from your backup.
    See this -> http://support.apple.com/kb/ht1766
    Then make sure you sync everything to your computer so you do not lose it.

  • How does committed date in STO- different company codes gets calculated

    Dear All,
    Please let us know How does committed date (ATP date) in the STO across different company codes gets calculated
    Regards
    Ahmad Idais

    Hello,
    RA is always a Company Code specific process due to the possibility of financial postings.  I think that your WBS structure better be reconsidered not to mix up different Company codes at different levels, but maybe having a parallel nodes for different Company codes.
    I also believe there is a consulting OSS note to explain the standard system behavior, just search the OSS.
    Since you already have a master data in place it must be quite easy for you to test how the system behaves.
    Regards,

Maybe you are looking for

  • Object does not instances correctly

    Hi! I have this problem reading data objects: when I execute a query, the response object does not contains all the data in database, just the primary key... anybody knows why? Thanks in advance

  • Selecting a monitor to use during field production

    I'm wondering what is the best way to view my video from my camera as i am shooting. I ask this because i use a HVR-Z1U and when i shoot the LCD monitor is great for just setting up your shot, but for color repoduction and to see how clear my picture

  • Business planning

    Hai everybody hope ur doing well,                can anyone help me out with some valuable information with BPS.If possible please send some soft notes.Thanks in advance.

  • Can Apple/Itunes help me find backup files?

    Are backup files connected to my itunes account? or are they only saved on the computer/laptop that I synced and backed up my ipod with? And is it possible for Apple/Itunes to help me find or get my backup files? I am aware that I am not the only one

  • CR067506_61sp2-B.jar link broken?

    The link ftp://ftpna/pub/releases/610/patches/CR067506_61sp2-B.jar is broken. Where can I download this patch? Thanks Juerg