From oracle-l-bounce@freelists.org  Fri Sep  9 12:47:13 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 j89HlD5F016884
 for <oracle-l@orafaq.com>; Fri, 9 Sep 2005 12:47:13 -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 j89Hl1IP016851
 for <oracle-l@orafaq.com>; Fri, 9 Sep 2005 12:47:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 899231E9676;
 Fri,  9 Sep 2005 12:46:53 -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 11663-02; Fri, 9 Sep 2005 12:46:53 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id F23B91E961F;
 Fri,  9 Sep 2005 12:46:52 -0500 (EST)
X-IronPort-AV: i="3.96,183,1122868800"; 
   d="scan'208,217"; a="224329033:sNHT30365140"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B565.7C2516DE"
Subject: RE: DBA_SEGMENTS invalid? or slow?
Date: Fri, 9 Sep 2005 13:39:52 -0400
Message-ID: <52C70FF150F49E479DAF59C68A27149D01B5C91F@va016a0e2.corp.suntrust.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: DBA_SEGMENTS invalid? or slow?
Thread-Index: AcW0eziZV6THQLKyTh6HGy+h8yQ7egA5i4kwAAC2miA=
From: "Kline.Michael" <Michael.Kline@SunTrust.com>
To: <mark.powell@eds.com>, <oracle-l@freelists.org>
X-OriginalArrivalTime: 09 Sep 2005 17:44:33.0069 (UTC) FILETIME=[23229DD0:01C5B566]
X-archive-position: 25236
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: Michael.Kline@SunTrust.com
Precedence: normal
Reply-To: Michael.Kline@SunTrust.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.9 required=5.0 tests=AWL,BAYES_00,HTML_50_60,
 HTML_FONTCOLOR_UNKNOWN,HTML_MESSAGE autolearn=no version=2.63
------_=_NextPart_001_01C5B565.7C2516DE
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I knew that, but the problem here is that it says the current bytes is
2,212,495,360. The table has an initial extent of 10M. I may have missed
one extent as the only difference is the last digit. It seems this has
happened to me before since the upgrade to 9.2.0.6.

=20

What I would expect is bytes to be roughly 2GB, Truncate table drop
storage, and bytes drop to 10M.

=20

Guess I'm going to have to run some more tests. Also, it appears it
doesn't happen all the time. Hmmm, maybe it's only on partitions. I'll
have to watch it closer.

=20

Michael Kline

Database Administration

Outside 804.261.9446

Cell 804.744.1545

3-9446

=20

-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Powell, Mark D
Sent: Friday, September 09, 2005 1:13 PM
To: oracle-l@freelists.org
Subject: RE: DBA_SEGMENTS invalid? or slow?

=20

The truncate command never releases the initial extent of the table or
its associated indexes if any.  In the future I have heard Oracle is
going to support defining tables and indexes without allocating storage.
But at present if the table/index exists it takes at least one extent.

=20

HTH -- Mark D Powell --

=20

  _____ =20

From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Kline.Michael
Sent: Thursday, September 08, 2005 11:43 PM
To: oracle-l@freelists.org
Subject: DBA_SEGMENTS invalid? or slow?

When I query dba_segments I get:

=20

owner     segment_name  partition_name segment_type  tablespace_name
header_file   header_block  bytes     blocks    extents
initial_extent next_extent   min_extents   max_extents   pct_increase
freelists freelist_groups    relative_fno  buffer_pool

REPADMIN  T_INSTRU_LDGR T_INSTRU_LDGR_200504    TABLE PARTITION
TS_LDGR_M2    71   1289 2212495360    270080    211  10485760
10485760  1    2147483645    0    1    1    71   DEFAULT

=20

Yet, when I map the tablespace, there are no extents. We have done a
truncate of the partition with a drop storage, and it shows storage.

=20

What's up with this?

=20

Database is 9.2.0.6

HP-UX.

=20

=20

Michael Kline
Database Administration
SunTrust Banks, Inc.
Mail Code TOC-7505

1030 Wilmer Avenue
Richmond, Va.  23227
Tel: 804.261.9446  Net: 643.9446

Cell: 804.744.1545
 <mailto:michael.kline@suntrust.com> michael.kline@suntrust.com

=20

Seeing beyond Money(sm)

=20

=20

=20

LEGAL DISCLAIMER
The information transmitted is intended solely for the individual or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other
use of or taking action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you have
received this email in error please contact the sender and delete the
material from any computer.
=20
Seeing Beyond Money is a service mark of SunTrust Banks, Inc.
[ST:XCL]=20


