Rollback ( Tx Recovery) and Roll forward ( cache Recovey)

Hi Guys,
I have a some doubt after Going through the links :
Difference between redo logs and undo tablespace and Oracle DBA ADMIN Guide (E25494-02).
1) Redologs Contain committed and Uncommitted data . Wether they also contain before Image Data ? or its vector that points to the Undo Segments ?
Doc Says : Redo entries record data that you can use to reconstruct all changes made to the database, including the undo segments.
But Above forum Links says that it contains the vector only .
2) Crash of database ( Abort) , how it happens .
I know first it makes the roll forward and then backward. During this Time Undo Tablespace Comes into the picture ? Do the Undo tablespace segments are build from the redo logs. Please Help on this. really get confused
I try to test few scenarios but Not able to conclude ?
1> Make A TXN ( Updated almost 29000 rows )
2) Abort the Database.
3) Change the undo Tablespace Name in init file some dummy .
Database error with the following Error :
SMON: enabling cache recovery
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_5592.trc:
ORA-30012: undo tablespace 'UNDOTBS11' does not exist or of wrong type
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_5592.trc:
ORA-30012: undo tablespace 'UNDOTBS11' does not exist or of wrong type
Error 30012 happened during db open, shutting down database
USER (ospid: 5592): terminating the instance due to error 30012
Second Test :
1) Create a 2nd Undo Tablespace
2) Update the same number of rows .
3) Shut abort in another session.
4) Modify the Pfile with new undotabs2 ( No Spfile)
5) Startup database it started.
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
read 7971 KB redo, 1272 data blocks need recovery
Started redo application at
Thread 1: logseq 28, block 3
Recovery of Online Redo Log: Thread 1 Group 1 Seq 28 Reading mem 0
Mem# 0: D:\INSTALL\PRACLEDB\ORADATA\DBA\REDO01.LOG
Completed redo application of 6.72MB
Completed crash recovery at
Thread 1: logseq 28, block 15945, scn 1487147
1272 data blocks read, 1272 data blocks written, 7971 redo k-bytes read
Thread 1 advanced to log sequence 29 (thread open)
Thread 1 opened at log sequence 29
Current log# 2 seq# 29 mem# 0: D:\INSTALL\PRACLEDB\ORADATA\DBA\REDO02.LOG
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 5.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
Sun Oct 28 18:11:03 2012
SMON: enabling tx recovery
Database Characterset is WE8MSWIN1252
No Resource Manager plan active
SMON: Parallel transaction recovery tried
3) Third Test :
1) Update the same number of rows
2) Change the UNDOTBS to the New UndoTBS
3) rename the Old Datafile
4) db start to fail with error
ALTER DATABASE OPEN
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_dbw0_3960.trc:
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 10: 'D:\INSTALL\PRACLEDB\ORADATA\DBA\UNDOTBS2.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_4552.trc:
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 10: 'D:\INSTALL\PRACLEDB\ORADATA\DBA\UNDOTBS2.DBF'
ORA-1157 signalled during: ALTER DATABASE OPEN...
Sun Oct 28 18:20:04 2012
Checker run found 1 new persistent data failures
Please Help on understand this

