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
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
SAS System | SAS/ACCESS Interface to Teradata | Windows Vista for x64 | 9.2 TS2M3 | |
64-bit Enabled AIX | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.4 TS1M0 |
HP-UX IPF | 9.2 TS2M3 | |
Linux | 9.2 TS2M3 | |
Linux for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Solaris for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 9.2 TS2M3 | |
Windows 7 Professional x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
Windows Vista | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
z/OS | 9.2 TS2M3 | 9.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.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2012-01-11 10:18:22 |
Date Created: | 2011-12-16 14:11:23 |