Problem Note 54619: Joining two Oracle tables that contain numeric columns might cause slow response time in SAS® 9.4
Joining two Oracle tables, one with a column data type of NUMBER and another with a column data type of BINARY_DOUBLE, causes slow performance. Performance degrades due to the data type mismatch on the join column, which is adding in the additional data type conversion overhead.
The fix is to ensure that the join column data types match exactly.
For example, "COL1" data type is a BINARY_DOUBLE, and the "CLIENTID" column is a NUMBER(19,5). To improve performance, ensure that "CLIENTID" type is BINARY_DOUBLE or ensure that "COL1" is created with a data type NUMBER. This can be done by specifying the format with precision/scale values as 19,5 or by using DBTYPE=(DII_1034='NUMBER(19,5)') .
If you are creating an Oracle table from SAS® and you do not want to have a numeric column as a BINARY_DOUBLE, use the LIBNAME option OR_BINARY_DOUBLE=NO.
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to Oracle | Microsoft® Windows® for x64 | 9.4 TS1M0 | |
| Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | |
| Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | |
| Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | |
| Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | |
| Microsoft Windows 8.1 Pro | 9.4 TS1M0 | |
| Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | |
| Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | |
| Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | |
| Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | |
| Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | |
| Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | |
| Microsoft Windows Server 2012 Std | 9.4 TS1M0 | |
| Windows 7 Enterprise x64 | 9.4 TS1M0 | |
| Windows 7 Professional x64 | 9.4 TS1M0 | |
| 64-bit Enabled AIX | 9.4 TS1M0 | |
| 64-bit Enabled Solaris | 9.4 TS1M0 | |
| HP-UX IPF | 9.4 TS1M0 | |
| Linux for x64 | 9.4 TS1M0 | |
| Solaris for x64 | 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: | medium |
| Topic: | Data Management ==> Data Sources ==> External Databases ==> Oracle
|
| Date Modified: | 2014-12-03 16:32:39 |
| Date Created: | 2014-11-13 17:07:57 |