0
点赞
收藏
分享

微信扫一扫

oracle学习42-增加表空间

岛上码农 2022-08-20 阅读 73

--查询表空间
select t.tablespace_name,
        d.file_name,
    d.autoextensible,
    d.maxbytes,
    d.status
    from dba_tablespaces t, dba_data_files d
 where t.tablespace_name = d.tablespace_name
 order by tablespace_name.file_name;  
 --增加表空间
 ALTER TABLESPACE TSP_MEDICU ADD DATAFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\DOCARE\APMEDICU01.DBF' SIZE 500M AUTOEXTEND ON NEXT 20M MAXSIZE unlimited;
 



举报

相关推荐

0 条评论