Bonjour,
Je n'arrive pas avoir a quelle unité correspond la valeurs NB_FRAGMENTS (des blocs ???):
Merci de votre aide
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 SELECT a.tablespace_name Nom_TableSpace, 2 a.bytes "ALLOUE", sum(b.bytes) "LIBRE Alloue", 3 round ((sum(b.bytes) / a.bytes),3) * 100 "%_LIBRE", 4 count(*)"NB_FRAGMENTS" 5 FROM 6 sys.dba_data_files a, 7 sys.dba_free_space b 8 WHERE 9 a.file_id = b.file_id 10 AND 11 a.tablespace_name = b.tablespace_name 12 GROUP BY 13 a.file_id, 14 a.tablespace_name, 15 a.bytes;
Partager