SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 37074: Query performance is slow on RPO_PLAN_MEMBER table joins

DetailsHotfixAboutRate It

You might observe slow performance in SAS® Regular Price Optimization, when running the following query:

select pm.rpo_plan_sk, pm.prod_hier_sk, pm.geo_hier_sk, pm.effective_dt as start_dt, pm.user_price, rl.suggested_price from DI_DM.rpo_plan_member pm left join DI_DM.rpo_plan_member_result rl ON pm.rpo_plan_sk = rl.rpo_plan_sk and pm.geo_hier_sk = rl.geo_hier_sk and pm.prod_hier_sk = rl.prod_hier_sk AND pm.rpo_plan_sk = COALESCE (pm.rpo_plan_sk , pm.rpo_plan_sk) AND pm.prod_hier_sk = COALESCE (pm.prod_hier_sk , pm.prod_hier_sk) WHERE pm.approval_status_cd = 2 and pm.effective_dt >= Date('2006-07-02') AND pm.approval_status_cd = COALESCE(pm.approval_status_cd, pm.approval_status_cd)

Additional indexes on the RPO_PLAN_MEMBER table will increase performance significantly.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Regular Price OptimizationMicrosoft Windows 2000 Advanced Server3.29.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server3.29.1 TS1M3 SP4
Microsoft Windows 2000 Server3.29.1 TS1M3 SP4
Microsoft Windows 2000 Professional3.29.1 TS1M3 SP4
Microsoft Windows NT Workstation3.29.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition3.24.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition3.24.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows Server 2003 Standard Edition3.24.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows Server 20083.29.1 TS1M3 SP4
Microsoft Windows XP Professional3.24.29.1 TS1M3 SP49.2 TS2M0
Windows Vista3.24.29.1 TS1M3 SP49.2 TS2M0
64-bit Enabled AIX3.24.29.1 TS1M3 SP49.2 TS2M0
* 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.