Bonjour,
comment combiner ces trois requettes :
D'avance merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 select name, gets, misses, immediate_gets, immediate_misses, sleeps from v$latch where name in ('redo allocation', 'redo copy') / set head off select 'Ratio of MISSES to GETS: '|| round((sum(misses)/(sum(gets)+0.00000000001) * 100),2)||'%' from v$latch where name in ('redo allocation', 'redo copy') / select 'Ratio of IMMEDIATE_MISSES to IMMEDIATE_GETS: '|| round((sum(immediate_misses)/ (sum(immediate_misses+immediate_gets)+0.00000000001) * 100),2)||'%' from v$latch where name in ('redo allocation', 'redo copy')
Partager