Sourabh85 wrote:
Hi Hemant,
Thank you very much , really very helpful. One More Question :
Why Oracle do the Double work ? First Populate the Undo Blocks and then do the roll backward ? Why Not directly recovered from the redo logs for uncommitted txn.Its not the doubling of the work. Oracle updates teh Undo blocks with the old data and since the Undo blocks are also just like the Other data blocks, any changes done to them is also logged as a Change Vector to the redo log files. This means, that there would be an Undo data block change vector recorded in the redo log file before the change vector of the data block which contains the data of your statement. This is what is meant when it is said that the redo log also contains the old images . The idea is to do the recovery, when needed, in the same sequence(based on the SCN's) using everything from the redo log files. This would include the recovery of the Undo datafiles as well in the case they are lost too!
HTH
Aman....

Similar Messages

  • Reg Max DB roll forward

    We have SAP MAX DB database in our environment.
    We used the Database Dump file and the Backup log files to build the database and roll forward the logs.
    But when we try to do the same activity again using the same Database Dump file and Roll Forward using the same Backup Log Files, we cannot perform the same activity again. When we actually used the Database Dump again, it did not even provide a Option to Roll Forward the logs
    Please advice if it is possible to do roll forward

    Hello Balaji Rajendran,
    1. What is the MAXDB database version?
    2. Are you SAP customer?
    3. Please review the document u201CSetting Up and Updating Standby Instancesu201D
    at MAXDB library http://maxdb.sap.com/doc/7_6/default.htm -> Tutorials -> Tutorial Database Administration
    4. There is documentation available in section u201CBackup / Recoveryu201D at
    http://wiki.sdn.sap.com/wiki/display/MaxDB/SAP+MaxDB -> SAP MaxDB HowTo
    5. Please let us know the database version & what document or SAP note did you follow for the database administration and we could help you further.
    Thank you and best regards, Natalia Khlopina

  • ROLLBACK SEGMENT NEEDS RECOVERY AND HOW TO RESOLVE IT

    제품 : ORACLE SERVER
    작성날짜 : 1995-02-06
    Subject :
    This article discusses what it means when a rollback segment needs
    recovery and how to resolve it.
    OVERVIEW
    This bulletin discusses why a rollback segment is the status of
    "needs recovery", what the status means, and how to resolve it.
    INTRODUCTION
    Rollback segments can be monitored through the data dictionary view,
    dba_rollback_segments. There is a status column that describes what state
    the rollback segment is currently in. Normal states are either online or offline.
    Occasionally, the status of "needs recovery" will appear.
    This is considered to be a corrupted rollback segment.
    When a rollback segment is in this state, bringing the rollback segment
    offline or online either through the alter rollback segment command or
    removing it from the rollback segments parameter in the init.ora usually has no effect.
    UNDERSTANDING
    A rollback segment falls into this status of needs recovery whenever
    Oracle tries to roll back an uncommitted transaction in its transaction
    table and fails.
    Here are some examples of why a transaction may need to rollback:
    1-A user may do a dml transaction and decides to issue rollback
    2-A shutdown abort occurs and the database needs to do an instance recovery
    in which case, Oracle has to roll back all uncommitted transactions.
    When a rollback of a transaction occurs, undo must be applied to the
    data block the modified row/s are in. If for whatever reason, that data
    block is unavailable, the undo cannot be applied. The result is a
    'corrupted' rollback segment with the status of needs recovery.
    What could be some reasons a datablock is unaccessible for undo?
    1-If a tablespace or a datafile is offline or missing.
    2-If the object the datablock belongs to is corrupted.
    3-If the datablock that is corrupt is actually in the rollback segment
    itself rather than the object.
    HOW TO RESOLVE IT
    1-MAKE sure that all tablespaces are online and all datafiles are
    online. This can be checked through dba_data_files under the
    status column. For tablespaces, look in dba_tablespaces.
    If that still does not resolve the problem then
    2-PUT the following in the init.ora-
    event = "10015 trace name context forever, level 10"
    Setting this event will generate a trace file that will reveal the
    necessary information about the transaction Oracle is trying to roll
    back and mostimportantly, what object Oracle is trying to apply
    the undo to.
    3-TAKE the corrupted rollback segment out of the rollback_segments parameter in the init.ora
    4-SHUTDOWN the database (if normal does not work, immediate, if that does
    not work, abort) and bring it back up.
    Note: An ora-1545 may be encountered, or other errors, that is ok.
    5-CHECK in the directory that is specified by the user_dump_dest parameter
    (in the init.ora or show parameter command) for a trace file that was
    generated at startup time.
    6-IN the trace file, there should be a message similiar to-
    error recovery tx(#,#) object #.
    TX(#,#) refers to transaction information.
    The object # is the same as the object_id in sys.dba_objects.
    7-USE the following query to find out what object Oracle is trying to
    perform recovery on.
    select owner, object_name, object_type, status
    from dba_objects where object_id = <object #>;
    8-THIS object must be dropped so the undo can be released. An export or
    relying on a backup may be necessary to restore the object after the corrupted
    rollback segment goes away.
    9-AFTER dropping the object, put the rollback segment back in the init.ora
    parameter rollback_segments, removed the event, and shutdown and startup
    the database.
    In most cases, the above steps will resolve the problematic rollback segment.
    If this still does not resolve the problem, it may be likely that the corruption is
    in the actual rollback segment.
    At this point, if the problem has not been resolved, please contact
    customer support.

    Yes we were having the performance issues when it is getting locked? in this what i want to know
    why it happens suddenly?
    or what package this piece of code is calling?
    or is there any possiblity of system will degrade the performance like sys user etc...?
    where exactly i found the root cause for further analysis?
    so that next time onwards if particular objects is locking we come to know why it happens is there any logical false or how do we eliminate this issue last time?
    coz in our environment sometimes most of lockings are from the same table?
    pls let me know where i have to concentrate for debug and how to troubloshoot and reslove this
    sorry for the inconvience.. i m expecting the answer from here. if anybody wants some more info i ll let him know.
    as of till now i got some docs i start to read this.
    Regards
    M.Murali..
    Note: will system/sys degrade the performance ?if so how ?

  • G/L roll forward and Asset Roll forward

    HI
    Can some body explain me a G/L roll forward and Asset Roll forward I am new this topic is there roll forwards please explain me in detail in which situation we are using this roll forward.
    Thanks In advance,
    Regards,
    Lakshmi narayana

    Hi,
    Please refer to the following activities for 2007 Year End Closing. This document will consist of steps for Verification and Processing Activities for R/3 system activities.
    The areas of SAP which will be affected are:
    General Ledger
    Accounts Payable
    Asset
    CO
    Verification Steps:
    Assets:
    1.     Check all incomplete Assets in the system for 2007
    2.     Settle all AUC’s
    3.     Do all system adjustments for Assets
    4.     Make sure all Depreciation is posted
    FI:
    1.     Make sure all payment runs are complete
    2.     Open new period for new year
    3.     Do all GL/AP Adjustments
    4.     Post all Park documents
    Process Steps:
    Asset:
    1.     ABST2; Reconciliation Program. List of differences between FI-AA/GL
    2.     AFRW; Asset Fiscal Year
    3.     AJRW; Asset Fiscal Year Change. This closes the FY
    AP/AR:
    1.     F.07: Customer/Vendor Balance Carry forward
    GL:
    1.     FAGLGVTR or F.16: GL balance Carry Forward
    2.     OB52: Close all periods for 2007. Will only open period 1-1, 2008
    CO:
    1.     OKP1; Lock Actual & Plan
    2.     2KES
    Hope this helps,please assign points.
    Thanks,
    Rau

  • USD OVERRIDES Not Rolling Forward

    We are operating on HFM 9.3.1. When we utilize the USD Override account there is a currency variance which continues in the future months and it does not appear to be rolling over each month automatically. The account in our metadata is not set to Balance Reaccuring but Balance. Can this be changed without creating a problem? How can we insure the overrides only have to be input once.

    user11993454 wrote:
    Hi
    I'm about to use the process defined in note: Steps to perform for Rolling forward a standby database using RMAN incremental backup when primary and standby are in ASM filesystem [ID 836986.1]. I'm on 11.1.0.7.
    However, it does not mention the DataGuard broker.
    Has anyone performed this process when using the broker.
    Does the broker handle it properly?
    Does it matter if the broker is up or down during the physical standby recovery or control file replacement?
    Does the broker configuration need to be recreated?
    Thanks.1) disable the Broker
    2) perform Roll forard SCN.
    3) enable Broker

  • Roll forward standby database

    hi.
    i'd like to roll forward standby 9.2.0.8 database using backup of primary made with rman. there is Note:290817.1 on this topic. the only problem is that we don't use recovery catalog at our site.
    can i create standby controlfile on primary (it'll contain information about recent backups then) and somehow replace controlfile on standby with this newly created one? and then somehow recover standby with rman...
    what do you think? if this procedure can be performed, i could then do 'nologging' maintenance on primary which in turn greately reduce maintenance time and amount of archived logs generated.

    You could create the "standby" as a physical clone
    of the databaseyes. and i did it several times. whith assistant of rman, ofcourse. not a fast procedure i'd say. copying of 800GB took about 2-3 hours even over fc.
    and keep it in continuous "roll-forward" using your
    own scripts / procedures.
    That would be with normal controlfile backup (instead
    of a standby controlfile).that would be a mess. i'd like to use standard oracle features/procedures to achieve HA.
    However, if your primary runs nologging transactions
    you'd still have to
    take backups of the database files from the primary
    to the cloned "standby".though it is not applicable to my case i just curious: is that possible at all with rman? AFAIK, cloned database is an another incarnation of primary db. and
    backup taken on primary won't work with such clone.
    So, after every completion of the nologging jobs,
    backup and copy over the
    update database files.i know that. it is stated clearly in documentation. so immediately after nologging operations i plan to take incrementab backup and use that backup to roll forward standby.
    thats the plan :-)

  • Welcome to the SQL Server Disaster Recovery and Availability Forum

    (Edited 8/14/2009 to correct links - Paul)
    Hello everyone and welcome to the SQL Server Disaster Recovery and Availability forum. The goal of this Forum is to offer a gathering place for SQL Server users to discuss:
    Using backup and restore
    Using DBCC, including interpreting output from CHECKDB and related commands
    Diagnosing and recovering from hardware issues
    Planning/executing a disaster recovery and/or high-availability strategy, including choosing technologies to use
    The forum will have Microsoft experts in all these areas and so we should be able to answer any question. Hopefully everyone on the forum will contribute not only questions, but opinions and answers as well. I’m looking forward to seeing this becoming a vibrant forum.
    This post has information to help you understand what questions to post here, and where to post questions about other technologies as well as some tips to help you find answers to your questions more quickly and how to ask a good question. See you in the group!
    Paul Randal
    Lead Program Manager, SQL Storage Engine and SQL Express
    Be a good citizen of the Forum
    When an answer resolves your problem, please mark the thread as Answered. This makes it easier for others to find the solution to this problem when they search for it later. If you find a post particularly helpful, click the link indicating that it was helpful
    What to post in this forum
    It seems obvious, but this forum is for discussion and questions around disaster recovery and availability using SQL Server. When you want to discuss something that is specific to those areas, this is the place to be. There are several other forums related to specific technologies you may be interested in, so if your question falls into one of these areas where there is a better batch of experts to answer your question, we’ll just move your post to that Forum so those experts can answer. Any alerts you set up will move with the post, so you’ll still get notification. Here are a few of the other forums that you might find interesting:
    SQL Server Setup & Upgrade – This is where to ask all your setup and upgrade related questions. (http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/threads)
    Database Mirroring – This is the best place to ask Database Mirroring how-to questions. (http://social.msdn.microsoft.com/Forums/en-US/sqldatabasemirroring/threads)
    SQL Server Replication – If you’ve already decided to use Replication, check out this forum. (http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/threads)
    SQL Server Database Engine – Great forum for general information about engine issues such as performance, FTS, etc. (http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/threads)
    How to find your answer faster
    There is a wealth of information already available to help you answer your questions. Finding an answer via a few quick searches is much quicker than posting a question and waiting for an answer. Here are some great places to start your research:
    SQL Server 2005 Books Onlinne
    Search it online at http://msdn2.microsoft.com
    Download the full version of the BOL from here
    Microsoft Support Knowledge Base:
    Search it online at http://support.microsoft.com
    Search the SQL Storage Engine PM Team Blog:
    The blog is located at https://blogs.msdn.com/sqlserverstorageengine/default.aspx
    Search other SQL Forums and Web Sites:
    MSN Search: http://www.bing.com/
    Or use your favorite search engine
    How to ask a good question
    Make sure to give all the pertinent information that people will need to answer your question. Questions like “I got an IO error, any ideas?” or “What’s the best technology for me to use?” will likely go unanswered, or at best just result in a request for more information. Here are some ideas of what to include:
    For the “I got an IO error, any ideas?” scenario:
    The exact error message. (The SQL Errorlog and Windows Event Logs can be a rich source of information. See the section on error logs below.)
    What were you doing when you got the error message?
    When did this start happening?
    Any troubleshooting you’ve already done. (e.g. “I’ve already checked all the firmware and it’s up-to-date” or "I've run SQLIOStress and everything looks OK" or "I ran DBCC CHECKDB and the output is <blah>")
    Any unusual occurrences before the error occurred (e.g. someone tripped the power switch, a disk in a RAID5 array died)
    If relevant, the output from ‘DBCC CHECKDB (yourdbname) WITH ALL_ERRORMSGS, NO_INFOMSGS’
    The SQL Server version and service pack level
    For the “What’s the best technology for me to use?” scenario:
    What exactly are you trying to do? Enable local hardware redundancy? Geo-clustering? Instance-level failover? Minimize downtime during recovery from IO errors with a single-system?
    What are the SLAs (Service Level Agreements) you must meet? (e.g. an uptime percentage requirement, a minimum data-loss in the event of a disaster requirement, a maximum downtime in the event of a disaster requirement)
    What hardware restrictions do you have? (e.g. “I’m limited to a single system” or “I have several worldwide mirror sites but the size of the pipe between them is limited to X Mbps”)
    What kind of workload does you application have? (or is it a mixture of applications consolidated on a single server, each with different SLAs) How much transaction log volume is generated?
    What kind of regular maintenance does your workload demand that you perform (e.g. “the update pattern of my main table is such that fragmentation increases in the clustered index, slowing down the most common queries so there’s a need to perform some fragmentation removal regularly”)
    Finding the Logs
    You will often find more information about an error by looking in the Error and Event logs. There are two sets of logs that are interesting:
    SQL Error Log: default location: C:\Program Files\Microsoft SQL Server\MSSQL.#\MSSQL\LOG (Note: The # changes depending on the ID number for the installed Instance. This is 1 for the first installation of SQL Server, but if you have mulitple instances, you will need to determine the ID number you’re working with. See the BOL for more information about Instance ID numbers.)
    Windows Event Log: Go to the Event Viewer in the Administrative Tools section of the Start Menu. The System event log will show details of IO subsystem problems. The Application event log will show details of SQL Server problems.

    hi,I have a question on sql database high availability. I have tried using database mirroring, where I am using sql standard edition, in this database mirroring of synchronous mode is the only option available, and it is giving problem, like sql time out errors on my applicatons since i had put in the database mirroring, as asynchronous is only available on enterprise version, is there any suggestions on this. thanks ---vijay

  • Curious question about Lightroom previews and Camera Raw Cache

    Posted in the Flickr Lightroom Group as well:
    I have noticed something about the Lightroom (3.6) previews and Camera Raw cache that have me puzzled.
    I create a brand new empty catalog and purge the Camera Raw Cache.
    Then I import ONE Nikon RAW (NEF) file with dimensions 2592 x 3872 (10 megapixels - 10,036,224 pixels).
    Next I export that NEF file to an uncompressed 8-bit TIFF file. You would expect the size of that TIFF file to be roughly 30 megabytes (10 megapixels x 3 bytes per RGB value) and in fact the TIFF file is 30,135,830 bytes in size. If you export the same TIFF file but specify ZIP compression the resulting file size is 10,834,038 bytes. Obviously the compression obtained here is going to be highly specific to the image but so far no surprises.
    During import I specify render 1:1 previews and I go into Loupe mode and view the entire image at 1:1 size. I also visit the develop module and do a bunch of manipulations on the image but no cropping.
    At the conclusion of all of that I exit from Lightroom and examine the size of the Camera Raw Cache folder as well as the Lightroom previews folder. It would be my expectation that the previews folder  should have a rendered full image and that the Camera Raw Cache should also have a rendered form of the raw data. What would you expect the size of those respective folders to be?
    In fact - in my trials the previews folder totals a mere 1,675,264 bytes and the Camera Raw Cache which contains one DAT file corresponding to the one cached image is merely 267,374 bytes. This does not seem like nearly enough bits to preserve the rendered image nor is there a full size image tucked away in the actual catalog either - that file is not large enough to contain that. And yet I can use Loupe mode at 1:1 size and move from image to image with no loading delays (even when importing multiple files).
    I'm wondering if I've missed something obvious in my analysis and if not, whether someone might care to speculate as to what magic Adobe is practicing here. Even if we grant them some special algorithm to compress their previews I don't see how they can achieve a compression so much greater than the ZIP-compressed TIFF file achieves.
    And for those that might think to ask - I've repeated these experiments with multiple raw images and on both the PC and MAC platforms.
    I look forward to some answers or interesting theories or perhaps someone might replicate the experiment and report findings.

    MadMan and Hal - thanks so much.
    So that was my D'Oh moment of what I was missing - the use of re-rendered JPGS as previews. That certainly does fit with the file sizes I am seeing. I had naively assumed that the previews might have tried to preserve the full fidelity of the image - But as you suggest that full fidelity is likely only there in the develop module.
    This perhaps explains another observation from the Develop module - moving from one image to another might display "Loading" either briefly or across a longer duration. My guess is that the length of the loading process might have to do more with what is cached in RAM than cached on disk in the camera raw cache. More of a shame then that 64-bit Lightroom on 64-Bit Windows cannot grab more RAM than it seems to do at present.

  • Group Currency Roll-Forward

    Hello,
    I seem to be having an issue rolling by 2006 balances forward. I have been using transaction F.16 to carry them forward and FS10 to verify. Everything looks fine in the local currency view in FS10 but when I look at the group currency balance it has not rolled forward. Any ideas on why this may be happening would be greatly appreciated.
    Thanks.

    Wrong Forum

  • Group Currency Balance Roll-Forward

    Hello,
    I seem to be having an issue rolling by 2006 balances forward. I have been using transaction F.16 to carry them forward and FS10 to verify. Everything looks fine in the local currency view in FS10 but when I look at the group currency balance it has not rolled forward. Any ideas on why this may be happening would be greatly appreciated.
    Thanks.

    Hi
    See below the procedure from help
    Carry forward the parallel currency ledgers also
    Message no. GU633
    Diagnosis
    You want to carry forward the balances for the general ledger.
    You have other active ledgers, in addition to ledger 00, and they have to be carried forward as well.
    Procedure
    Using the input help, display the parallel currency ledgers and carry them forward also.
    thanks
    Ashok
    Award points if this is useful

  • OPM Inventory Roll Forward Report

    Hello All:
    My Plant controller is asking for an Inventory Roll Forward report in OPM 11.5.10
    At the high level, this is what he is asking for :
    For the quarters under examination, obtain and test or perform an overall "rollforward" of inventory units (i.e., beginning inventory plus production plus returns less sales and plus or minus inventory adjustments equals ending
    inventory).
    I am planning to build a custom report using information based in ic_tran_pnd and ic_tran_cmp tables.
    I wanted to know, Is there a "standard" Report in OPM that is available to give this information or anything close enough that I can use a starting point to build the above Report?
    Thanks in advance.
    Sandeep
    Edited by: user8611828 on Dec 29, 2010 6:44 PM

    Hi Sandeep,
    *"Daily Transaction Detail Report"* in OPM inventory responsibility can be the basis on which you can build on the "running stock balance report". Of course, inclusion of ic_perd_bal would make sense for the opening balance.
    Rather, you can even build "Projected Stock Balance report", in case you have procurement plans (PR/PO) –-- inflow and projected requirements --- outflow, is in place.
    Hope this helps.
    - Sanjeev

  • Retained Earnings Roll Forward (GAAP vs. STAT)

    Does anyone have any suggestions on how to set Closing Rules, so that you are able to run separate Retained Earnings roll forward, one for GAAP entries, and the other for Statutory Adjustments, with the Book Code field being your point to differentiate?
    I have set a chartfield rule in our Clossing rules to capture only Book Code entries for GAAP, but when running the RE Roll Forward in testing, both the GAAP and Stat entries are being captured in the Roll Forward.
    Appreciate if anyone has any suggestions on how you have approached completing separate Roll Forwards for GAAP vs. Stat.
    Thanks.

    We don't roll it into retained earnings.  In fact, you cannot roll a balance sheet account into retained earnings.  We just report that account in the same financial statement node as the retained earnings account is in.

  • Roll Forward Inventory Reporting

    Hi,
    We currently use Roll Forward reporting. However, due to an error a wrong yield was posted. This caused the Sales at average price to calculate inacurately. Hence the inventory dollars was also inaccurate. Since the Cost of Sales and Inventory dollars from the roll forward are tied to the Trial Balance accounts through IS OIL, my TB values were also wrong. How can I fix my inventory on the Roll Forward report to match the inventory on the Balance sheet?

    Sandesh,
    Thanks for your help. Will the MR21 change the volumes?. Currently the inventory volumes on the Roll Forward is correct, however, because of the error, the moving average cost of sales dollars is wrong. This caused the inventory dollars to be inaccurate on the Roll Forward and the Trial Balance. I can increase the dollars on the RF and TB using MB1C and 961 using 1 gallon and any dollar value. But our inventory dollars is overstated on both the RF and TB and I cannot input a -ve dollars using MB1C.
    Will the MR 21 allow me to manually decrease the inventory cost without affecting volume?

  • Differences between Commit work, Logical Unit of Work and Roll back work

    Hi all,
    Can any one explain me in details what is the difference between Commit Work, Logical Unit of Work and Roll back work. Pls explain by providing some example.
    and also explain me where and when these are used and what are the importance of using these.
    Thanks in advance.
    Regards
    Ramana Prasad.T

    Hi Ramana Prasad,
    A Logical Unit of Work (LUW or database transaction) is an inseparable sequence of database operations which must be executed either in its entirety or not at all. For the database system, it thus constitutes a unit.
    LUWs help to guarantee database integrity. When an LUW has been successfully concluded, the database is once again in a correct state. If, however, an error occurs within an LUW, all database changes made since the beginning of the LUW are canceled and the database is then in the same state as before the LUW started.
    An LUW begins
    o each time you start a transaction
    o when the database changes of the previous LUW have been confirmed (database
    commit) or
    o when the database changes of the previous LUW have been cancelled (database rollback)
    An LUW ends
    o when the database changes have been confirmed (database commit) or
    o when the database changes have been canceled (database rollback)
    COMMIT WORK.
    Executes a database commit and thus closes a logical processing unit or Logical Unit of Work ( LUW ) (see also Transaction processing ). This means that
    all database changes are made irrevocable and cannot be reversed with ROLLBACK WORK and
    all database locks are released.
    COMMIT WORK also
    calls the subroutines specified by PERFORM ... ON COMMIT * executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK ) specified in these subroutines or started just before,
    processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK ,
    cancels all existing locks (see SAP locking concept ) if no update requests exist,
    closes all open database cursors (see OPEN CURSOR ) and
    resets the time slice counter to 0.
    COMMIT WORK belongs to the Open SQL command set.
    Return code value
    The SY-SUBRC is set to 0.
    ROLLBACK WORK.
    Closes a logical processing unit by reversing all database changes made since the last COMMIT .
    You use this statement if you cannot be certain that all the database changes have been executed correctly.
    The update routines are not performed.
    ROLLBACK WORK belongs to the Open SQL command set.
    Note
    If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.
    <b>Plz. Avoid Duplicate Threads.</b>
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Roll Forward consistent-closed database copy, that hasn't been opened yet

    Hi Oracle DBAs,
    I was told that it is possible to do this;
    1. Shutdown the database
    2. copy accross to another server
    3. mount the database
    4. roll forward the database if there had been some archived redo logs generated after the original database had been started up.
    Please if you can provide the command(s) to do that...
    Thanks,
    Marc.

    Aman,
    thanks for the notes on using the RMAN Duplicate commands, ultimately, we will be going down that path to use RMAN, and the notes will be the first place I look at to start.
    Cheers,
    Marc.

Maybe you are looking for

  • Service Order status change thro' Action

    Hi all abaper After completing billing, thro the action I am changing service order user status as completed. i hv written my code in class method. After billing as action runs my code from method execute and changes the status properly and gets save

  • Create Full HD Backup to encrypted bootable external drive

    I have used SuperDuper to copy my internal HD to a bootable external drive configured with a 300 GB partition. Now I want to go one step further by creating that same backup but this time I want my external data to be encrypted for added security. I

  • V$sqlarea !!

    Hi, the following is my question : 1) I know that oracle can keep track each update to the database table like the update command. e.g. update tableA set block = 'Y' where user_id = 'XXX'; But is there any other table i can select the cached SQL othe

  • Quick Time Pro will not launch

    10/04/10: I downloaded Quick Time 7 and purchased a key for Pro. I can open video files with QT7Pro but I cannot launch Quick Time from either the short cut that was created or from the All Programs. The only thing that happens is that the Apple Quic

  • E-bay macbook white battery: when listed as "new" does that mean "new and "unopened"?

    I'm buying on e-bay a "new" macbook white battery. How safe a bet? Especially not knowing if new also means unopened!