Amazon RDS for Db2 預存程序參考 - Amazon Relational Database Service

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

Amazon RDS for Db2 預存程序參考

您可以透過呼叫內建預存程序來管理執行 Db2 引擎的 Amazon RDS for Db2 資料庫執行個體。

預存程序 類別 描述

rdsadmin.activate_database

資料庫

使用 rdsadmin.activate_database 預存程序在獨立的 RDS for Db2 資料庫執行個體上啟用資料庫。

rdsadmin.add_groups

授予和撤銷權限

使用rdsadmin.add_groups預存程序,為 RDS for Db2 資料庫執行個體上的資料庫將一或多個群組新增至使用者。

rdsadmin.add_user

授予和撤銷權限

使用rdsadmin.add_user預存程序將使用者新增至 RDS for Db2 資料庫執行個體上資料庫的授權清單。

rdsadmin.alter_bufferpool

緩衝集區

使用 rdsadmin.alter_bufferpool 預存程序來修改 RDS for Db2 資料庫執行個體上資料庫的緩衝集區。

rdsadmin.alter_tablespace

資料表空間

使用 rdsadmin.alter_tablespace 預存程序來修改 RDS for Db2 資料庫執行個體上資料庫的資料表空間。

rdsadmin.catalog_storage_access

儲存體存取

使用 rdsadmin.catalog_storage_access預存程序來為儲存別名編製目錄,以便使用 RDS for Db2 資料庫執行個體上的資料庫的 Db2 資料檔案存取 Amazon S3 儲存貯體。 Db2

rdsadmin.change_password

授予和撤銷權限

使用rdsadmin.change_password預存程序變更 RDS for Db2 資料庫執行個體上資料庫的使用者密碼。

rdsadmin.complete_rollforward

資料庫

使用 rdsadmin.complete_rollforward 預存程序,將 RDS for Db2 資料庫執行個體上的資料庫從 ROLL-FORWARD PENDING 狀態上線。當您呼叫 rdsadmin.rollforward_database但將 complete_rollforward 參數設定為 時,會發生 ROLL-FORWARD PENDING 狀態FALSE

rdsadmin.configure_db_audit

稽核政策

使用rdsadmin.configure_db_audit預存程序來修改 RDS for Db2 資料庫執行個體上資料庫的稽核政策。如果不存在稽核政策,執行此預存程序會建立稽核政策。

rdsadmin.create_bufferpool

緩衝集區

使用 rdsadmin.create_bufferpool 預存程序為 RDS for Db2 資料庫執行個體上的資料庫建立緩衝集區。

rdsadmin.create_database

資料庫

使用rdsadmin.create_database預存程序在 RDS for Db2 資料庫執行個體上建立資料庫。

rdsadmin.create_role

授予和撤銷權限

使用 rdsadmin.create_role 預存程序來建立角色,以連接至 RDS for Db2 資料庫執行個體上的資料庫。

rdsadmin.create_tablespace

資料表空間

使用 rdsadmin.create_tablespace 預存程序為 RDS for Db2 資料庫執行個體上的資料庫建立資料表空間。

rdsadmin.db2pd_command

資料庫

使用rdsadmin.db2pd_command預存程序收集 RDS for Db2 資料庫執行個體上資料庫的相關資訊。此資訊有助於監控和疑難排解 RDS for Db2 中的資料庫。

rdsadmin.dbadm_grant

授予和撤銷權限

使用rdsadmin.dbadm_grant預存程序,將一或多個授權類型 (ACCESSCTRLDBADMDATAACCESS) 授予 RDS for Db2 資料庫執行個體上資料庫的一或多個角色、使用者或群組。

rdsadmin.dbadm_revoke

授予和撤銷權限

使用rdsadmin.dbadm_revoke預存程序,從 RDS for Db2 資料庫執行個體上資料庫的一或多個角色、使用者或群組撤銷一或多個授權類型 DBADM ACCESSCTRL(、 或 DATAACCESS)。

rdsadmin.deactivate_database

資料庫

使用 rdsadmin.deactivate_database 預存程序來停用 RDS for Db2 資料庫執行個體上的資料庫。您可以停用資料庫以節省記憶體資源。

rdsadmin.disable_db_audit

稽核政策

使用rdsadmin.disable_db_audit預存程序停止稽核記錄,並從 RDS for Db2 資料庫執行個體上的資料庫移除稽核政策。

rdsadmin.drop_bufferpool

緩衝集區

使用 rdsadmin.drop_bufferpool 預存程序從 RDS for Db2 資料庫執行個體上的資料庫捨棄緩衝集區。

rdsadmin.drop_database

資料庫

使用rdsadmin.drop_database預存程序從 RDS for Db2 資料庫執行個體捨棄資料庫。

rdsadmin.drop_role

授予和撤銷權限

使用 rdsadmin.drop_role 預存程序從 RDS for Db2 資料庫執行個體上的資料庫刪除角色。

rdsadmin.drop_tablespace

資料表空間

