Considerations For Dropping Join Indexes to Enable Client Batch Load Utilities - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

You cannot drop a join index to enable batch data loading by utilities such as MultiLoad and FastLoad as long as queries are running that access that join index. Each such query places a READ lock on the join index while it is running, so it blocks the completion of any DROP JOIN INDEX transaction until the READ lock is removed. Furthermore, as long as a DROP JOIN INDEX transaction is running, batch data loading jobs against the underlying tables of the join index cannot begin processing because of the EXCLUSIVE lock DROP JOIN INDEX places on the base table set that defines the index.