casta

tablespace

Permanent tablespace
create tablespace ts_something
  logging
  datafile '/dbf1/ts_sth.dbf'
  size 32m
  autoextend on
  next 32m maxsize 2048m
  extent management local;

create tablespace data datafile '/home/oracle/databases/ora10/data.dbf'
  size                                  10M
  autoextend on maxsize                200M
  extent management local uniform size  64K;

Temporary tablespace
create temporary tablespace temp_mtr
  tempfile '/dbf1/mtr_temp01.dbf'
  size 32m
  autoextend on
  next 32m maxsize 2048m
  extent management local;

## Note, a temporary tablespace has tempfiles, not datafiles.

Undo tablespace
create undo tablespace ts_undo
  datafile '/dbf/undo.dbf'
  size 100M;

Misc
create tablespace ts_sth
  datafile 'c:\xx\sth_01.dbf' size 4M autoextend off,
  'c:\xx\sth_02.dbf' size 4M autoextend off,
  'c:\xx\sth_03.dbf' size 4M autoextend off
  logging
  extent management local;

posted on 2008-11-10 13:28 casta 阅读(194) 评论(1)  编辑  收藏 所属分类: db

Feedback

# re: tablespace[未登录] 2010-02-23 09:33 casta

給权限
  GRANT DBA TO user_name   回复  更多评论   



只有注册用户登录后才能发表评论。


网站导航:
博客园   IT新闻   Chat2DB   C++博客   博问  
相关文章: