About Protecting Transactions by Reserving Cylinders for Perm Space - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - Database Administration

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
tgx1512080410608.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
ujp1472240543947
Product Category
Software
Teradata Vantage

A transaction is aborted when it requires more space than is currently available for the requesting user. When you create a user or database, the system requests space on cylinders from the pool of free cylinders. To protect transactions, you can specify that a number of cylinders be reserved for transactions needing permanent space.

The number of free cylinders to keep in reserve for requests needing permanent space is determined by the File System field named “Cylinders Saved for PERM” in DBS Control (see “Cylinders Saved for PERM” in Teradata Vantage™ - Database Utilities , B035-1102 ). When a statement requires space, this field determines allocation as described in the following table.

IF the statement needs … AND there are… THEN the statement …
permanent space one or more free cylinders succeeds.
less than one free cylinder fails with a disk full error.
spool space more free cylinders than the amount specified in Cylinders Saved for PERM succeeds.
fewer free cylinders than the amount specified in Cylinders Saved for PERM fails with a disk full error.

This means that requests needing SPOOL space might fail more often than requests needing PERM space. This can be advantageous because failure of a request for spool space rarely involves a rollback.

To monitor and reallocate permanent disk space, you can use Teradata Viewpoint.