Received: (qmail 19667 invoked from network); 7 Jul 2011 10:27:27 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 7 Jul 2011 10:27:10 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 24793E32C83;
 Thu,  7 Jul 2011 11:26:29 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
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 FDgE4WxUV2gy; Thu,  7 Jul 2011 11:26:28 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EF1DCE32C39;
 Thu,  7 Jul 2011 11:25:45 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 07 Jul 2011 11:25:04 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 34526E32C0D	for <oracle-l@freelists.org>; Thu,  7 Jul 2011 11:25:04 -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 REVoD7tCYdhh for <oracle-l@freelists.org>;	Thu,  7 Jul 2011 11:25:04 -0400 (EDT)
Received: from troll.tpk.net (troll.tpk.net [216.107.198.11])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E9906E31B0B	for <oracle-l@freelists.org>; Thu,  7 Jul 2011 11:25:03 -0400 (EDT)
Received: from mwf4500 (c-75-69-96-73.hsd1.nh.comcast.net [75.69.96.73])	by troll.tpk.net (8.14.2/8.12.11) with ESMTP id p67FP0TH006822;	Thu, 7 Jul 2011 11:25:01 -0400
From: "Mark W. Farnham" <mwf@rsiz.com>
To: <tanel@tanelpoder.com>, <yparesh@gmail.com>,        "'Oracle-L Freelists'" <oracle-l@freelists.org>
References: <CAPXEL0LrX8H2Mu0wL6H4J0AZ3tRA9EcGnhpQBofJqvyHeEOWWA@mail.gmail.com> <CAMHX9JK8E8mP5SNqxX9MGK=U0+y80Y27RcOi_LNOGNg0v3-CxA@mail.gmail.com>
In-Reply-To: <CAMHX9JK8E8mP5SNqxX9MGK=U0+y80Y27RcOi_LNOGNg0v3-CxA@mail.gmail.com>
Subject: RE: What is the purpose of segment level checkpoint before DROP/TRUNCATE of a table?
Date: Thu, 7 Jul 2011 11:25:09 -0400
Message-ID: <016b01cc3cba$0fb4ea00$2f1ebe00$@rsiz.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_016C_01CC3C98.88A34A00"
Content-Language: en-us
X-archive-position: 37284
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: mwf@rsiz.com
Precedence: normal
Reply-To: mwf@rsiz.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
------=_NextPart_000_016C_01CC3C98.88A34A00
Content-Type: text/plain; 
 charset="us-ascii"
Content-Transfer-Encoding: 7bit

I added my comments on Tanel's blog.

 

From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]
On Behalf Of Tanel Poder
Sent: Wednesday, July 06, 2011 4:59 AM
To: yparesh@gmail.com; Oracle-L Freelists
Subject: Re: What is the purpose of segment level checkpoint before
DROP/TRUNCATE of a table?

 

I started writing a reply here, but thought others would benefit from it as
well, so turned the answer into a blog entry:

 

http://blog.tanelpoder.com/2011/07/06/what-is-the-purpose-of-segment-level-c
heckpoint-before-droptruncate-of-a-table/

 

This is just my reasoning, there may be other, more fundmental reasons
behind it.

 

--

Tanel Poder

http://blog.tanelpoder.com

 

 

On Wed, Jul 6, 2011 at 4:30 AM, Paresh Yadav <yparesh@gmail.com> wrote:

Hi,


What is the purpose of segment level checkpoint before DROP/TRUNCATE of a
table? I have tried to find this since quite some time, Only thing I have
found is that it is required for recoverability, specifically point in time
recovery amongst many other things.  I have read about it on so many sites
(as far as I remember Jonathan Lewis, Tom Kyte etc.). I recently saw an
awesome article on check points by Harald Van Breederode titled  "What's the
Point of  Oracle Checkpoints?". How does it help in recoverability? I
thought about point-in-time recovery. All the information to recover dirty
buffers for committed transactions should be in the redo stream (redo log
and/or archived log) so why do a checkpoint at the object level before
truncat//drop? Is it to shorten MTTR etc.? An explanation will be very much
appreciated. Any pointers to other resources that I can read in this matter?

--
Thanks
Paresh
416-688-1003

 


------=_NextPart_000_016C_01CC3C98.88A34A00
Content-Type: text/html; 
 charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I added my comments on Tanel&#8217;s blog.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] =
<b>On Behalf Of </b>Tanel Poder<br><b>Sent:</b> Wednesday, July 06, 2011 =
4:59 AM<br><b>To:</b> yparesh@gmail.com; Oracle-L =
Freelists<br><b>Subject:</b> Re: What is the purpose of segment level =
checkpoint before DROP/TRUNCATE of a table?<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><div><p =
class=3DMsoNormal>I started writing a reply here, but thought others =
would benefit from it as well, so turned the answer into a blog =
entry:<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><a =
href=3D"http://blog.tanelpoder.com/2011/07/06/what-is-the-purpose-of-segm=
ent-level-checkpoint-before-droptruncate-of-a-table/">http://blog.tanelpo=
der.com/2011/07/06/what-is-the-purpose-of-segment-level-checkpoint-before=
-droptruncate-of-a-table/</a><o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>This is just my reasoning, there may be other, more =
fundmental reasons behind it.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>--<o:p></o:p></p></div><div><p class=3DMsoNormal>Tanel =
Poder<o:p></o:p></p></div><div><p class=3DMsoNormal><a =
href=3D"http://blog.tanelpoder.com">http://blog.tanelpoder.com</a><o:p></=
o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>On Wed, =
Jul 6, 2011 at 4:30 AM, Paresh Yadav &lt;<a =
href=3D"mailto:yparesh@gmail.com">yparesh@gmail.com</a>&gt; =
wrote:<o:p></o:p></p><p class=3DMsoNormal>Hi,<o:p></o:p></p><div><p =
class=3DMsoNormal><br>What is the purpose of segment level checkpoint =
before DROP/TRUNCATE of a table?&nbsp;I have tried to find this since =
quite some time, Only thing I have found is that it is required for =
recoverability, specifically point in time =
recovery&nbsp;amongst&nbsp;many other things. &nbsp;I have read about it =
on so many sites (as far as I remember Jonathan Lewis, Tom Kyte etc.). I =
recently&nbsp;saw an awesome article on check points by Harald Van =
Breederode titled&nbsp;&nbsp;&quot;What's the Point of &nbsp;Oracle =
Checkpoints?&quot;. How does it help in recoverability?&nbsp;I thought =
about point-in-time recovery. All the information to recover dirty =
buffers for&nbsp;committed transactions&nbsp;should be in the redo =
stream (redo log and/or archived log) so why do a checkpoint at the =
object level before truncat//drop? Is it to shorten MTTR etc.?&nbsp;An =
explanation will be very much appreciated.&nbsp;Any pointers to other =
resources that I can read in this matter?<br><span =
style=3D'color:#888888'><br>--<br>Thanks<br>Paresh<br>416-688-1003</span>=
<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></body></h=
tml>
------=_NextPart_000_016C_01CC3C98.88A34A00--

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


