ALTER DATABASE DATAFILE 'your date file path' RESIZE  500M

解决方案 »

  1.   

    我用了这个命令,他提示错误啊。alter database datafile 'd:\hospital\ts_mz0001.dat' resize 500MERROR 位于第 1 行:
    ORA-03297: 文件包含在请求的 RESIZE 值以外使用的数据
      

  2.   

    不会有错的。
    ALTER DATABASE DATAFILE 'd:\hospital\ts_mz0001.dat' RESIZE  500M
      

  3.   

    ORA-03297 file contains used data beyond requested RESIZE value
    Cause: Some portion of the file in the region to be trimmed is currently in use
    by a database object.
    Action: Drop or move segments containing extents in this region prior to
    resizing the file, or choose a resize value such that only free space is in the
    trimmed.
      

  4.   

    在STORAGE MANAGER里改呗……
      

  5.   

    简单但比较笨的办法就是通过manager的图形界面直接增加!
      

  6.   

    可能要先把库停下来,把初始化的表空间改为500M的,是TRIM吗?我也摸棱两可,献5了