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.backup_database

資料庫

使用 rdsadmin.backup_database 預存程序將 RDS for Db2 資料庫執行個體上的資料庫備份至 Amazon S3 儲存貯體。然後,您可以將備份從 Amazon S3 還原至 RDS for Db2 資料庫執行個體,或還原至其他位置,例如本機伺服器。

rdsadmin.catalog_storage_access

儲存體存取

使用 rdsadmin.catalog_storage_access 預存程序,針對 RDS for 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 參數設定為 FALSE 時,會發生 ROLL-FORWARD PENDING 狀態。

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 預存程序將一或多個授權類型 (DBADMACCESSCTRLDATAACCESS) 授予 RDS for Db2 資料庫執行個體上之資料庫的一或多個角色、使用者或群組。

rdsadmin.dbadm_revoke

授予及撤銷權限

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

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.fgac_command

資料庫

使用 rdsadmin.fgac_command 預存程序控制對 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.reactivate_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 資料庫執行個體上的資料庫上線,並在您透過呼叫 rdsadmin.restore_database 還原 RDS for Db2 資料庫執行個體上的資料庫之後,套用交易日誌。

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 資料庫執行個體上之資料庫的資料庫參數。