Reputation: 157
We are using mondrian olap schema with saiku to analyse our records.We are using star schema model.We have one fact table which contains around 3000000 records. We have four dimension tables timestamp,rank,path and domain. Timestamp is almost unique for each entry . Now after deploying schema in saiku when we are performing analysis saiku takes a lot of time to return results. It takes 10 minutes to fetch 3000 records and if number of records are more than 50000 saiku dies.Please suggest me on what should I do in order to boost performance of saiku and mondrian.
Upvotes: 0
Views: 2258
Reputation: 22653
You can easily figure out if this is database issue or saiku/mondrian problem:
saiku-server/tomcat/webapps/saiku/WEB-INF/classes/log4j.xml
(uncomment section below Special Log File specifically for Mondrian SQL Statements
textexplain analyze
command)If performance of queries is as slow as in Saiku then you have identified your problem.
Btw. If you really have dimension for timestamp (by second?) than you should consider splitting it into two dimensions with days and seconds.
Upvotes: 2
Reputation: 91
It's hard to understand what is your particular problem.
Two things helped us when we struggle with saiku performance problems:
indices on all fields and sometimes their combinations that may be used as dimensions - helps like everywhere in DB
we avoided joines with other tables denormalizing our data
Upvotes: 0