All databases, including master, have a last-chance threshold, which is an estimate of the number of free log pages that are required to back up the transaction log. As you allocate more space to the log segment, SAP ASE automatically adjusts the last-chance threshold.
When the amount of free space in the log segment falls below the last-chance threshold, SAP ASE automatically executes a special stored procedure called sp_thresholdaction. (Use sp_modifythreshold to specify a different last-chance threshold procedure. See the Reference Manual: Procedures).
This figure illustrates a log segment with a last-chance threshold. The shaded area represents used log space; the unshaded area represents free log space. The last-chance threshold has not yet been crossed.
As users execute transactions, the amount of free log space decreases. When the amount of free space crosses the last-chance threshold, SAP ASE executes sp_thresholdaction.