Files
oracle/tpt/lc.sql
2026-03-12 21:23:47 +01:00

11 lines
438 B
SQL

-- 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.
prompt Display Latch Children stats from V$LATCH for latches matching %&1%
select addr, child#, name, gets, misses, immediate_gets ig, immediate_misses im, spin_gets spingets
from v$latch_children
where lower(name) like lower('%&1%')
order by name, child#
/