查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
来源:互联网 发布:大数据分析引擎 编辑:程序博客网 时间:2024/04/29 08:37
--1查看表空间已经使用的百分比
“Sum MB”表示表空间所有的数据文件总共在操作系统占用磁盘空间的大小
比如:test表空间有2个数据文件,datafile1为300MB,datafile2为400MB,那么test表空间的“Sum MB”就是700MB
“userd MB”表示表空间已经使用了多少
“free MB”表示表空间剩余多少
“percent_user”表示已经使用的百分比
--2比如从1中查看到MLOG_NORM_SPACE表空间已使用百分比达到90%以上,可以查看该表空间总共有几个数据文件,每个数据文件是否自动扩展,可以自动扩展的最大值。
--3比如MLOG_NORM_SPACE表空间目前的大小为19GB,但最大每个数据文件只能为20GB,数据文件快要写满,可以增加表空间的数据文件
用操作系统UNIX、Linux中的df -g命令(查看下可以使用的磁盘空间大小)
获取创建表空间的语句:
--4确认磁盘空间足够,增加一个数据文件
--5验证已经增加的数据文件
--6如果删除表空间数据文件,如下:
备注: linux下查看磁盘剩余空间和文件夹大小
df -hl 查看磁盘剩余空间
du -sm 文件夹
返回该文件夹总M数
更多功能查看:
df --help
du --help
du -sm 文件夹
返回该文件夹总M数
更多功能查看:
df --help
du --help
du --help
用法:du [选项]... [文件]...
总结每个<文件>的磁盘用量,目录则取总用量。
长选项必须用的参数在使用短选项时也是必须的。
-a, --all write counts for all files, not just directories
--apparent-size print apparent sizes, rather than disk usage; although
the apparent size is usually smaller, it may be
larger due to holes in (`sparse') files, internal
fragmentation, indirect blocks, and the like
-B, --block-size=SIZE use SIZE-byte blocks
-b, --bytes equivalent to `--apparent-size --block-size=1'
-c, --total produce a grand total
-D, --dereference-args dereference FILEs that are symbolic links
-H like --si, but also evokes a warning; will soon
change to be equivalent to --dereference-args (-D)
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
--si like -h, but use powers of 1000 not 1024
-k like --block-size=1K
-l, --count-links count sizes many times if hard linked
-L, --dereference dereference all symbolic links
-P, --no-dereference don't follow any symbolic links (this is the default)
-0, --null end each output line with 0 byte rather than newline
-S, --separate-dirs do not include size of subdirectories
-s, --summarize display only a total for each argument
-x, --one-file-system skip directories on different filesystems
-X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE.
--exclude=PATTERN Exclude files that match PATTERN.
--max-depth=N print the total for a directory (or file, with --all)
only if it is N or fewer levels below the command
line argument; --max-depth=0 is the same as
--summarize
--help 显示此帮助信息并离开
--version 显示版本信息并离开
-a, --all write counts for all files, not just directories
--apparent-size print apparent sizes, rather than disk usage; although
the apparent size is usually smaller, it may be
larger due to holes in (`sparse') files, internal
fragmentation, indirect blocks, and the like
-B, --block-size=SIZE use SIZE-byte blocks
-b, --bytes equivalent to `--apparent-size --block-size=1'
-c, --total produce a grand total
-D, --dereference-args dereference FILEs that are symbolic links
-H like --si, but also evokes a warning; will soon
change to be equivalent to --dereference-args (-D)
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
--si like -h, but use powers of 1000 not 1024
-k like --block-size=1K
-l, --count-links count sizes many times if hard linked
-L, --dereference dereference all symbolic links
-P, --no-dereference don't follow any symbolic links (this is the default)
-0, --null end each output line with 0 byte rather than newline
-S, --separate-dirs do not include size of subdirectories
-s, --summarize display only a total for each argument
-x, --one-file-system skip directories on different filesystems
-X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE.
--exclude=PATTERN Exclude files that match PATTERN.
--max-depth=N print the total for a directory (or file, with --all)
only if it is N or fewer levels below the command
line argument; --max-depth=0 is the same as
--summarize
--help 显示此帮助信息并离开
--version 显示版本信息并离开
du -smh oracle 查看文件夹的大小(oracle 文件夹名)
54G //显示oracle文件夹的大小为54G
CPU.和内存情况:
top --cpu
free --内存
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- 查看Oracle数据库表空间大小,是否需要增加表空间的数据文件
- 查看oracle表空间已使用大小
- ORACLE数据库增加表空间大小或给表空间增加数据文件
- 查询oracle数据库表空间的大小,已使用空间,剩余空间
- 查询oracle数据库表空间的大小,已使用空间,剩余空间
- Oracle查询表空间的使用情况和数据文件是否拓展及剩余可拓展大小
- 查看oracle表空间,段已使用大小
- 如何查看oracle表空间已使用大小
- 周边知识获取的价值
- 关于工具编译asm文件产生unresolved external symbol _WinMainCRTStartup错误的解决方法
- gcc下static 、 shared 与 dynamically loaded动态库详解
- C#正则表达式(RegEx)高级应用之分组(Group)替换(Replace)
- delphi如何导出EXCEL(1)
- 查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件
- v$sqlarea,v$sql,v$sqltext提供的sql语句区别
- onclick="return check()"和onclick="check()"区别
- android 对多文语言的支持
- 取奇数游戏
- delphi dbgrid数据导出为exce l(2)
- C#读写excel文件
- u-boot-2009.08 移植 mini2440-64M
- ecshop网站开发-ecshopdev小鸟(http://www.ecshopdev.com)