SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47093: Registering Teradata tables using SAS® Management Console results in slow response time

DetailsHotfixAboutRate It

After you define a Teradata library in SAS Management Console, you can use SAS Management Console to register tables. While you are registering the tables, the query shown below is passed on the Teradata side. SAS runs this query to get a list of table names that are needed for registering tables in SAS Management Console.

SELECT TableName, CASE TableKind WHEN 'V' THEN 'VIEW' ELSE 'TABLE' END FROM DBC.TablesX WHERE ((TableKind = 'T' OR TableKind = 'V' OR TableKind = 'O') AND UPPER (DatabaseName)='DBNAME')

If you run the query below with the Basic Teradata Query (BTEQ) utility outside of SAS, you should see the same response time.

A workaround for this issue is to use the METALIB procedure (PROC) to register tables in metadata.

Example of PROC METALIB

ods listing close; options metauser=sasadm metapass=XXXXXXXX; /* user credentials that have permission to update */ proc metalib; omr( library="Teradata" repname="Foundation" ); report; noexec; /* or remove the noexec to update */ run;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to TeradataMicrosoft® Windows® for x649.39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.39.3 TS1M2
Microsoft Windows Server 2003 for x649.39.3 TS1M2
Microsoft Windows Server 20089.39.3 TS1M2
Microsoft Windows Server 2008 for x649.39.3 TS1M2
Microsoft Windows XP Professional9.39.3 TS1M2
Windows 7 Enterprise 32 bit9.39.3 TS1M2
Windows 7 Enterprise x649.39.3 TS1M2
Windows 7 Home Premium 32 bit9.39.3 TS1M2
Windows 7 Home Premium x649.39.3 TS1M2
Windows 7 Professional 32 bit9.39.3 TS1M2
Windows 7 Professional x649.39.3 TS1M2
Windows 7 Ultimate 32 bit9.39.3 TS1M2
Windows 7 Ultimate x649.39.3 TS1M2
Windows Vista9.39.3 TS1M2
Windows Vista for x649.39.3 TS1M2
64-bit Enabled AIX9.39.3 TS1M2
64-bit Enabled HP-UX9.39.3 TS1M2
64-bit Enabled Solaris9.39.3 TS1M2
HP-UX IPF9.39.3 TS1M2
Linux9.39.3 TS1M2
Linux for x649.39.3 TS1M2
Solaris for x649.39.3 TS1M2
* 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.