I have a PostgreSQL OLAP cube with 5 joined tables with about 1 million rows. A lot of users could filter dimensions via web interface that creates high workload on the server. Web application is an analytics tool so users could change dimensions constantly to analyze their business. Could you please give some tips how to improve performance? For example, it's a good idea to use a materialized view with 5 joined tables which is cached by Postgres and a user queries this view and doesn't do the joins again and again. Or use indexes on most frequently used columns. Please help! ::-)