SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67877: Using the X versions of Teradata views with CAS libraries might cause performance degradation

DetailsHotfixAboutRate It

When SAS® Cloud Analytic Services (CAS) libraries interact with SAS/ACCESS® Interface to Teradata, you might observe the following issues:

  • Poor performance
  • No Teradata tables are listed in a CAS library

These issues can occur because SAS® software refers to the X versions of Teradata views, and these views take security into consideration. Non-X views are faster; however, they do not consider security.

Unconditional SELECT statements that are executed on non-X views might cause the result to exhaust the available spool space of the user. For more information about querying X views versus non-X views, refer to the Teradata documentation.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.

After you install the hot fix, in order to use non-X views, you need to set the environment variables SAS_NON_XVIEWS and SAS_NON_XVIEW_TABLES.

On each CAS node, use a text editor to edit the cas_usermods.settings file:

sudo vi /opt/sas/viya/config/etc/cas/default/cas_usermods.settings

Add the following lines:

SAS_NON_XVIEWS=YES
export SAS_NON_XVIEWS
SAS_NON_XVIEW_TABLES=YES
export SAS_NON_XVIEW_TABLES


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to TeradataLinux for x64V.03.052021.1.6ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.