Ask the Expert

Help with AFTER SUSPEND trigger

In 9i, when using resumable space allocation, you have an AFTER SUSPEND trigger defined. If the original transaction has a space allocation problem and the trigger fires, then the trigger has a space allocation problem trying to write some rows into an audit table, what will happen to the trigger and the original transaction?

    Requires Free Membership to View

The after suspend trigger in this situation will end abnormally, with an exception. It is a good idea to handles any exceptions in your trigger code. The AFTER SUSPEND trigger is an autonomous transaction, meaning that it happens independently of the transaction that fired the trigger. So while the AFTER SUSPEND trigger may end abnormally, the original transaction will stay in suspended mode until you resolve the space issue.

This was first published in October 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: