数据库表结构空间学习
---创建表命名空间create tablespace test datafile 'D:\oracle\product\10.2.0\oradata\personalDB\tbsp_test'size 50M default storage (initial 500knext 500kminextents 1maxextents unlimitedpctincrease 0);--创建用户1并设置其表命名空间为testcreate user test1 identified by ding default tablespace test;grant resource,connect,dba to test1;--创建用户2并设置其表命名空间为testcreate user test2 identified by ding default tablespace test;grant resource,connect,dba to test2;
注意:同一个表空间中的表是以用户为单位的。如用户test1所创建的表"t_test",用户test2访问的时候应该用'test1.t_test';