Read before image

Hi.
Say , my transaction started at T1..
Someone did some modification after T1, now ITL entries of the block is open.
Then a commit issued and itl entries are cleaned.
During my transaction how does oracle understand if the row was modified after T1 and read the
before image from undo?
ITL entries are already cleaned, so it has to check something else..

Pascal Nouma wrote:
I got again confused aman...
I know how scn incremented in controlfile and datafile headers.Well, you need to read alot still. I don't think that you have grasped the concept of data files and control file scn yet.
However I still have some doubt, how it is stored inside block ?Where else it would be ? If you don't believe me, let's do a block dump and see,
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Oct 11 08:00:37 2009
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area  167772160 bytes
Fixed Size                  1247900 bytes
Variable Size              67110244 bytes
Database Buffers           96468992 bytes
Redo Buffers                2945024 bytes
Database mounted.
Database opened.
SQL> conn aman/aman
Connected.
SQL> create table test_scn( a number);
Table created.
SQL> select header_file, header_block from  dba_segments where segment_name='TEST_SCN';
HEADER_FILE HEADER_BLOCK
          4           43
SQL>
SQL> select header_file, header_block from  dba_segments where segment_name='TEST_SCN';
HEADER_FILE HEADER_BLOCK
          4           43
SQL> alter session set tracefile_identifier='testscn';
Session altered.
SQL> alter system dump datafile 4 block 43;
System altered.
SQL>
*** TRACE DUMP CONTINUED FROM FILE  ***
Dump file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_2360_testscn.trc
Sun Oct 11 08:02:38 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows XP Version V5.1 Service Pack 2
CPU                 : 1 - type 586
Process Affinity    : 0x00000000
Memory (Avail/Total): Ph:2048M/3315M, Ph+PgF:3836M/5200M, VA:1728M/2047M
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 19
Windows thread id: 2360, image: ORACLE.EXE (SHAD)
*** 2009-10-11 08:02:38.359
*** ACTION NAME:() 2009-10-11 08:02:38.359
*** MODULE NAME:(SQL*Plus) 2009-10-11 08:02:38.359
*** SERVICE NAME:(SYS$USERS) 2009-10-11 08:02:38.359
*** SESSION ID:(156.10) 2009-10-11 08:02:38.359
Start dump data blocks tsn: 4 file#: 4 minblk 43 maxblk 43
buffer tsn: 4 rdba: 0x0100002b (4/43)
*scn: 0x0000.00188d5a* seq: 0x03 flg: 0x00 tail: 0x8d5a2303
frmt: 0x02 chkval: 0x0000 type: 0x23=PAGETABLE SEGMENT HEADER
Hex dump of block: st=0, typ_found=1Its the segment header block which I have dumped and have shown you!
HTH
Aman....

