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

Home -> Community -> Usenet -> c.d.o.server -> Re: sql query slow... help me!

Re: sql query slow... help me!

From: Charles Hooper <hooperc2000_at_yahoo.com>
Date: Thu, 14 Jun 2007 09:29:29 -0700
Message-ID: <1181838569.391344.59210@j4g2000prf.googlegroups.com>


On Jun 14, 11:24 am, Kevin <procshar..._at_gmail.com> wrote:
> Hi, I'm a software developer and I'm making a new software with
> Oracle. I made a some sql querys and it's very very slow so I get
> complain from the users. Is there any way that get it faster result ?
> please help me.
>
> here's the sql query
>
> SELECT '', '0' SELECT_YN, V01.ALLOC_NO, V01.CUSTREQUEST_NO,
> V01.DIV_NO, V01.CONSOL_NO, DECODE(V01.TR_DT, NULL, '',
>
> TMS_COMMONFUNC_Pk.GET_VIEWDATETIMESTR_FC(V01.TR_DT, '', '')) TR_DATE,
> V01.STATUS, T13.CODE_NAME STATUS_NAME, BL_NO,
> V01.CNTR_NO, V01.CARRIER_TRANS_NO,
> V01.TRUCKER_CD, T17.CARRIER_NAME, V01.SUB_CARRIER, T18.CARRIER_NAME,
> V01.CAR_CODE,
(Snip)

Without an explain plan (DBMS Xplan), without knowing the data model, and without knowing the Oracle version, it will be hard to make suggestions. However, here are a few:
* Are you retrieving any columns that are unnecessary? If so, remove those columns.

Good luck with resolving the performance issue.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. Received on Thu Jun 14 2007 - 11:29:29 CDT

Original text of this message

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