上去了server查所有表空间_oracle如何查看表空间
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                上去了server查所有表空间_oracle如何查看表空间
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                select dbf.tablespace_name,dbf.totalspace "總量(M)",dbf.totalblocks as 總塊數,dfs.freespace "剩余總量(M)",dfs.freeblocks "剩余塊數",(dfs.freespace / dbf.totalspace) * 100 "空閑比例"?from (select t.tablespace_name,sum(t.bytes) / 1024 / 1024 totalspace,sum(t.blocks) totalblocksfrom dba_data_files tgroup by t.tablespace_name) dbf,(select tt.tablespace_name,sum(tt.bytes) / 1024 / 1024 freespace,sum(tt.blocks) freeblocksfrom dba_free_space ttgroup by tt.tablespace_name) dfs
where trim(dbf.tablespace_name) = trim(dfs.tablespace_name)
總結
以上是生活随笔為你收集整理的上去了server查所有表空间_oracle如何查看表空间的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: Python 错误和异常小结[转]
- 下一篇: 阿里云胡晓明:数据智能将为城市生活带来真
