|----------------6 dba_tab_modifications----------------------------------+^M
-
prompt
|
----------------7 dba_tab_statistics------------------------------------+^M
-
column object_type
format a15 heading
'object_type'
print entmap
off
-
select owner
, table_name
, object_type
, stale_stats
,
- num_rows
,
- sample_size
,
-
trunc
(sample_size
/ num_rows
* 100
) estimate_percent
,
- last_analyzed
-
from dba_tab_statistics
-
where OWNER
=
upper
(
'&TABLE_OWNER'
)
-
and TABLE_NAME
=
upper
(
'&TABLE_NAME'
)
-
/
|----------------7 dba_tab_statistics------------------------------------+^M
Owner
*
*
*
*
*
*
*
Oracle 10G parallel 8 HP
-
UX nopartitioned
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
table_name table_size
(M
) index_size
(M
) total
(M
) time
--------- ------------ ------------ ------- --------------------
tab1 488 0 488 Elapsed
: 00
:00
:27
.99
tab2 1
,115 331 1
,446 Elapsed
: 00
:00
:06
.28
tab3 2
,019 243 2
,262 Elapsed
: 00
:00
:44
.30
tab4 3
,171 1
,221 4
,392 Elapsed
: 00
:02
:17
.08
tab5 4
,756 0 4
,756 Elapsed
: 00
:05
:42
.85
tab6 15
,146 16
,059 31
,205 Elapsed
: 00
:29
:59
.14
tab7 8
,105 4
,820 12
,925 Elapsed
: 00
:26
:12
.52