|
When the query returns more than 5000 records, the plugin Saiku takes more than 7 minutes to return the data. This problem does not occur in JPivot. I'm using Pentaho BI-Server. Someone knows this problem? |
|
I see tremendous improvement! Thanks Paul!! no problem :) glad you like it
(09 Feb, 06:29)
pstoellberger ♦♦
|
|
if you are returning 5000 records then you are probably doing something wrong why would you return so many records? are you trying to export them? or do you just want to display them in the UI? There is an attribute that generates a lot of records. The problem is that if you use this attribute incorrectly, the screen freezes. Example: The attribute 3 has a total of 56,000 members. It is usually used a hierarchy attribute 1, attribute 2, attribute 3, but if the user removes the attribute 2 and display the attribute 3 direct, the whole screen freezes. Thanks
(04 Jul '11, 09:32)
Leandro
does the screen freeze without the "executing query.... " message? could you copy me the last few tomcat/bin/saiku.log entries? right after you executed this query
(04 Jul '11, 09:42)
pstoellberger ♦♦
|
|
oh sorry you are using the biserver plugin. could you add that to your tomcat/webapps/pentaho/WEB-INF/classes/log4j.xml <appender name="SAIKUFILE" class="org.apache.log4j.DailyRollingFileAppender">
</appender>
<category name="org.saiku"> <priority value="DEBUG"/> </category> <root> <priority value="WARN"/> <appender-ref ref="SAIKUFILE"/> </root> |
|
It looks like formatting is taking enormous amount of time. Here is the debug trace with 2000+ records 2012-01-03 18:08:07,494 INFO [org.saiku.service.olap.OlapQueryService] Size: 2/2490 Execute: 837ms Format: 37135ms Total: 37972ms 2012-01-03 18:08:07,494 INFO [org.saiku.service.olap.OlapQueryService] Size: 2/2490 Execute: 837ms Format: 37135ms Total: 37972ms I am using 2.2RC1 plugin. |
|
The time degradation is not linear. Here is another dataset with 70 records: 2012-01-03 18:17:46,992 INFO [org.saiku.service.olap.OlapQueryService] Size: 2/70 Execute: 215ms Format: 50ms Total: 265ms 2012-01-03 18:17:46,992 INFO [org.saiku.service.olap.OlapQueryService] Size: 2/70 Execute: 215ms Format: 50ms Total: 265ms I have another dataset with some 12,000 records, and the execution won't finish ever after some 15 minutes. |
|
as soon as the cache is filled it will be fast. we know that there are some issues with our formatters that slow down the whole process. this is definitely something we will work on as soon as possible! |
|
i just found a huge issue in that code and i managed to speed it up big time i should have it commited in a few minutes so if you download the latest saiku from http://ci.analytical-labs.com you should see a performance boost for large queries |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 30 Jun '11, 08:37
Seen: 659 times
Last updated: 09 Feb, 06:29