标签:from 2tb off big rgb segment style abc div
建立表空间并设置为默认表空间(最大32GB)
1. create temporary tablespace test tempfile ‘/home/oracle/oradata/abc/test.dbf‘ size 50m autoextend on next 50m maxsize 20480m extent management local 2. create tablespace test_data logging datafile ‘/home/oracle/oradata/abc/test_data.dbf‘ size 50m autoextend on next 50m maxsize 20480m extent management local 3. alter user train default tablespace test_data 4. alter user train quota 0 on system
查询当前数据库所有表空间
select tablespace_name from dba_data_files; //查询当前数据库所有表空间
创建大表空间(最大32TB)
create bigfile tablespace train_test datafile ‘/home/oracle/oradata/abc/train_test.dbf‘ size 50m autoextend off extent management local uniform size 1m segment space management auto;
标签:from 2tb off big rgb segment style abc div
原文地址:https://www.cnblogs.com/it-abang/p/14343065.html