oracle 笔记---(六)__表空间
2023-09-27 14:25:36 时间
查看表空间的大小
select tablespace_name,block_size,contents from dba_tablespaces;
查看表空间对应的数据文件
select file_name,tablespace_name,status from dba_data_files where tablespace_name = 'USERS';
查看表空间的默认参数
SQL> select tablespace_name,block_size,initial_extent,next_extent,max_extents,pct_increase from dba_tablespaces where tablespace_name = 'USERS';
查看undo默认存储参数
SQL> select tablespace_name,block_size,initial_extent,next_extent,max_extents from dba_tablespaces where contents= 'UNDO';
查看临时表空间有啥
select tablespace_name,status,contents,logging from dba_tablespaces where tablespace_name like 'USER%';
通过数据字典视图来查看数据文件信息
select file#,status,enabled,bytes,block_size,name from v$tempfile;
查看当前默认临时表空间
SQL> col proerty_name for a30
SQL> col proerty_value for a20
SQL> col description for a40
SQL> select *from database_properties where property_name like 'DEFAULT%'
相关文章
- Oracle DBLINK 简单使用
- oracle-sql分析练习
- Oracle VM VirtualBox 安装 Centos7 并配置静态IP
- oracle查看编码格式及修改
- oracle--错误笔记(二)--ORA-16014
- oracle 笔记---(七)__角色
- oracle 笔记---(五)__内存管理
- oracle 笔记---(三)__体系架构
- oracle 笔记---(二)
- oracle 基础知识(一)
- Oracle 11g新特性direct path read引发的系统停运故障诊断处理
- Oracle常用sql语句(一)
- 分析oracle的执行计划(explain plan)并对对sql进行优化实践
- Oracle Database 18c 的10大新特性一览
- Oracle数据库内存使用情况分析查看
- oracle实例名,数据库名,服务名等概念差别与联系
- Oracle笔记(十三) 视图、同义词、索引
- Oracle入门笔记(六)——多表查询
- Oracle入门笔记(五)——Oracle表间关系、SQL语句、基本函数
- Oracle入门笔记(一)——环境配置及简单介绍
- oracle 12c直方图收集的增强
- 测试oracle数据库连接
- 修改oracle用户密码永不过期
- Oracle学习笔记(2)--Centos 7 下11gR2部署
- oracle学习笔记(1)--oracle体系结构
- INS-40904 ORACLE_HOSTNAME Does not Resolve to a Valid Host Name [ID 1281039.1]