17.10 - 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.10
Release Date
July 2021
Content Type
Administration
User Guide
Publication ID
B035-1197-171K
Language
English (United States)

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