select obj.owner, obj.object_name,obj.OBJECT_TYPE,a.TS#,
to_char(sn.BEGIN_INTERVAL_TIME, 'YYYY-MM-DD hh24:mi:ss') BEGIN_TIME,
to_char(sn.END_INTERVAL_TIME, 'YYYY-MM-DD hh24:mi:ss') END_TIME,
round(a.space_used_delta / 1024 / 1024 / 1024, 2) DELTA_USED_SIZE_GB
from dba_hist_seg_stat a,
dba_hist_snapshot sn,
dba_objects obj
where sn.snap_id = a.snap_id
and obj.object_id = a.obj#
and obj.owner not in ('SYS','SYSTEM')
and end_interval_time between to_timestamp('开始时间','YYYY-MM-DD') and to_timestamp('结束时间','YYYY-MM-DD')
and owner = '用户名'
order by DELTA_USED_SIZE_GB desc,obj.owner, obj.object_name
Logo

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。

更多推荐