create public rollback segment 名称 tablespace 回滚表空间名 optimal 优化值的大小 MINEXTENTS 大小 INITIAL 大小 NEXT 大小;

解决方案 »

  1.   

    好像9i的和8i的在回滚段的管理不一样。我现在在建索引时需要较大的回滚段,但在创建时必须在undo_managerment = auto模式,且创建完后在manager server上看不到?
      

  2.   

    9i中的回滚段由Oracle自动管理,不必创建。
      

  3.   

    从文档上看时如此,但在一些文档中也说明了创建回滚段的方法(undo_managerment = auto),而且我现在在创建索引时需要较大的回滚段。我的表是建立在自己的表空间是上!我该如何做!
      

  4.   

    if undo_managerment=auto, oracle will create the rollback segments for you named _sysmu2$ in undo_tablespace which is specified in the init.ora file.
    if you want to create the rollback segment by yourself, you should set undo_management to manual, and then you may issue the create rollback segment statement to create the rollback segment.
      

  5.   

    回答fake_wolf(狼) 的问题:
    你可以建立一个增长大小不受限制的回滚段,并指定自动回缩的
    缺省值(即优化值)只要回滚段使用的表空间足够大,你就不会
    担心回滚段的扩展无法进行,当你建立索引的时候,指定使用你
    这个回滚段就可以了。