我尝试在MDX查询下执行超过10分钟,是否有可能提高以下查询的性能。
WITH
MEMBER PatientName AS [DimPatient].[Full Name].CurrentMember.Member_Caption
MEMBER PatientAge AS [DimPatient].[Age].CurrentMember.Member_Caption
MEMBER PatientGender AS [DimPatient].[Gender].CurrentMember.Member_Caption
MEMBER PatientMRN AS [DimPatient].[Medical Record Number].CurrentMember.Member_Caption
MEMBER [PCPList] AS Generate ([DimPCP].[Provider Key].[Provider Key].MEMBERS,
IIF([Measures].[CCMPatientCnt] <> 0,[DimPCP].[Provider Key].CurrentMember.Member_Caption + '',NULL))
MEMBER CareTeamList AS [DimCareTeam].[CareTeamName].CurrentMember.Member_Caption
MEMBER ConditionList AS [DimCondition].[Condition Name].CurrentMember.Member_Caption
SELECT ORDER(NonEmpty (([DimPatient].[Patient Key].[Patient Key],
[DimCareTeam].[CareTeamName].[CareTeamName],
[DimCondition].[Condition Name].[Condition Name]),
{[Measures].[CCMPatientCnt]} ),
([Measures].[patientName]),BASC) ON 1 ,
{ [Measures].[PatientName] ,
[Measures].[PatientAge] ,
[Measures].[PatientGender] ,
[Measures].[PatientMRN] ,
[Measures].[Num Of Minutes] ,
[PCPList] ,[CareTeamList] ,
[ConditionList] } ON 0
FROM [NavigateCube]
WHERE ( [DimManagedPopulation].[ManagedPopulationKey].&[4332],
[DimAnchorDate].[Date Key].&[20180731])