Problem Note 47093: Registering Teradata tables using SAS® Management Console results in slow response time
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
SAS System | SAS/ACCESS Interface to Teradata | Microsoft® Windows® for x64 | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2008 | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows Server 2008 for x64 | 9.3 | | 9.3 TS1M2 | |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M2 | |
Windows 7 Enterprise 32 bit | 9.3 | | 9.3 TS1M2 | |
Windows 7 Enterprise x64 | 9.3 | | 9.3 TS1M2 | |
Windows 7 Home Premium 32 bit | 9.3 | | 9.3 TS1M2 | |
Windows 7 Home Premium x64 | 9.3 | | 9.3 TS1M2 | |
Windows 7 Professional 32 bit | 9.3 | | 9.3 TS1M2 | |
Windows 7 Professional x64 | 9.3 | | 9.3 TS1M2 | |
Windows 7 Ultimate 32 bit | 9.3 | | 9.3 TS1M2 | |
Windows 7 Ultimate x64 | 9.3 | | 9.3 TS1M2 | |
Windows Vista | 9.3 | | 9.3 TS1M2 | |
Windows Vista for x64 | 9.3 | | 9.3 TS1M2 | |
64-bit Enabled AIX | 9.3 | | 9.3 TS1M2 | |
64-bit Enabled HP-UX | 9.3 | | 9.3 TS1M2 | |
64-bit Enabled Solaris | 9.3 | | 9.3 TS1M2 | |
HP-UX IPF | 9.3 | | 9.3 TS1M2 | |
Linux | 9.3 | | 9.3 TS1M2 | |
Linux for x64 | 9.3 | | 9.3 TS1M2 | |
Solaris for x64 | 9.3 | | 9.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.
Slow response time occurs when you register tables using SAS Management Console
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-08-23 14:05:55 |
Date Created: | 2012-07-30 20:51:44 |