使用 rdsadmin.drop_tablespace 預存程序,從 RDS for Db2 資料庫執行個體上的資料庫捨棄資料表空間。

rdsadmin.force_application

資料庫

使用 rdsadmin.force_application 預存程序強制應用程式離開 RDS for Db2 資料庫執行個體上的資料庫,以執行維護。

rdsadmin.grant_role

授予和撤銷權限

使用rdsadmin.grant_role預存程序將角色指派給 RDS for Db2 資料庫執行個體上資料庫中的承授者角色、使用者或群組。您也可以使用此預存程序授予承授者角色指派角色DBADM的授權。

rdsadmin.list_archive_log_information

資料庫

使用 rdsadmin.list_archive_log_information 預存程序傳回 RDS for Db2 資料庫執行個體上資料庫封存日誌的相關資訊。此資訊包含詳細資訊,例如個別日誌檔案的大小和建立日期,以及封存日誌檔案所使用的總儲存體。

rdsadmin.list_sid_group_mapping

授予和撤銷權限

使用 rdsadmin.list_sid_group_mapping 預存程序傳回在 RDS for Db2 資料庫執行個體上設定的所有安全 ID (SID) 和 Active Directory 群組映射清單。

rdsadmin.list_users

授予和撤銷權限

使用rdsadmin.list_users預存程序傳回 RDS for Db2 資料庫執行個體上資料庫的授權清單上的使用者清單。

rdsadmin.reactivate_database

資料庫

進行資料庫組態變更後,請使用rdsadmin.reactivate_database預存程序在 RDS for Db2 資料庫執行個體上重新啟用資料庫。對於獨立資料庫執行個體上的資料庫,您可以使用此預存程序或預rdsadmin.activate_database存程序。

rdsadmin.remove_groups

授予和撤銷權限

使用 rdsadmin.remove_groups 預存程序,為 RDS for Db2 資料庫執行個體上的資料庫從使用者移除一或多個群組。

rdsadmin.remove_sid_group_mapping

授予和撤銷權限

使用 rdsadmin.remove_sid_group_mapping 預存程序,從 RDS for Db2 資料庫執行個體中移除安全 ID (SID) 及其對應的 Active Directory 群組映射。

rdsadmin.remove_user

授予和撤銷權限

使用 rdsadmin.remove_user 預存程序,將使用者從 RDS for Db2 資料庫執行個體上資料庫的授權清單中移除。

rdsadmin.rename_tablespace

資料表空間

使用 rdsadmin.rename_tablespace 預存程序重新命名 RDS for Db2 資料庫執行個體上資料庫的資料表空間。

rdsadmin.restore_database

資料庫

使用 rdsadmin.restore_database 預存程序,從 Amazon S3 儲存貯體還原 RDS for Db2 資料庫執行個體上的資料庫。

rdsadmin.revoke_role

授予和撤銷權限

使用rdsadmin.revoke_role預存程序,從 RDS for Db2 資料庫執行個體的資料庫中的承授者角色、使用者或群組撤銷角色。

rdsadmin.rollforward_database

資料庫

使用 rdsadmin.rollforward_database 預存程序讓資料庫在 RDS for Db2 資料庫執行個體上上線,並在您透過呼叫 還原 RDS for Db2 資料庫執行個體上的資料庫之後套用交易日誌rdsadmin.restore_database

rdsadmin.rollforward_status

資料庫

使用rdsadmin.rollforward_status預存程序來查詢呼叫 rdsadmin.rollforward_database或 RDS for Db2 資料庫執行個體上預rdsadmin.complete_rollforward存程序的轉傳狀態。

rdsadmin.set_archive_log_retention

資料庫

使用rdsadmin.set_archive_log_retention預存程序來設定在 RDS for Db2 資料庫執行個體上保留資料庫封存日誌檔案的時間。您也可以使用此預存程序來停用封存日誌保留。

rdsadmin.set_configuration

資料庫

使用 rdsadmin.set_configuration 預存程序,為 RDS for Db2 資料庫執行個體上的資料庫設定特定設定。

rdsadmin.set_sid_group_mapping

授予和撤銷權限

使用 rdsadmin.set_sid_group_mapping 預存程序在 RDS for Db2 資料庫執行個體上的安全 ID (SID) 和對應的 Active Directory 群組之間建立映射。

rdsadmin.show_archive_log_retention

資料庫

使用 rdsadmin.show_archive_log_retention 預存程序傳回 RDS for Db2 資料庫執行個體上資料庫的目前封存日誌保留設定。

rdsadmin.show_configuration

資料庫

使用rdsadmin.show_configuration預存程序傳回一或多個可修改 RDS for Db2 資料庫執行個體上資料庫的設定。

rdsadmin.uncatalog_storage_access

儲存體存取

使用 rdsadmin.uncatalog_storage_access 預存程序移除儲存別名,以使用 Db2 資料檔案存取 Amazon S3 儲存貯體。

rdsadmin.update_db_param

資料庫

使用 rdsadmin.update_db_param 預存程序更新 RDS for Db2 資料庫執行個體上資料庫的資料庫參數。