Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Query problem

RE: Query problem

From: Koivu, Lisa <lkoivu_at_qode.com>
Date: Fri, 8 Dec 2000 14:38:16 -0500
Message-Id: <10704.124105@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0614E.6925C440
Content-Type: text/plain;

        charset="iso-8859-1"

Hannah, fyi - your hint syntax is wrong. Here's the correct syntax:

 select /*+ FULL(a) FULL(b) */ a.table_name, a.index_name, b.bytes  from dba_indexes a, dba_segments b
 where a.table_name=b.segment_name
 and a.table_name='<table_name>'
 and a.owner='<owner_name>' ;

btw, you have a beautiful name. You are lucky.

Happy Friday everyone!

Lisa Rutland Koivu
Oracle Database Administrator
Qode.com
4850 North State Road 7
Suite G104
Fort Lauderdale, FL 33319

V: 954.484.3191, x174
F: 954.484.2933 
C: 954.658.5849

http://www.qode.com

"The information contained herein does not express the opinion or position of Qode.com and cannot be attributed to or made binding upon Qode.com."

-----Original Message-----
From: Hannah.M.Doran_at_sb.com [mailto:Hannah.M.Doran_at_sb.com] Sent: Friday, December 08, 2000 2:12 PM
To: Multiple recipients of list ORACLE-L Subject: Re: Query problem

did you try this?

 select /*FULL(a)*/a.table_name,/*FULL(a)*/a.index_name,/*FULL(b)*/b.bytes  from dba_indexes a, dba_segments b
 where a.table_name=b.segment_name
 and a.table_name='<table_name>'
 and a.owner='<owner_name>' ;

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Hannah.M.Doran_at_sb.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01C0614E.6925C440
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Query problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hannah, fyi - your hint syntax is wrong.&nbsp; Here's =
the correct syntax:</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;select /*+ FULL(a) FULL(b) */ a.table_name, =
a.index_name, b.bytes</FONT>
<BR><FONT SIZE=3D2>&nbsp;from dba_indexes a, dba_segments b</FONT>
<BR><FONT SIZE=3D2>&nbsp;where a.table_name=3Db.segment_name</FONT>
<BR><FONT SIZE=3D2>&nbsp;and a.table_name=3D'&lt;table_name&gt;'</FONT>
<BR><FONT SIZE=3D2>&nbsp;and a.owner=3D'&lt;owner_name&gt;' ;</FONT>
</P>

<P><FONT SIZE=3D2>btw, you have a beautiful name.&nbsp; You are lucky. =
</FONT>
</P>

<P><FONT SIZE=3D2>Happy Friday everyone!</FONT>
</P>

<P><FONT SIZE=3D2>Lisa Rutland Koivu</FONT>
<BR><FONT SIZE=3D2>Oracle Database Administrator</FONT>
<BR><FONT SIZE=3D2>Qode.com</FONT>
<BR><FONT SIZE=3D2>4850 North State Road 7</FONT>
<BR><FONT SIZE=3D2>Suite G104</FONT>
<BR><FONT SIZE=3D2>Fort Lauderdale, FL&nbsp; 33319</FONT>
</P>

<P><FONT SIZE=3D2>V: 954.484.3191, x174</FONT>
<BR><FONT SIZE=3D2>F: 954.484.2933 </FONT>
<BR><FONT SIZE=3D2>C: 954.658.5849</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.qode.com" =
TARGET=3D"_blank">http://www.qode.com</A></FONT>
</P>

<P><FONT SIZE=3D2>&quot;The information contained herein does not =
express the opinion or position of Qode.com and cannot be attributed to = or made binding upon Qode.com.&quot;</FONT></P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Hannah.M.Doran_at_sb.com [<A =
HREF=3D"mailto:Hannah.M.Doran_at_sb.com">mailto:Hannah.M.Doran_at_sb.com</A>]<= /FONT>
<BR><FONT SIZE=3D2>Sent: Friday, December 08, 2000 2:12 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Query problem</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>did you try this?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;select =
/*FULL(a)*/a.table_name,/*FULL(a)*/a.index_name,/*FULL(b)*/b.bytes</FONT= >
<BR><FONT SIZE=3D2>&nbsp;from dba_indexes a, dba_segments b</FONT>
<BR><FONT SIZE=3D2>&nbsp;where a.table_name=3Db.segment_name</FONT>
<BR><FONT SIZE=3D2>&nbsp;and a.table_name=3D'&lt;table_name&gt;'</FONT>
<BR><FONT SIZE=3D2>&nbsp;and a.owner=3D'&lt;owner_name&gt;' ;</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Please see the official ORACLE-L FAQ: <A =
HREF=3D"http://www.orafaq.com" = TARGET=3D"_blank">http://www.orafaq.com</A></FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: </FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: Hannah.M.Doran_at_sb.com</FONT>
</P>

<P><FONT SIZE=3D2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) =
538-5051&nbsp; FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------= -----</FONT>
<BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an =
E-Mail message</FONT>
<BR><FONT SIZE=3D2>to: ListGuru_at_fatcity.com (note EXACT spelling of =
'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB =
ORACLE-L</FONT>
<BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed =
from).&nbsp; You may</FONT>
Received on Fri Dec 08 2000 - 13:38:16 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US