Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 28366 invoked from network); 17 Sep 2007 21:20:03 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 17 Sep 2007 21:19:49 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 16F9775AD1C;
 Mon, 17 Sep 2007 22:18:58 -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 23516-01-817; Mon, 17 Sep 2007 22:18:57 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E1DB875AC5E;
 Mon, 17 Sep 2007 22:17:43 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 17 Sep 2007 21:32:41 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C4AB275A9FE
 for <oracle-l@freelists.org>; Mon, 17 Sep 2007 21:32:41 -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 04841-02 for <oracle-l@freelists.org>;
 Mon, 17 Sep 2007 21:32:41 -0400 (EDT)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5521E75A2CB
 for <oracle-l@freelists.org>; Mon, 17 Sep 2007 21:32:41 -0400 (EDT)
Received: by wa-out-1112.google.com with SMTP id k22so2384213waf
        for <oracle-l@freelists.org>; Mon, 17 Sep 2007 18:32:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        bh=/tVRX65BfnEXMfJhpl+L/HH7od39+lWpd9vCojJ+lsc=;
        b=EXKFJvxETZFySFKXP0ixky1ihWJ/+Ltn2IiHRHuNvUW/6Cl6XaaVnhffs2ikotR3984Mfz+pPQF21EIzSKTW1PM54UkgO1ds/uybuk25vRY4+JH2+0iI8YgMlJ/cZegbJ4RvpuDxoydWNPNQ4gAv3lH/9JIAtRt/1NY7Hj9VYgA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        b=Gj0LL1toCjNG/cLW70hUSr8PVDigQkE2wUG4cneBwnQZteD9xm4OvYnH8ALFzeptyaGLHYCLncaBBNQhSh5B19eer7FoEH9P5dBWGs6dig/BP8OZmHDFFR3vu6CbFqJCEEcGJrOzBrp77BEbWCcLZXsloJ8KCHnQNOPPz0gCKNc=
Received: by 10.115.92.2 with SMTP id u2mr3211560wal.1190079159004;
        Mon, 17 Sep 2007 18:32:39 -0700 (PDT)
Received: by 10.114.103.6 with HTTP; Mon, 17 Sep 2007 18:32:38 -0700 (PDT)
Message-ID: <bf46380709171832j5b91e689p48b8f51788f9369e@mail.gmail.com>
Date: Mon, 17 Sep 2007 18:32:38 -0700
From: "Jared Still" <jkstill@gmail.com>
To: Brandon.Allen@oneneck.com
Subject: Re: RMAN question(s)
Cc: robertgfreeman@yahoo.com, oracle-l@freelists.org
In-Reply-To: <04DDF147ED3A0D42B48A48A18D574C4508B6E773@NT15.oneneck.corp>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_13657_32758582.1190079158787"
References: <E323160E08E560459CD05A883546C3CE0A3D59B1@earthquake.ICAT.COM>
	 <KEEDIPJOJLCHPPAIDPDOIEDJEFAA.robertgfreeman@yahoo.com>
	 <04DDF147ED3A0D42B48A48A18D574C4508B6E72D@NT15.oneneck.corp>
	 <04DDF147ED3A0D42B48A48A18D574C4508B6E773@NT15.oneneck.corp>
X-archive-position: 1636
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: jkstill@gmail.com
Precedence: normal
Reply-to: jkstill@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:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------=_Part_13657_32758582.1190079158787
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/17/07, Allen, Brandon <Brandon.Allen@oneneck.com> wrote:
>
> In case anyone is interested - I did a test of the 10g "as compresssed"
> backupset on a 285GB databases and here are the results:
>
> ...
> So, I can't really make any conclusions on the backup time yet due to
> the large variance in backup times on this environment, but it's clear
> that the space savings was significant (280-36=244 & 244/280=87%
> reduction) and the runtime from this one sample was close to the bottom
> of the normal range so that's promising.
>

The data in v$backup_sync_io and v$backup_async_io may provide better
information after the fact.  I too find it difficult to get a system
suitable for testing.

The data in these views is not persistent, so you need to get it after the
backup
completes and save it.

I've pasted a script at the end of this post to get you started with it, if
you
would like to use it.


-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist


--------------------------------------------------

-- rman_io_stats.sql
-- aggregation of compatible stats
-- from the v$backup_async_io and v$backup_sync_io views
--

alter session set nls_date_format = 'mm/dd/yy hh24:mi:ss';

col device_type format a10 head 'DEVICE|TYPE'
col type format a15
col filename format a40 head 'FILENAME' TRUNC
col buffer_size format 99,999,999,999 head 'BUFFER SIZE'
col buffer_count format 9999 head 'BFFR|CNT'
col open_time format a18 head 'OPEN TIME'
col close_time format a18 head 'CLOSE TIME'
col elapsed_time format 999,999 head 'ELAPSED|SECONDS'
col set_stamp format 9999999999 head 'SET STAMP'
col set_count format 99999 head 'SET |COUNT'

