Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> tuning uga?
Hello:
Users have been complaining about a slow system. This application is on Oracle 8.0.4, sp4 on NT 4.0.
The optimizer mode is set to choose.
I am in the process of checking some of the sql code running. The shared
pool is set to 125 mb. The sort_area_size is set to 1mb.
One example of the query running is below: Note uga is 5 mb, although an extreme example this code is based upon views created on views. I know this is a no-no but the application was purchased and we were stuck with the heavily normalized design and the views had to be built this way to get certain data.
My questions are :
THanks.
David Spaisman
select distinct cust_name, mla, schedule from v_dp_allasset where cust_id=
'975624980' and schedule=
'200000000983'
select value from v$sesstat s, v$statname n
where s.statistic# = n.statistic#
and n.name = 'session uga memory max'
and s.sid = &1;
VALUE
SUM(SHARABLE_MEM)
![]() |
![]() |