• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 軟件測試開發技術oracle常用經典SQL查詢

    發表于:2009-09-29來源:作者:點擊數: 標簽:軟件測試SQLSqlsqloracle
    軟件測試 開發 技術 oracle 常用經典SQL查詢 oracle 數據庫 關鍵字:oracle SQL查詢 oracle常用經典SQL查詢 常用SQL查詢: 1、查看表空間的名稱及大小 selectt.tablespace_name,round(sum(bytes/(1024*1024)),0)ts_size fromdba_tablespacest,dba_data_files

    軟件測試開發技術oracle常用經典SQL查詢 oracle數據庫

    關鍵字:oracle SQL查詢 oracle常用經典SQL查詢 

    常用SQL查詢:

     

    1、查看表空間的名稱及大小

     

    select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size

    from dba_tablespaces t, dba_data_files d

    where t.tablespace_name = d.tablespace_name

    group by t.tablespace_name;

     

    2、查看表空間物理文件的名稱及大小

     

    select tablespace_name, file_id, file_name,

    round(bytes/(1024*1024),0) total_space

    from dba_data_files

    order by tablespace_name;

     

    3、查看回滾段名稱及大小

     

    select segment_name, tablespace_name, r.status, 

    (initial_extent/1024) InitialExtent,(next_extent/1024) NextExtent, 

    max_extents, v.curext CurExtent

    From dba_rollback_segs r, v$rollstat v

    Where r.segment_id = v.usn(+)

    order by segment_name; 

     

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>