col megabytes format 99,999,999.0 head 'MEGABYTES'
col total_megabytes format 99,999,999.0 head 'TOTAL|MEGABYTES'
col effective_bytes_per_second format 999,999,999 head 'EFF BYTES|PER
SECOND'
col io_count format 999,999,999 head 'IO COUNT'


set line 200

break on set_stamp skip 1 on set_count

--spool rio.txt

SELECT
        set_stamp
        , set_count
        , open_time
        --, close_time
        , device_type
        , type
        , filename
        , buffer_size
        , buffer_count
        , bytes / 10485760 megabytes
        , total_bytes / 10485760 total_megabytes
        , effective_bytes_per_second
        , io_count
        , elapsed_time/100 elapsed_time -- stored in centiseconds
FROM v$backup_async_io -- disk
union
SELECT
        set_stamp
        , set_count
        , open_time
        --, close_time
        , device_type
        , type
        , filename
        , buffer_size
        , buffer_count
        , bytes / 10485760 megabytes
        , total_bytes / 10485760 total_megabytes
        , effective_bytes_per_second
        , io_count
        , elapsed_time/100 elapsed_time -- stored in centiseconds
FROM v$backup_sync_io -- tape, probably. could be disk
ORDER BY 1,2,3
/

--spool off
--ed rio.txt

------=_Part_13657_32758582.1190079158787
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/17/07, <b class="gmail_sendername">Allen, Brandon</b> &lt;<a href="mailto:Brandon.Allen@oneneck.com">Brandon.Allen@oneneck.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In case anyone is interested - I did a test of the 10g &quot;as compresssed&quot;<br>backupset on a 285GB databases and here are the results:<br><br>...<br>So, I can&#39;t really make any conclusions on the backup time yet due to
<br>the large variance in backup times on this environment, but it&#39;s clear<br>that the space savings was significant (280-36=244 &amp; 244/280=87%<br>reduction) and the runtime from this one sample was close to the bottom
<br>of the normal range so that&#39;s promising.<br></blockquote></div><br>The data in v$backup_sync_io and v$backup_async_io may provide better<br>information after the fact.&nbsp; I too find it difficult to get a system suitable for testing.
<br><br>The data in these views is not persistent, so you need to get it after the backup<br>completes and save it.<br><br>I&#39;ve pasted a script at the end of this post to get you started with it, if you<br>would like to use it.
<br><br><br>-- <br>Jared Still<br>Certifiable Oracle DBA and Part Time Perl Evangelist<br><br><br>--------------------------------------------------<br><br>-- rman_io_stats.sql<br>-- aggregation of compatible stats<br>-- from the v$backup_async_io and v$backup_sync_io views
<br>--<br><br>alter session set nls_date_format = &#39;mm/dd/yy hh24:mi:ss&#39;;<br><br>col device_type format a10 head &#39;DEVICE|TYPE&#39;<br>col type format a15<br>col filename format a40 head &#39;FILENAME&#39; TRUNC
<br>col buffer_size format 99,999,999,999 head &#39;BUFFER SIZE&#39;<br>col buffer_count format 9999 head &#39;BFFR|CNT&#39;<br>col open_time format a18 head &#39;OPEN TIME&#39;<br>col close_time format a18 head &#39;CLOSE TIME&#39;
<br>col elapsed_time format 999,999 head &#39;ELAPSED|SECONDS&#39;<br>col set_stamp format 9999999999 head &#39;SET STAMP&#39;<br>col set_count format 99999 head &#39;SET |COUNT&#39;<br><br>col megabytes format 99,999,999.0
 head &#39;MEGABYTES&#39;<br>col total_megabytes format 99,999,999.0 head &#39;TOTAL|MEGABYTES&#39;<br>col effective_bytes_per_second format 999,999,999 head &#39;EFF BYTES|PER SECOND&#39;<br>col io_count format 999,999,999 head &#39;IO COUNT&#39;
<br><br><br>set line 200<br><br>break on set_stamp skip 1 on set_count<br><br>--spool rio.txt<br><br>SELECT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set_stamp<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , set_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , open_time<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --, close_time<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , device_type
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , type<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , filename<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , buffer_size<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , buffer_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , bytes / 10485760 megabytes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , total_bytes / 10485760 total_megabytes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , effective_bytes_per_second
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , io_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , elapsed_time/100 elapsed_time -- stored in centiseconds<br>FROM v$backup_async_io -- disk<br>union<br>SELECT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set_stamp<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , set_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , open_time<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --, close_time
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , device_type<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , type<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , filename<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , buffer_size<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , buffer_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , bytes / 10485760 megabytes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , total_bytes / 10485760 total_megabytes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , effective_bytes_per_second
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , io_count<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , elapsed_time/100 elapsed_time -- stored in centiseconds<br>FROM v$backup_sync_io -- tape, probably. could be disk<br>ORDER BY 1,2,3<br>/<br><br>--spool off<br>--ed rio.txt<br><br><br>

------=_Part_13657_32758582.1190079158787--
--
http://www.freelists.org/webpage/oracle-l