Similar Messages

  • Error encountered while reading TIFF image, Image may be damaged of incompatible. Resave the image w

    I am currently running CS3, windows XP, service pack 2, with recent update, 5.03 installed today.
    I just opened a 500 page document not in sections where 90% of the document is a placed PDF.
    The PDFS were placed using a sample Script that came with Indesign, that instructs the PDF to automatically flow each page after another.
    When scrolling through quickly in the pages pallette, I get the follwing error:-
    "Error encountered while reading TIFF image, Image may be damaged of incompatible. Resave the image with different settings and try again."
    I click OK.
    Then I get the following error.....
    " Could not complete request because of database error. The File "ABC.indd" is damaged (Error Code: 3).
    Click OK....
    Then I get the following error....
    Adobe Indesign is shutting down. A serious error was detected. Please restart Indesign to recover work in any unsaved Indesign documents.
    Then I get the error.......
    Indesign.exe has encountered a problem and needs to close. We are sorry for any inconveneince.
    And I have two buttons to click....
    Debug or Close.....
    If I click Debug, it closes Indesign.
    Within this window there is also a window to gather further information....I click it and it tells me...
    "Indesign.exe....Error Signature AppName: indesign.exe AppVer: 5.0.3.662
    ModName: public.dll ModVer: 5.0.3.662 Offset: 0002e19a"
    To view technical inforamtion about the error report, clikc here....
    "Then it creates an error report and tells me where the report is located along with a scrollable window of 0xc0000005 and heap of zeros."
    The report conatains a whole heap of CHECKSUM ERRORS.
    CAN ANYONE PLEASE HELP??
    I had these errors before updating to 5.03 and the patch hasn't rectified anything!!

    Open the .inx file in CS3 (that's what you have, right?) and save as a new .indd.
    I'd also be tempted to open the tiff in Photoshop and do a save as to re-write it.
    Let us know if it helps.
    Storing files on the network leaves you more open tot he risk of file damage during transfer and save operations.
    Peter

  • How to track before image and after image of changes in retro changelog?

    Hi all,
    I've enabled plug-in retro change log and accessed with JNDI successfully. However, the changes column keeps after change only. Is it possible to track before image through retro changelog plug-in?
    Cheers.

    The retro-changelog contains the changes as received by the server.
    There is no way to dump the content (or part of it) of the entry before the change was applied.
    Regards,
    Ludovic.

  • Help with Before Image - Postive Values?

    Hi, I'm struggling with some values being incorrect in my ODS.  I have a current order with 1 order qty and 1 confirmed qty.  The order was created back in the beginning of the year and just recently got confirmed.
    In BW ODS it shows 1 order qty and 0 confirmed qty.  Which is incorrect.
    From everything I have read about ABR the Before Image Values in the change log should all be negative.  This is the sales item LIS extractor 2LIS_11_VAITM.
    When I look at the Before Image Record I see the order qty as negative 1(fine), but the confirmed qty is positive 1?  ( I would have thought the confirmed value should be zero in the before image).  How can the
    Before image record have a positive value?
    When I look at the After Image Records I see the order qty as pos 1 (fine) and confirmed qty is 0( I thought this should be 1).
    Can anyone help me out with this scenario?
    1. Why would the Before Image have a positive 1 for a confirmed qty?
    2. Why would the After Image have a 0 confirmed qty if the confirmation generated these records?
    Change Log Records
                       Order Qty     Confirmed Qty
    Before Image       -1                1
    After Image         1                0
    Thanks!

    Hi,
    Confirmed quantity can be negative in case of return I think.
    Before images are the opposite sign not necessarily negative values.
    So this does make sense.

  • Before image and after image is not updating correctly with 2LIS_04_P_ARBPL

    Hello BW gurus
    I am facing problem with the posting date extraction from the extractor 2lis_04_p_arbpl. I am getting incorrect before image and after image. Please let me know how to solve this problem.
    Thanks and regards
    kiran.

    Hi,
    It is difficult to check this in the Source System and there is no direct method. I can give you a workaround which we did analysed for some of delta datasources.
    Steps to be followed sequentiall once the step is successful:
    1. Create a Production order or something.. Note down the number.
    2. Check the datasource whether you get the same Production Order as delta
    3. Now do whatever confirmation etc . for the same Production Order
    4. Check the datasource (RSA3) and see wat it extracts.. might be multiple records..
          In that case just see the sequence of records.. and the changes each record has brought in.. hope this way we can simulate the delta datasource realtime..
    And if you find the sequence or somthin is correct and in BW is not updating properly then it is our fault to dig and find out further.. If the issues is at the RSA3 itself, then u can raise an OSS Message as a Bug.
    Hope it helps.
    Regards,
    Chathia.

  • Purpose of this Forum (Server General) *** Please Read Before Posting ***

    Welcome to Windows Server General Forum !
    This is an English TechNet forum, Please post your queries in English !
    Scope:
    The name "General" has a very broad significance and sometimes that might lead to some ambiguities.
    The scope of this forum is to answer General "Server Administration" related queries pertaining
    to Windows Server 2003, Windows Server 2008 / R2 and 2012  operating systems.
    Again, "Server Administration" has innumerous aspects and at times it becomes bit difficult to categorize
    them.
    We try to answer your questions in General or provide troubleshooting support in depth as and when necessary
    based on the context of the query.
    Questions could be related to AD, GP, Server OS related Queries/issues/errors, general troubleshooting etc…
    list is too huge and it's highly difficult to elaborate them here :-) 
    We understand that this scope and purpose can be a little confusing, we apologize for any confusion.
    If you might not know the scope or purpose of this forum, we'll redirect you to read this thread if we need
    to explain how this forum works.
    Out of Scope:
    Queries on following (but not limited to…) are Out of scope in this forum.
    Scripting
    SBS
    - Small Business Server
    IIS
    Coding/Development: 
    Windows Client Operating Systems
    Exchange
    Server
    Lync
    TFS
    SQL
    server
    Visual
    Studio
    .Net 
    SharePoint: 
    SCCM, SCOM
    Third Party Applications
    etc… 
    We might (but do not claim to) answer some of the out of scope questions directly here. If we do,
    then it's just a Bonus ! and it's not the purpose or in the scope of what this forum provides.
    Moving Threads:
    It may happen that, your question might have been moved to this forum in an attempt by another moderator from
    a different forum to help you find the correct forum or we might move your threads to an appropriate forum as and when necessary.
    If a community member gave you the URL/link of a specific Technet forum, then you may request a move to that
    specified forum (If a link to the forum category is specified; you'll still need to pick a specific forum from that category) or thread will be moved to the appropriate forum if a Moderator is around.
    NOTE:
    We cannot move a thread to another Microsoft forum that's not in the TechNet Forum System such as ASP.net,
    IIS.net and Answers.Microsoft.com etc… So we can only provide links to those forums.
    Marking Answers:
    We propose a reply (such as a link about where to go ask your question) to a recent question as an answer,
    and then we will usually wait one week (~7 days) before we mark it as the answer. We prefer you (the Asker/OP - Original Poster) to mark the answer, but we do not require it if you abandon the thread for a long time.
    If you (the Asker/OP - Original Poster) refuse to let us propose and mark an answer (without telling us why
    and helping us figure out the alternatives/workarounds), then we might need to lock a thread or move it to the Off Topic forum.
    Please Read Before Posting:
    How
    to ask a question efficiently in TechNet forum 
    We have dedicated Server
    Forums for different products/technologies, please consider posting your queries in appropriate forum for better help and support.
    If you can't figure out where exactly to post your questions, please seek help in "Where
    is the Forum For...?" forum and you will be given a URL/Link to an appropriate forum where you can post your questions.
    Official
    Microsoft Forum Sites
    Credits: 
    Ed
    Price - MSFT (Forum Owner) 
    This sticky has been created inspired by the Sticky on Where is the Forum for.. forum.
    Regards, Santosh 
    MVP - Directory Services
    I do not represent the organisation I work for, all the opinions expressed
    here are my own. 
    This posting is provided "AS IS" with no warranties or guarantees and confers no rights. 
    Blog | Wiki 
    If you have issues with your account verification or you can not post images, please get your account verified
    by posting request in below linked thread.
    Verify Your Account 7

    Something new (or not noticed by me before) then as this thread appears as normal discussion in
    My Thread view. 
    Regards, Dave Patrick ....
    New UI has this functionality i.e. if you reply on a sticky, it will appears as a 'Discussion' in thread view.
    Regards, Santosh
    I do not represent the organisation I work for, all the opinions expressed here, are my own and posted AS IS.

  • After Image and Before image in case of Generic extraction

    Hi Guru's,
    Please explain the concept of the After image and before image wrt to Generic extraction.

    hi,
       consider a record in data source suppose it is return to ods
    now
    materid matnme  quantiy
    1         tiles         20
    another recored with the same charcteridti arrive in bw
    i.e
    1         tiles          78.
    now rhe reault is
    1 tiles     78(it is new image) for new image
    1 tiles     20(before image)
    1 tiles   +58(additive image) for additive image.

  • LO Cookpit: what is "Before Image" and "After Image" related to Delta ?

    Someone mentions "Before Image" and "After Image" which is related to Delta method in source systems.  Someone know what they mean?
    Thanks

    Before Image and After Image are different Record modes present.
    Before Image :
    Lets assume the data present in the Cube and ODS is
    Doc No --Mat Type --- QTY
    120 -
    M01----
    10
    Now let assume that the data has changes and the quatity has to be changed from 10 to 8.This can be done in different way depending on if we are using a Cube or ODS.
    If its a Infocube . i.e it is additive so we can send the before image and the after image together
    Eg:
    Doc No -
    MAT type -
    QTY
    120--M01--
    -10
    120--M01--
    8
    If the Data Source sends both the before image and the after image, this combination can be loaded in any cube or ODS target. For ODS targets, if Overwrite setting is made, then only the after image(the last one) will make it to the Activation queue table of the ODS. If the ODS is set to Addition then both before and after image are needed to make a correct load to the target.

  • How to read an image in portal component (EAR application) - in CE 7.1

    Hi All,
    In earlier versions of portal before CE 7.1, we were using the below code for reading an image from the component folder.
    But in this CE 7.1 portal component ( we deploy as ear application) the reading an image from folder for the method was showing as deprecared. please let me know the right code to read an image from folder in portal component.
    componentRequest.getWebResourcePath()+  - > which is deprecated in CE 7.1, but was working fine in earlier versions of CE 7.1.
    Please let me know the right method to read an image in CE 7.1 portal component (ear application)
    Thanks,
    Portaluser100

    Hi,
    You still can use the same method (It works in Portal 7.3 system)
    <%
    String  path = componentRequest.getWebResourcePath();
    %>
    Alternatively , a new method, you can refer to your images directly with your project name
    For example, if your project name is "com.yourcompany.customapp" then you can use the following statement:
    img src="/com.yourcompany.customapp/images/....."
    Abdul.

  • How to Read the Image in SQL server

    I want to read the image from SQL server using labview.In our project languages used are JAVA and Labview
    Through java we acquiring the image and write in to SQL Server.
    Through Labview I want to read the image form SQL server and i will do some image processing for my application.
    My problem when I seen the database the images shown like hex decimal value.
    I want to convert the hexadecimal value to image or any other functions is there to directly read the image from SQL server.
    Can anybody help me....

    two options:
    1. save the image data itself (as a blob)
    2. save the image in a file system and save the file name in the DB

  • You cant open the application " read before install itunes" because it is not supported on this architecture

    what does this mean   you cant open the application " read before install itunes" because it is not supported on this architecture

    Where are you seeing this?
    Which computer?
    Which OS? iTunes comes preinstalled on all Macs.

  • How to read/write image from Microsoft Word

    Hello All,
    I have to replace an image from word(.doc) files.How to read/write images, can any body help me out.
    Thanks in Advance
    Harish Sohane

    harissohane wrote:
    Hi,
    Thanks a lot. if any body knows about it please let me know. waiting for reply.
    Thanks in AdvanceLooking at POI again, it doesn't let you write them, but it does let you read them.
    [A list of API's found in Google in 10 seconds.|http://schmidt.devlib.org/java/libraries-word.html]

  • Reading an image in byte form

    hii guys
    i m trying to read an image and convert it to byte array and later to do some change in that byte array and later recreate a new image.
    For that i m using FileInputStream and FileOutputStream and its read and write methods
    but now i dont know how to append that byte and recreate that image.
    actually i want to do that , convert the image in byte array form and replacing some bytes of the image by my text msg bytes and recreate a new image.
    how an i do that.
    plz help me.
    its urgent.

    import java.io.*;
    class image
    public static void main(String[] arg) throws IOException
    String msg;
    int len,i;
    FileInputStream fin;
    FileOutputStream fout;
    try
    try
    fin=new FileInputStream("01.jpg");
    catch( Exception e)
    System.out.println("Input image not found");
    return;
    try
    fout=new FileOutputStream("001.jpg");
    catch( Exception e)
    System.out.println("output image cannt be created");
    return;
    catch(Exception e)
    System.out.println("output image cannt be created");
    return;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Enter the secret msg :: ");
    msg=br.readLine();
    byte[] msg1=msg.getBytes();
    len=msg1.length;
    System.out.println(len);
    for(i=0;i<len;i++)
    System.out.println(msg1);
    try
    do
    byte by=(byte)fin.read();
    //System.out.print(" "+by);
    if(fin.available()>0)
    fout.write(by);
    }while(fin.available()>0);
    catch(Exception e)
    System.out.println("File error");
    fin.close();
    fout.close();
    till now i only imputed the sg , change it into byte form .
    now i want to replace the msg bytes into the image byte as :- 1 image byte ,1 msg byte, 1 image byte , 1 msg byte........ so on
    until the msg bytes are not finished.

  • Reading a image file and printing it by a Servlet

    In a IMAGE TAG of HTML file i am calling servlets what will write a image to the browser.
    <IMG SRC="http://localhost/WriteImage" width="50" height="100">
    The Servlet WriteImage has to read a image from a location(it could be gif,jpeg,png or another format of images ) and it has to write to the above image tag.
    Anyone can u help me out how i can do this...
    I tried out with javax.imageio package but couldn't get it.
    Thank Q
    Vijay

    Your WriteImage servlet needs to read the image file in from wherever it is (hard drive, database, whatever), then write it back out to the browser. To do that, first use the HTTPServletResponse object to send the appropriate headers, then call the getOutputStream() method to get an output stream to write the data to. This data will be sent to the browser which, if you've set the headers correctly, will display it as an image.
    It's been a long time since I did this (we abandoned storing images in databases quite a long time ago), so I can't be more specific than that, but hopefully that'll be enough to get you going. If you run into any problems, reply and I'll see if I can help further.

  • Reading MRSID Image format

    Does anyone know where can I find somthing to read MRSID image format.
    I find that exists a plug-in but it operates only using browser.
    The problem is that I have to load an MRSID image like I do with jpge,tif ...
    Thanks to all.
    Stefano

    Hello,
    The Decode SDK is available from lizardtech now:
    http://developer.lizardtech.com/
    the only problem is it is written in C++. I'm willing to pay someone $300 US to port it to Java or at least make a jni port. So I could use java commands like:
    MrSidFile mrsid = new MrSidFile("c:\test.sid");
    mrsid.setView(330, 223, 5003, 4890);
    mrsid.drawView(graphics2d, 0, 0, render.width, render.height);Thanks,
    Eric

Maybe you are looking for

  • Need help on subform of adobe

    hai everybody,                      I am using subform ui element for creating a table in interactive form.I am able to correctly get the data in rows that i have binded dynamically using datasource property. My problem is in my application i am havi

  • Problem with injection

    I have a simple test servlet, public class TestAjaxServlet extends MyAjaxServlet {       @EJB private SomeBean sb; Problem is,  SomeBean instance is not injected and I get the following error in server's trace file. System.err##System.err#Administrat

  • EWT- Follow up

    Hi, I have a query regardin follow up for Ext.Web based trainings ,i have copeid Del method 0003 to custom one with the back end follow up control option. When ever participant take the online courses we need to do the follow up in the back end , my

  • Wishlist item for future models: Please add the track point (red button) on keyboard

    Dear Lenovo, We purchased the S10 Ideapad for travel and it is wonderful for this.  I am enrolled in online courses so I have to always be tethered to a computer with internet access.  The Ideapad is fantastic for this use.  One feature that I miss f

  • HP Pavilion: IDT High Definition Audio CODEC

    Hi, I have an HP Pavilion with Windows 7 Home Premium 64-bit. The speakers part of the taskbar says that there's IDT High Definition Audio CODEC speakers built in, but when I try using them no sound comes. So I was just wondering if the IDT High Defi