SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45162: Slow performance and incorrect results might occur if you use DBCREATE_TABLE_OPTS to create a primary index for a Teradata table

DetailsHotfixAboutRate It

A problem might occur if you use the data set option DBCREATE_TABLE_OPTS to create a primary index on a Teradata table for which the input data is from a different Teradata table. The problem occurs if the DBIDIRECTEXEC system option is set; not all of the processing is being done in the database but is instead being handled by SAS. SAS retrieves the data from the existing Teradata table and then, using SAS defaults for data types, issues the CREATE TABLE statement, including the primary index to Teradata. The data is then passed over to Teradata to be inserted into the newly created table. This process is slower because the data is being read in from and passed back to the Teradata table.

This process can also cause a data integrity issue. Some numerics and dates cannot be stored in SAS exactly as they were stored in Teradata. As a result, the new table does not contain exactly the same data as the existing data. There is also the potential that the data types for the new table might not be the same as those in the input table. This can occur because SAS, when building the CREATE TABLE statement, uses its default data types rather than the same data types for the columns that were defined in the original table. A data integrity issue might occur if the value is not stored in the same manner.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to TeradataWindows Vista for x649.2 TS2M3
64-bit Enabled AIX9.2 TS2M39.4 TS1M0
64-bit Enabled HP-UX9.2 TS2M39.4 TS1M0
64-bit Enabled Solaris9.2 TS2M39.4 TS1M0
HP-UX IPF9.2 TS2M3
Linux9.2 TS2M3
Linux for x649.2 TS2M39.4 TS1M0
Solaris for x649.2 TS2M39.4 TS1M0
Microsoft® Windows® for x649.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M3
Windows 7 Home Premium x649.2 TS2M3
Microsoft Windows Server 20089.2 TS2M3
Microsoft Windows Server 2008 for x649.2 TS2M39.4 TS1M0
Microsoft Windows XP Professional9.2 TS2M3
Windows 7 Enterprise 32 bit9.2 TS2M3
Windows 7 Enterprise x649.2 TS2M39.4 TS1M0
Windows 7 Home Premium 32 bit9.2 TS2M3
Windows 7 Ultimate x649.2 TS2M3
Windows 7 Professional 32 bit9.2 TS2M3
Windows 7 Professional x649.2 TS2M39.4 TS1M0
Windows 7 Ultimate 32 bit9.2 TS2M3
Windows Vista9.2 TS2M3
Microsoft Windows Server 2003 for x649.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.2 TS2M3
z/OS9.2 TS2M39.4 TS1M0
* 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.