Re: Fast roll-back



On Thu, 22 Jan 2009 21:52:54 +0100, astalavista wrote:

Hi,

Why, where a roll back occurred, it is faster to reboot the database
instead of waiting the end of the roll-back ?

First, I find the term "reboot" very objectionable. Second, I distinctly
remember discussing basics with you approximately 3 years ago. I see that
you still didn't find the time for some reading and that you are still
using other people's work. It's a commendable piece of enterpreneurship.
How do I get a cut? After all, it's my knowledge you will get paid for.

Now, let me reply to your question: If you "reboot" the database (I assume
you mean "shutdown abort" or "startup force") you will have to wait for
both roll forward and roll back. That tends to be longer then just
rollback, with a significant disadvantage of DB being unavailable for
normal use during the recovery process. Your users may find that situation
objectinable. My users are bad people who expect their production db to
be accessible all the time with the notable exception of scheduled
maintenance which, in turn, has to be approved by my boss.
The trick that sometimes helps is to kill the user process that is doing
rollback and let PMON do it. PMON usually does it faster then the user
process. There is a significant difference in speed on Oracle 9i and much
smaller difference on Oracle 10g. It seems that rollback is a bit optimized
on Oracle 10g. I haven't tried on 11g. Thanks for reminding me.


Thanks for your lights

No problem. When you encounter another problem or just want to impress
your boss, you can post a question and use other people's knowledge and
dilligence rather then investiong your own time and effort. Usenet
certainly beats working, hands down. Have a happy, happy 2009.

--
http://mgogala.freehostia.com
.



Relevant Pages

  • ORA-27101: shared memory realm does not exist
    ... I installed OracleExpress on a windows 2003 server. ... I was able to create and use a database. ... Now, after a third reboot, this trick doesn't ... ORA-01034: ORACLE not available ...
    (comp.databases.oracle.misc)
  • Re: question on Asp.net and Oracle
    ... I have already reboot the machine since i nstalled the oracle client. ... >> to access the database. ...
    (microsoft.public.dotnet.framework.adonet)
  • Cannot connec to http://localhost:5500/em on Windows XP Pro SP1
    ... knowledge about common issues in Oracle Databases. ... I've installed an Oracle 10g 10.1.0.2.0 Database into a Windows XP Pro ... installation has finished I've copied into the HDD the Oracle's ... The problem comes when I reboot twice the PC and I realize that I ...
    (comp.databases.oracle.server)
  • Re: Cannot connec to http://localhost:5500/em on Windows XP Pro SP1
    ... > knowledge about common issues in Oracle Databases. ... > installation has finished I've copied into the HDD the Oracle's ... > started database with schema examples. ... > The problem comes when I reboot twice the PC and I realize that I ...
    (comp.databases.oracle.server)
  • vfs_mountroot panic on tru64 v5.1A
    ... When I tried to reboot, bcheckrc hung, stating that there was a ... On contacting Compaq, they decided that the hardware database was the ... This is when the major problem kicked in - the machine hung, ...
    (comp.unix.tru64)