From oracle-l-bounce@freelists.org  Fri Jul 29 09:44:53 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j6TEirD2031543
 for <oracle-l@orafaq.com>; Fri, 29 Jul 2005 09:44:53 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j6TEiqIP031533
 for <oracle-l@orafaq.com>; Fri, 29 Jul 2005 09:44:52 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8C98B1D9DD9;
 Fri, 29 Jul 2005 09:44:45 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 19034-08; Fri, 29 Jul 2005 09:44:45 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1565E1D9E0D;
 Fri, 29 Jul 2005 09:44:45 -0500 (EST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=tHjTQ5obu6c9GEl4uuyL9c4SOnuYv7txquzyEgd93y6inmZjGFkeeijc0jCXZMymUWSp2xYKSEKrJfXGk0R3t4GKc0UDXMC3PuQ0y6LyHNQ3i8ZOqsblMfb5v5S7cEgCy5cO6+H8ksrGo6NKBJAV0vhAtUK3tWFXDzLGB40T7hM=
Message-ID: <10644b9e0507290742741ae56e@mail.gmail.com>
Date: Fri, 29 Jul 2005 09:42:55 -0500
From: jungwolf <spatenau@gmail.com>
To: davidsharples@gmail.com
Subject: Re: dataguard / applying archive logs
Cc: oracle-l <oracle-l@freelists.org>
In-Reply-To: <be592d5505072907247e819217@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Content-Disposition: inline
References: <be592d5505072907247e819217@mail.gmail.com>
X-archive-position: 23050
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: spatenau@gmail.com
Precedence: normal
Reply-To: spatenau@gmail.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-mailscan-MailScanner-Information: Please contact the ISP for more information
X-mailscan-MailScanner: Found to be clean
X-MailScanner-From: oracle-l-bounce@freelists.org
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham 
 version=2.63

On 7/29/05, David Sharples <davidsharples@gmail.com> wrote:
> When we put the standby into managed recovery can we say only apply up
> to sequence 1 for each thread?  It should be possible if someone was
> watching the logs being applied and cancelling managed recovery but
> that is dangerous and prone to failure.
> 
> Anyway this can be done automatically

David,

I haven't used it myself, but doesn't this command do what you want?
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE 
[ THROUGH ARCHIVELOG  [ THREAD n ] SEQUENCE n ] ]
(from chapter 13 of the dataguard manual)

Actually, the syntax diagram has only "through all archivelog [...]"
but the following command description has a line for "through
archivelog [...]" that looks to do exactly what you want.

HTH or points you in the right direction.

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

