ロールバックを行うテーブルに記録されるレコードについて

kawaharah
Tera Contributor

削除レコードのロールバックを行うテーブルとしてsys_audit_deleteとsys_rollback_contextがあります。

sys_audit_deleteは監査しているテーブルの削除を記録しているように見えるのですが、sys_rollback_contextはどのような基準で記録されているのでしょうか?

全部の削除を記録しているようには見えなかったので、ご存じの方がいればご教授お願いいたします。

1 件の受理された解決策

Ankur Bawiskar
Tera Patron
Tera Patron

@kawaharah 

both have different purposes

sys_audit_delete

-> tracks audited table deletions

-> allows to Undelete

-> only includes table where audit delete is enabled

sys_rollback_context

-> holds data of all rollback context such as background script, fix script etc

Rollback context properties 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

元の投稿で解決策を見る

1件の返信1

Ankur Bawiskar
Tera Patron
Tera Patron

@kawaharah 

both have different purposes

sys_audit_delete

-> tracks audited table deletions

-> allows to Undelete

-> only includes table where audit delete is enabled

sys_rollback_context

-> holds data of all rollback context such as background script, fix script etc

Rollback context properties 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader