Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: reduce wait times
My oracle version is 8.1.6.0
sort_area_size=4M
disk sort percent 0,02
rows per sort 66
sorts (disk) 293 sorts (memory) 1301136 sorts (rows) 86708973
Hash_area_size=128M
the query :
SELECT s.sid, u.segtype, blocks FROM v$sort_usage u, v$session s WHERE
u.session_addr = s.saddr;
return no rows.
"Paul Drake" <drak0nian_at_yahoo.com> ha scritto nel messaggio
news:1ac7c7b3.0402160817.44df0f40_at_posting.google.com...
> "gp" <gieppetto_at_tiscali.it> wrote in message
news:<c0qa95$32$1_at_fata.cs.interbusiness.it>...
> > my problem is that the 90% of i/o operations and query executions is
made
> > from an application external that i cannot modify, so i try to adjust
> > performance without modify sql statements.
> >
> > thanks.
> >
> > "Paul Drake" <drak0nian_at_yahoo.com> ha scritto nel messaggio
> > news:1ac7c7b3.0402131816.195364c6_at_posting.google.com...
> > > "gp" <gieppetto_at_tiscali.it> wrote in message
> > news:<c0i34i$plh$1_at_fata.cs.interbusiness.it>...
> > > > statsrep :
> >
> > > > Top 5 Wait Events
> > > > ~~~~~~~~~~~~~~~~~ Wait
%
> > > > Total
> > > > Event Waits Time (cs)
> > Wt
> > > > Time
> > >
> >
> -------------------------------------------- ------------ ------------ ---
> > ok. > Lets being with an easy one: > > sort_area_size > hash_area_size > > by setting these parameters to larger values, within reason, sort and > hash join operations that involved disk io _can_ be executed in > memory. you need to be cautious such that you don't cause excessive > paging by having oracle use too much memory. > > are you using pga_aggregate_target? > (I forget what version you are running) > If so, then the values that you set for the _area_size parameters > matters not. > > I'd recommend starting with this paper: > http://www.evdbt.com/sort%20hash%20tuning%20paper.doc > > It doesn't cover 9.2 features, though. > > hth. > > PdReceived on Mon Feb 16 2004 - 12:08:13 CST