Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 9.2 V$ views
Hi, guys.
We were getting killed on SAP, when checking locks, after we upgraded to 9.2
One of the other DBAs came up with this and it was a dramatic improvement. Not sure if he got it from metalink or?
We just upgraded a 8.1.6 database to 9.2 and had the same problem. This fixed it.
He also had this comment "Has anyone tried selecting a particular extent out of dba_extents, on the SAP systems I'm seeing horrendous performance"
Are there any other views that we should be replacing?
Thanks Larry
drop view v_$lock;
drop public synonym v$lock;
create or replace view v_$lock
as
select /*+ rule */
l.laddr as addr,l.ctime as ctime
,l.kaddr as kaddr
,s.ksusenum as sid
,r.ksqrsidt as type
,r.ksqrsid1 as id1
,r.ksqrsid2 as id2
,l.lmode as lmode
,l.request as request
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon Jul 26 2004 - 16:39:57 CDT
![]() |
![]() |