SQL Performance (MOSC)

MOSC Banner

help required in Tuning this query

edited Jul 5, 2013 11:49AM in SQL Performance (MOSC) 5 commentsAnswered
 Hi,
The below query runs for more than 30 hrs,the query tries to fetch rows through db link 

can some one help me in tuning this query,

Version :10.2.0.4
O/s: linux
Waitevent: Db file sequential read
Optimizer_mode :first _rows

select
dept,
eqtype,
COUNT (qlims_test),
qlims_test,
analyte,
mfmethod,
mrttmethod,
qmethodname,
servgrp,
frequency_type,
schedule,
needdbde

from
(
select distinct
s.id_text,
a.testcode as "NewLIMS TestCode",
q.qlims_test,
q.analyte as "Analyte Number",
a.analyte,
a.dilute,
mrtt.eqtype,
t.teststatus,
a.status as "Analyte Status",
mf.frequency_type,
mf.schedule,
mf.dept,
mf.load_type as "Individual or Batch",

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center