Re: How long would data last in Rollback Segment?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Mon, 06 Dec 1999 07:09:22 -0500
Message-ID: <7q9n4s0ahnh1nvjpqdof8lq3e7rj9i51la_at_4ax.com>


A copy of this was sent to allasrosa_at_hotmail.com (if that email address didn't require changing) On Mon, 06 Dec 1999 09:57:35 GMT, you wrote:

>Hi,
>
>I'm quite a newbie to oracle.
>
>I know that the Rollback Segment keeps data that's ready
>to commit to the database. But what will happen if I
>just insert or update a row without committing it? Will the
>uncommitted row stay in the rollback segment forever? If not,
>for how long will it stay there?

it'll stay there until

  • you commit/rollback (end your transaction)
  • your session is killed and implicity rolled back
  • the database is shutdown and restarted (and your transaction is rolled back)

>
>Btw, can anyone suggest websites / books that talk about the
>how to work well with Oracle database stucture. And points
>to bare in mind when designing a database system?
>
>Many thanx!
>
>
>Rgds,
>Allas
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

-- 
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'...
Current article is "Part I of V, Autonomous Transactions" updated June 21'st
 
Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation
Received on Mon Dec 06 1999 - 13:09:22 CET

Original text of this message