Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id E33E119613DF
 for <oracle-l@orafaq.com>; Fri,  7 Jul 2017 13:49:39 +0200 (CEST)
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTPS
 for <oracle-l@orafaq.com>; Fri,  7 Jul 2017 13:49:39 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 461AC96CB;
 Fri,  7 Jul 2017 07:49:38 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1499428178;
 bh=p/UXeDU1sEj8EbeVbaHfzBaK3lOJ4l8HWkW2+ABMG/0=;
 h=Subject:To:References:From:Date:In-Reply-To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=rj+Rc771Br8EdI+/RwsjG17WLANJNxd03MtaBNuL0ieP6D1uZ+MyYBIslwk5oc3hB
	 KUrvHvU1AXsWNVNIuNGUBxNsBj/V4cGSuGGe7rk7pzB3j5abvMkLF2ta1fbCf3FyzU
	 5qTZXF1qNFkcfW81W9pT5H+IGRtHC4HAIVm5L+mk=
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id lPzV_NJMgLSE; Fri,  7 Jul 2017 07:49:38 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B9D9796C4;
 Fri,  7 Jul 2017 07:49:18 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1499428170;
 bh=p/UXeDU1sEj8EbeVbaHfzBaK3lOJ4l8HWkW2+ABMG/0=;
 h=Subject:To:References:From:Date:In-Reply-To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=gzizawz/ezIClNrOyXbt8tsDAauNnq+YXySXORYBcqSfffmqPSifo7fG2TBMcp8pw
	 GXC+A1KUUvlpGMiTCtw8y0RUKfUZu3B2N6qblqLVhrBcYTfnVqgWpAXjllyRsG5He5
	 vBBUiuW7WlWiHEcFiweG1ZRKfe+PDdMvnzesAImA=
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 07 Jul 2017 07:47:57 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0C40B954C
 for <oracle-l@freelists.org>; Fri,  7 Jul 2017 07:47:57 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Etb33TCDsY_p for <oracle-l@freelists.org>;
 Fri,  7 Jul 2017 07:47:56 -0400 (EDT)
Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id CF5E99548
 for <oracle-l@freelists.org>; Fri,  7 Jul 2017 07:47:56 -0400 (EDT)
Received: by mail-qt0-f172.google.com with SMTP id b40so24674767qtb.2
        for <oracle-l@freelists.org>; Fri, 07 Jul 2017 04:47:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=d43gjVxIDbLQT7utB0OOXJpFiI+RuuhwgeskDS6ejJ0=;
        b=Sd0ctzagu7PHDwRY+N2AoshZmRuy+7TwudsQUlT7bWD7vU2ot0miBP4TE1QeTwuGxA
         tBqar2vIsh5Z8q9tdLRJnrAgiZzrM32Fy/gqCF/9ZF1yvOS/0hg1UsGjadRtUSRXP0h2
         s7ULoZmHygB948cJKV6fw2zly76ph+xXUtqzONSUhMzyzL0MUPKYvDVh6xgxmI8IR9XU
         IhDE32NRCg+HpwYeOM8WSzBieV5gL8zMwhF/k03ebxNDkxScpQ0a84AjYYNA7ya+fiUC
         FYs01mRULoLpRa9Y0HKCtnl07G56jcMv6Zct/QB+pBzDpFdd4pflDQt9RO0rZsYJfhNE
         U1lA==
X-Gm-Message-State: AKS2vOyrpidQhus+/AfNQgX3qv6Xvxw3ewtViaLqW6Ex9LkUeITYUlC2
 oKg8+AQ8dAEQI3H3
X-Received: by 10.237.43.100 with SMTP id p91mr64594453qtd.130.1499428075803;
        Fri, 07 Jul 2017 04:47:55 -0700 (PDT)
Received: from [10.0.2.15] ([12.176.160.17])
        by smtp.gmail.com with ESMTPSA id d85sm2152210qkc.18.2017.07.07.04.47.54
        for <oracle-l@freelists.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 07 Jul 2017 04:47:55 -0700 (PDT)
Subject: Re: Anyway to estimate how much space flashback logs space will be
 needed in 11.2.0.4?
To: oracle-l@freelists.org
References: <CAE-dsOJ4vU5LVVrOkvF4Nt6chCiBUUE7tfO3xnxZFqRv2M0jHw@mail.gmail.com>
From: Mladen Gogala <gogala.mladen@gmail.com>
Message-ID: <d04db282-e7d8-4874-857c-a53412d2047c@gmail.com>
Date: Fri, 7 Jul 2017 07:47:53 -0400
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101
 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <CAE-dsOJ4vU5LVVrOkvF4Nt6chCiBUUE7tfO3xnxZFqRv2M0jHw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-archive-position: 68724
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: gogala.mladen@gmail.com
Precedence: normal
Reply-To: gogala.mladen@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:mark.bobak@proquest.com>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l

On 07/06/2017 12:52 PM, Dba DBA wrote:
> If I make a guaranteed restore point for a specific point in time. If 
> the DB generates archivelog, is there a way to estimate how much space 
> will be needed? We have limited space and may need to backout a build 
> coming. The build includes a data migration. One option is to take a 
> backout and restore from backup. The other options is a guaranteed 
> restore point. The migration scripts are done by a whole other group. 
> I have no idea how much archivelog will be generated.
>
> Does more archivelog generate lead to more space needed for flashback 
> logs for a single guaranteed restore point? Will my FRA fill up if I 
> just have flashback database turned on? The archivelogs will get 
> deleted at regular intervals. If we can use flashback DB, its alot 
> easier and faster than restoring from backup.
>
Hi!

The simplest and the most accurate way of estimating this is figuring 
out the amount of daily change you will have in the database. Also, I 
really don't like the practice of keeping archive logs in the FRA. I 
prefer a separate directory and regularly scheduled archive log backups. 
What do you intend to do with flashback database? Do you intend to 
create any guaranteed restore points? Flashback writer writes all 
committed blocks to flashback logs, the "Core" book by Jonathan Lewis. 
You don't have control over the size of flashback logs. You can 
encounter flashback checkpoints and associated waits, which can be nasty 
if you have an application that uses a lot of NOCACHE CLOB fields. Your 
FRA should be large enough to hold all the changed data since the 
guaranteed restore point.

-- 
Mladen Gogala
Oracle DBA
http://mgogala.freehostia.com

--
http://www.freelists.org/webpage/oracle-l


