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: Is this a performance issue?

RE: Is this a performance issue?

From: Siva_Chintalapati <Siva_Chintalapati_at_satyam.com>
Date: Tue, 25 Jul 2000 23:49:49 +0530
Message-Id: <10569.112917@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_01BFF664.E8751F90
Content-Type: text/plain

What are dangling columns.

Regards
Siva

> ----------
> From: Glenn Travis[SMTP:Glenn.Travis_at_wcom.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Tuesday, July 25, 2000 10:27 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Is this a performance issue?
>
> Unless all columns can be satisfied with an index (but you already knew
> that, right?).
>
> If you have are selecting 5 columns, and say, three of them make up an
> index, you may want to consider storing the other two in the index as
> dangling columns. Depending on your table size, joins to other tables,
> performance needs, this could be a real win...
>
> > -----Original Message-----
> > From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of
> > Kamesh.J.Mantri_at_citicorp.com
> > Sent: Tuesday, July 25, 2000 5:24 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: RE: Is this a performance issue?
> >
> >
> > Actually this is not a performance issue bcos when Oracle fetches
> > rows for a
> > select it does in with implicit cursor
> > which goes row by row not column by column. Even if we mention
> > a single col
> > it fetches the whole row.
> >
> > Gurus correct me I am wrong..
> >
> >
> > Kamesh.
> >
> > -----Original Message-----
> > Sent: Monday,July 24, 2000 9:07 PM
> > To: ORACLE-L
> > Cc: schanna
> >
> >
> > Gurus,
> >
> > I'm wondering if it's a performance issue if i select all the
> > columns from
> > a table even if you don't require.
> >
> > Let say I have a table which has about 50 columns in it and i need to
> get
> > values for only 5-10 columns. So, instead of selecting only these
> columns
> > I select *.
> >
> > Any idea if that screws up my performance?
> >
> >
> >
> > Santhosh Babu
> >
> > --
> > Author: Channa, Santhosh, SITS
> > INET: schanna_at_att.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).
> >
> > --
> > Author:
> > INET: Kamesh.J.Mantri_at_citicorp.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).
> >
>
> --
> Author: Glenn Travis
> INET: Glenn.Travis_at_wcom.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_01BFF664.E8751F90
Content-Type: text/html
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=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2650.12">
<TITLE>RE: Is this a performance issue?</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">What are dangling = columns.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Regards</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Siva</FONT>
</P>
<UL>
<P><FONT SIZE=3D1 FACE=3D"MS Sans Serif">----------</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">From:</FONT></B> &nbsp; =
<FONT SIZE=3D1 FACE=3D"MS Sans Serif">Glenn =
Travis[SMTP:Glenn.Travis_at_wcom.com]</FONT> <BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Reply To:</FONT></B> = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans = Serif">ORACLE-L_at_fatcity.com</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Sent:</FONT></B> &nbsp; = <FONT SIZE=3D1 FACE=3D"MS Sans Serif">Tuesday, July 25, 2000 10:27 = PM</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">To:</FONT></B> = &nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans Serif">Multiple = recipients of list ORACLE-L</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Subject:</FONT></B> = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans = Serif">RE: Is this a performance issue?</FONT> </P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Unless all columns can be satisfied = with an index (but you already knew</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">that, right?).</FONT> </P>

<P><FONT SIZE=3D2 FACE=3D"Arial">If you have are selecting 5 columns, = and say, three of them make up an</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">index, you may want to consider = storing the other two in the index as</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">dangling columns.&nbsp; Depending on = your table size, joins to other tables,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">performance needs, this could be a = real win...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; -----Original Message-----</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; From: root_at_fatcity.com = [</FONT><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial"><A = HREF=3D"mailto:root_at_fatcity.com">mailto:root_at_fatcity.com</A></FONT></U><= FONT SIZE=3D2 FACE=3D"Arial">]On Behalf Of</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; = Kamesh.J.Mantri_at_citicorp.com</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sent: Tuesday, July 25, 2000 = 5:24 AM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To: Multiple recipients of list = ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Subject: RE: Is this a = performance issue?</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Actually this is not a =
performance issue bcos when Oracle fetches</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; rows for a</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; select it does in with implicit = cursor</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; which goes row by&nbsp; row not = column by column.&nbsp; Even if we mention</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; a single col</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; it fetches the whole row.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Gurus correct me I am =
wrong..</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Kamesh.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; -----Original =
Message-----</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sent: Monday,July 24, 2000 9:07 = PM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To: ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Cc: schanna</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Gurus,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; I'm wondering if it's a =
performance issue if i select all the</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; columns from</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; a table even if you don't = require.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; Let say I have a table = which has about 50 columns in it and i need to get</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; values for only 5-10 = columns. So, instead of selecting only these columns</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; I select *.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; Any idea if that screws up =
my performance?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp; Santhosh Babu</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; --</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Author: Channa, Santhosh, =
SITS</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp;&nbsp; INET: = schanna_at_att.com</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
--------------------------------------------------------------------</FO=
NT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To REMOVE yourself from this = mailing list, send an E-Mail message</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; to: ListGuru_at_fatcity.com (note = EXACT spelling of 'ListGuru') and in</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the message BODY, include a line = containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; (or the name of mailing list you = want to be removed from).&nbsp; You may</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; also send the HELP command for = other information (like subscribing).</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; --</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Author:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp;&nbsp; INET: =
Kamesh.J.Mantri_at_citicorp.com</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
--------------------------------------------------------------------</FO=
NT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To REMOVE yourself from this = mailing list, send an E-Mail message</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; to: ListGuru_at_fatcity.com (note = EXACT spelling of 'ListGuru') and in</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the message BODY, include a line = containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; (or the name of mailing list you = want to be removed from).&nbsp; You may</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; also send the HELP command for = other information (like subscribing).</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Author: Glenn Travis</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; INET: =
Glenn.Travis_at_wcom.com</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 =

FACE=3D"Arial">---------------------------------------------------------=
-----------</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To REMOVE yourself from this mailing = list, send an E-Mail message</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to: ListGuru_at_fatcity.com (note EXACT = spelling of 'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the message BODY, include a line = containing: UNSUB ORACLE-L</FONT> Received on Tue Jul 25 2000 - 13:19:49 CDT

Original text of this message

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