方法:1、查询“dba_tablespaces”数据,语法“select * from dba_tablespaces;”;2、查询“v$tablespace”数据,语法“select * from v$tablespace;”。
本教程操作环境:Windows7系统、Oracle 11g版、Dell G3电脑。...
#常用的几个代码
--查询临时表空间
select name from v$tempfile;
--查询表空间
select name from v$datafile;
修改用户的密码
alter user 用户名 identified by 密码;
昨天部署好oracle19c后,用以前oracle11g...
1.查看索引
(1)单位是GB
SELECT CONCAT(ROUND(SUM(index_length)/(1024*1024*1024), 2), ' GB') AS 'Total Index Size' FROM information_schema.TABLES WHERE table_schema LIKE 'database'; +-------...