Minimizing Duplicate NUPI Row Checks - Advanced SQL Engine - Teradata Database

Database Design

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
qby1588121512748.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1094
lifecycle
previous
Product Category
Teradata Vantageā„¢
There are several ways to minimize or even eliminate duplicate NUPI row checks while still preventing duplicate row from being inserted. This topic describes some of the ways to achieve that goal.
  • Use a non-primary index column set to define a UNIQUE constraint or USI.
  • Use multiple columns to define NUPIs in order to make the index as close to being unique as possible.
  • Keep the number of NUPI duplicate rows for each value below 100.