查看表所有着
select OWNERfrom dba_objectswhere object_name='TBL_TVI1';
查表大小
select sum(bytes)/1024/1024from dba_segments t where t.segment_name='TBL_TVI1';
执行计划
explain plan for
SELECT SKILL_NUMBER,
AGENTS_STAFFED,
CALLS_WAITING,
AGENTS_ACD_CALLS,
AGENTS_AVAILABLE,
AGENTS_OTHER
FROMSTAT_HOLLYCRMAPP.TBL_TVI1 T
WHERE T.SKILL_NUMBER = :1
AND T.INSERT_TIME = (SELECT MAX(T2.INSERT_TIME)
FROMSTAT_HOLLYCRMAPP.TBL_TVI1 T2
WHERE T2.SKILL_NUMBER=:2)
create index STAT_HOLLYCRMAPP.index_skill_insert on STAT_HOLLYCRMAPP.TBL_TVI1 (SKILL_NUMBER, INSERT_TIME) online;<img src="" alt="" style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);" />