Usage Note 35836: Understanding which SAS® OLAP queries are affected by the "Maximum number of flattened rows" option
Overview
The Maximum number of flattened rows option for the SAS OLAP Server enables you to control the maximum number of flattened rows, or two-dimensional results sets, that are returned. This setting has no affect on multidimensional result sets.
The OLE DB for OLAP design specifications describe two kinds of OLAP query result sets: multidimensional and flattened. Most OLAP applications receive their query results as multidimensional result sets. There are two main exceptions when flattened results will be returned.
- Drillthrough
- Drillthrough queries are two-dimensional queries against a relational table. As such, they can only be requested as flattened result sets.
- SQL Passthru
- When using SQL Passthru to query a cube, an MDX, or multidimensional expression, is passed via the SELECT statement to the OLAP server. However, SQL only understands how to process rows and columns from a two-dimensional table. Therefore, when SQL Passthru is used to query a cube, the resulting data will be returned as a flattened result set.
Summary
The Maximum number of flattened rows option controls the size of the result set returned when a drillthrough or SQL Passthru is performed on an OLAP cube. This setting has nothing to do with the type of cube storage used, including how the ROLAP aggregations are processed.
Changing the default setting
You can change the default setting for the Maximum number of flattened rows option from within SAS® Management Console.
- Under Server Manager, navigate to the node for your OLAP server. This is the physical OLAP server and is located by drilling down from the top of the Server Manager tree view.
- Right-click on the node and select Properties.
- In the SAS OLAP Server Properties dialog box, click the Options tab, and then the Advanced Options button.
- In the Advanced Options dialog box, click the Server tab and enter the preferred value for the Maximum number of flattened rows option. By default, this value is set to 300,000 rows.
Operating System and Release Information
| SAS System | SAS OLAP Server | z/OS | 9.1 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
| Microsoft Windows NT Workstation | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
| Microsoft Windows XP Professional | 9.1 TS1M0 | |
| 64-bit Enabled AIX | 9.1 TS1M0 | |
| 64-bit Enabled HP-UX | 9.1 TS1M0 | |
| 64-bit Enabled Solaris | 9.1 TS1M0 | |
| HP-UX IPF | 9.1 TS1M0 | |
| Linux | 9.1 TS1M0 | |
| OpenVMS Alpha | 9.1 TS1M0 | |
| Tru64 UNIX | 9.1 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: | Usage Note |
| Priority: | |
| Topic: | Query and Reporting ==> OLAP (Online Analytical Processing)
|
| Date Modified: | 2009-05-22 16:25:02 |
| Date Created: | 2009-05-07 09:42:27 |