Moving Tablespace for the Schema(Owner)

    版本為 23:14, 26 Dec 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    說明:

    1. 列出所有 Tables Name
    2. 對 Table 搬 Tablespace
    3. 重建已搬動 Table 的 Index
    4. 變更 Owner (Schema) 的預設 Tablespace

    move_tbs.sh:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    另一種方式 gensql_move_tbs.sql:

    這個 Procedure 會產生需要的 SQLs

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    另一個 procedure:

    This procedure moves/rebuilds the tables/indexes of shema owners SUBBU/SUGGU to
    usr_d_01, usr_x_01, usr_d_02 and usr_x_02 tablespaces as per the case condition.

    You need to edit the CASE condition as per your database reorg requirements.
    Test this procedure in a test db thoroughly, before running in a production db.

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
    Powered by MindTouch Core