Wrap Around Midnight Option - Advanced SQL Engine - Teradata Workload Management

Teradata Vantage™ - Workload Management User Guide

Product
Advanced SQL Engine
Teradata Workload Management
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
nbl1556236178169.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1197
lifecycle
previous
Product Category
Software
Teradata Vantage

When you create period events, use the Wrap Around Midnight option to define a time range spanning midnight. With this option, the period begins on the days selected and ends the following day. If you do not use this option, the period is only active on the days selected. The period may start or end at midnight, depending on days selected.

For example, in the following tables, you want to specify that an after-hours batch window for payroll updates occurs on Mondays and Tuesdays from 5 PM until 8 AM. In the following table, the Wrap Around Midnight option is not selected. The unintended consequences of not using Wrap Around Midnight appear in italics.

Time Segment Monday Tuesday Wednesday
Midnight — 8 AM Active Active Inactive
8 AM — 5 PM Inactive Inactive Inactive
5 PM — 11:59 PM Active Active Inactive

In the following table, the Wrap Around Midnight option is selected, and the after-hours batch window for payroll updates occurs on Mondays and Tuesdays from 5 PM until 8 AM, as expected.

Time Segment Monday Tuesday Wednesday
Midnight — 8 AM Inactive Active Active
8 AM — 5 PM Inactive Inactive Inactive
5 PM — 11:59 PM Active Active Inactive