oracle学习42-增加表空间

--查询表空间
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;
 

posted @ 2022-08-13 21:30  前端导师歌谣  阅读(31)  评论(0)    收藏  举报