Problem Note 17449: NON EMPTY CROSSJOIN optimization in SAS® OLAP Server
The SAS® OLAP Server can provide optimized queries for the results when a
NON EMPTY CROSSJOIN is used by internally using a NONEMPTYCROSSJOIN
function. The server will examine the query and determine which approach
is better suited to the result set.
In order for the server to perform the optimization, the query must have
the following characteristics:
- The MDX query must have a CrossJoin() on an axis with "NON EMPTY"
specified. This includes CrossJoin()s in NamedSets which are directly
referenced by an axis in the SELECT statement. This is a common case
when using SAS Web Report Studio or other clients using information
maps to access the cube.
- No calculated members which access other dimensions specified in the
query are referenced in the query. This condition is due to the
internal processing of NonEmptyCrossJoin() which cannot re-use
dimensions across axes. Here is an example of such a query:
Note the use of cars in the calculated measure and in the CrossJoin()
WITH member [Measures].[CalcMeas] as
'iif(cars.currentmember.parent is cars.[all cars].ford,
100,null)'
SELECT
[Measures].allmembers on columns,
NON EMPTY {
crossjoin(
{ dealers.[all dealers].finch.al },
cars.members
)
} on rows
FROM mddbcars
The optimization can be enabled or disabled through the use of "Optimize
NON EMPTY CROSSJOIN" option available in SAS Management Console. The
default is to enable this optimization.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS OLAP Server | OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 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: | high |
Topic: | Query and Reporting ==> OLAP (Online Analytical Processing) System Administration ==> Servers ==> OLAP
|
Date Modified: | 2006-09-01 11:36:39 |
Date Created: | 2006-04-12 09:28:45 |