sunhk25
V2EX  ›  问与答

postgresql 有什么命令来设置限制一个 datafile 的大小

  •  
  •   sunhk25 · Jun 17, 2016 · 1287 views
    This topic created in 3627 days ago, the information mentioned may be changed or developed.

    结果查到 orcal 的有如下写法

    ALTER TABLESPACE users
        ADD DATAFILE '/u02/oracle/rbdb1/users03.dbf' SIZE 10M
          AUTOEXTEND ON
          NEXT 512K
          MAXSIZE 250M;
    
    ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf' 
        AUTOEXTEND OFF;
    

    不知道 postgresql 是否有类似的写法

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2219 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 00:32 · PVG 08:32 · LAX 17:32 · JFK 20:32
    ♥ Do have faith in what you're doing.