有关oracle表空间查询的一些记录
来源:互联网 发布:airplay怎么手机连mac 编辑:程序博客网 时间:2024/05/24 03:15
1.查询剩余表空间
select sum(bytes/1024/1024) sizeMB from dba_free_space z where z.tablespace_name='DIMS_INVALID_PICTURE2'
2.查询索引信息
select s.index_name,s.table_name,s.tablespace_name,s.initial_extent,s.next_extentfrom user_indexes s where s.index_name = 'IDX_INVALID_PICNAME'
3.查看用户表、索引、分区表占用空间
select segment_name, sum(bytes)/1024/1024 Mbytese from user_segments group by segment_name;
4.表占用空间
select segment_name, sum(bytes)/1024/1024 Mbytese from user_segments where segment_type='TABLE' group by segment_name;
5.索引占用空间
select segment_name ,sum(bytes)/1024/1024 from user_segments where segment_type ='INDEX' group by segment_name;
6.分区表TABLE PARTITION占用空间
select segment_name,sum(bytes)/1024/1024 Mbytes from user_segments where segment_type='TABLE PARTITION' group by segment_name;
7.通过加大数据文件
alter database datafile 'D:\ORACLE\ORADATA\DMSDB\DIMS_INVALID_PICTURE2.DBF' resize 1000M
8.重建该索引
8.重建该索引
alter index index_name rebuild tablespace indexes storage(initial 256K next 256K pctincrease 0):
0 0
- 有关oracle表空间查询的一些记录
- oracle有关表空间的基本操作
- Oracle中一些和日期有关的SQL查询
- Oracle有关树的查询
- oracle表空间查询
- 查询oracle表空间
- oracle表空间查询
- oracle 表空间 查询
- 查询Oracle表空间
- Oracle表空间查询
- oracle表空间查询
- ORACLE表空间查询
- oracle表空间查询
- Oracle查询表空间
- oracle表空间查询
- 有关oracle的一些知识点
- 命令行查询oracle表空间的利用率
- oracle查询表空间的大小
- POJ 3723 Conscription(最小生成树-Kruskal)
- 分布式软件体系结构风格(C/S,B/S)
- Unity3D组件
- Qt中国象棋
- Android中使用4种方式实现按钮点击操作
- 有关oracle表空间查询的一些记录
- android WebView
- 安卓开发获取当前手机应用信息的方法
- JS在页面限制checkbox最大复选数
- 【Struts2六】ui标签之form标签及数据回显
- UITextView不可编辑——被userInteractionEnabled坑了
- Android 下拉刷新控件的使用
- 链表的创建、查询、删除,插入;
- asp.net 文件说明--Global.asax