[Mondrian] Concurrency bottleneck in RolapEvaluatorRoot
Pedro Vale
pedro.vale at webdetails.pt
Wed Nov 20 12:23:12 EST 2013
Hi.
Found this comment on RolapEvaluatorRoot while analyzing query performance:
https://github.com/pentaho/mondrian/blob/master/src/main/mondrian/rolap/RolapEvaluatorRoot.java#L104
// This fragment is a concurrency bottleneck, so use a cache of
// hierarchy usages.
final HierarchyUsage hierarchyUsage = cube.getFirstUsage(hierarchy);
if (hierarchyUsage != null) {
if (defaultMember instanceof RolapMemberBase) {
((RolapMemberBase) defaultMember).makeUniqueName(
hierarchyUsage);
}
}
I was directed to this class because my logs showed that makeUniqueName is being repeatedly called while running the query, even though the member already has its unique name assigned.
Does anyone know why this is a concurrency bottleneck?
thanks,
Pedro Vale
Webdetails Dev Lead
http://www.webdetails.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20131120/743772f5/attachment.html
More information about the Mondrian
mailing list