2026-03-12 20:23:15
This commit is contained in:
28
tpt/aot/bh_private.sql
Normal file
28
tpt/aot/bh_private.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
col bhla_object head object for a40 truncate
|
||||
col bhla_DBA head DBA for a20
|
||||
col flg_lruflg head "FLAG:LRUFLAG"
|
||||
|
||||
select /*+ ORDERED */
|
||||
trim(to_char(bh.flag, 'XXXXXXXX')) ||':'||
|
||||
trim(to_char(bh.lru_flag, 'XXXXXXXX')) flg_lruflg,
|
||||
bh.obj,
|
||||
o.object_type,
|
||||
o.owner||'.'||o.object_name bhla_object,
|
||||
bh.tch,
|
||||
file# ||' '||dbablk bhla_DBA,
|
||||
bh.class,
|
||||
bh.state,
|
||||
bh.mode_held,
|
||||
bh.dirty_queue DQ
|
||||
from
|
||||
x$bh bh,
|
||||
dba_objects o
|
||||
where
|
||||
bh.obj = o.data_object_id
|
||||
and bitand(flag,8)=8
|
||||
order by
|
||||
tch asc
|
||||
/
|
||||
Reference in New Issue
Block a user