------_=_NextPart_001_01C5B565.7C2516DE
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:eXclaimer=3D"http://www.exclaimer.co.uk">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 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";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.emailstyle17
	{font-family:"Courier New";
	color:windowtext;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.emailstyle19
	{font-family:"Courier New";}
span.EmailStyle20
	{font-family:"Courier New";
	color:blue;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier New";color:blue'>I knew =
that, but
the problem here is that it says the current bytes is 2,212,495,360. The =
table
has an initial extent of 10M. I may have missed one extent as the only
difference is the last digit. It seems this has happened to me before =
since the
upgrade to 9.2.0.6.</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier New";color:blue'>What I =
would
expect is bytes to be roughly 2GB, Truncate table drop storage, and =
bytes drop
to 10M.</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier New";color:blue'>Guess =
I&#8217;m
going to have to run some more tests. Also, it appears it doesn&#8217;t =
happen
all the time. Hmmm, maybe it&#8217;s only on partitions. I&#8217;ll have =
to
watch it closer.</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:12.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
 style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Michael =
Kline</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Database
Administration</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Outside
804.261.9446</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Cell =
804.744.1545</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>3-9446</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:blue'>&nbsp;</span></font></p>

</div>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Powell, Mark D<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, September =
09, 2005
1:13 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> </span></font><font =
size=3D2
 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>oracle-l@freelists.org</spa=
n></font><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: DBA_SEGMENTS =
invalid?
or slow?</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3DArial><span =
style=3D'font-size:
12.0pt;font-family:Arial;color:blue'>The truncate command never releases =
the
initial extent of the table or its associated indexes if any.&nbsp; In =
the
future I have heard Oracle is going to support defining tables and =
indexes
without allocating storage.&nbsp; But at present if the table/index =
exists it
takes at least one extent.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3DArial><span =
style=3D'font-size:
12.0pt;font-family:Arial;color:blue'>HTH -- Mark D Powell =
--</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>
oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Kline.Michael<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, September =
08, 2005
11:43 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
oracle-l@freelists.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> DBA_SEGMENTS =
invalid? or
slow?</span></font></p>

<div>

<div>

<div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>When I query dba_segments I =
get:</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>owner&nbsp;&nbsp;&nbsp;&nbsp; =
segment_name&nbsp;
partition_name segment_type&nbsp; =
tablespace_name&nbsp;&nbsp;&nbsp;&nbsp;
header_file&nbsp;&nbsp; header_block&nbsp; bytes&nbsp;&nbsp;&nbsp;&nbsp;
blocks&nbsp;&nbsp;&nbsp; extents&nbsp;&nbsp;&nbsp;&nbsp; initial_extent
next_extent&nbsp;&nbsp; min_extents&nbsp;&nbsp; max_extents&nbsp;&nbsp;
pct_increase&nbsp;&nbsp;&nbsp;&nbsp; freelists
freelist_groups&nbsp;&nbsp;&nbsp; relative_fno&nbsp; =
buffer_pool</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>REPADMIN&nbsp; T_INSTRU_LDGR
T_INSTRU_LDGR_200504&nbsp;&nbsp;&nbsp; TABLE =
PARTITION&nbsp;&nbsp;&nbsp;&nbsp;
TS_LDGR_M2&nbsp;&nbsp;&nbsp; 71&nbsp;&nbsp; 1289 =
2212495360&nbsp;&nbsp;&nbsp;
270080&nbsp;&nbsp;&nbsp; 211&nbsp; 10485760&nbsp;&nbsp;&nbsp;&nbsp; =
10485760&nbsp;
1&nbsp;&nbsp;&nbsp; 2147483645&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 71&nbsp;&nbsp; =
DEFAULT</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>Yet, when I map the tablespace, there are no
extents. We have done a truncate of the partition with a drop storage, =
and it
shows storage.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>What&#8217;s up with this?</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>Database is 9.2.0.6</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New"'>HP-UX.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Michael Kline<br>
Database Administration<br>
SunTrust Banks, Inc.<br>
Mail Code TOC-7505</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>1030 Wilmer Avenue<br>
Richmond, Va.&nbsp; 23227<br>
Tel:&nbsp;804.261.9446&nbsp; Net:&nbsp;643.9446</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Cell: 804.744.1545<br>
</span></font><font face=3DArial><span style=3D'font-family:Arial'><a
href=3D"mailto:michael.kline@suntrust.com"><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>michael.kline@suntrust.com</span></font></a></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><strong><b><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Seeing beyond =
Money</span></font></b></strong><font
size=3D1 face=3D"Courier New"><span =
style=3D'font-size:7.5pt;font-family:"Courier =
New"'>(sm)</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DCourier><span =
style=3D'font-size:12.0pt;
font-family:Courier'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DCourier><span =
style=3D'font-size:12.0pt;
font-family:Courier'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>LEGAL DISCLAIMER<br>
The information transmitted is intended solely for the individual or =
entity to
which it is addressed and may contain confidential and/or privileged =
material.
Any review, retransmission, dissemination or other use of or taking =
action in
reliance upon this information by persons or entities other than the =
intended
recipient is prohibited. If you have received this email in error please
contact the sender and delete the material from any computer.<br>
&nbsp;<br>
Seeing Beyond Money is a service mark of SunTrust Banks, Inc.<br>
[ST:XCL]</span></font><font face=3DCourier><span =
style=3D'font-family:Courier'> </span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C5B565.7C2516DE--
--
http://www.freelists.org/webpage/oracle-l

