design a schema
-
start saiku ee server
-
cd to installed path
$ cd /Applications/Saiku Enterprise/server $ sh start-saiku.sh
-
-
login
-
go to http://localhost:8080/
# saiku 3.6-ee # use evaluation login # username admin # password admin
-
-
menus
-
new query
-
open query
-
logout
-
about
-
improve this translation
-
admin console
-
dashboads
-
schema designer
-
schema designer
-
connection
-
click
schema designer
# create a new schema or open an existing project? # new/open/cancel # 1. `open` # edit functionality coming soon. # 2. `edit` # schema name: o2o
-
connection details
# connection type: sql/mongo # 1. sql # driver: com.mysql.jdbc.Driver # url: jdbc:mysql://localhost # username: root # password: ****** # 2. mongo # mongo schema: mongo-o2o.json
-
connection details - sql
# available databases: select # database schema : select - public
-
click
get tables
-
-
design snowflake
-
drag table to canvas
# table edit # table name: user # select key: id # click `assign key`
-
connect them
# join configuration # source table: user # target table: date # foreign key column: day
-
repeat
-
-
add cubes and dimensions
-
dimensions - view options
# tables: date # dimension name: date # select key: id # select type: standard/time
-
dimensions - attributes
# year # month # week
-
dimensions - hierarchies
# 1. hierarchy # name: year month # all member name: all months # 2. levels # level: year # month
-
cubes - view options
# cube name: user
-
cubes - measure group
# measure group name: user_measures # select table: user
-
cubes - add measures
# measure name: platform # select column: platform # select aggregate: sum/count/average/max/min # format string:
-
cubes - link dimensions
# select dimension: date # select foreign key: date
-
data source
-
create
-
details
# name: o2o # connection type: mondrian/xmla/mongo ******** # url: jdbc:mysql://localhost # schema: /datasources/o2o.xml # jdbc driver: com.mysql.jdbc.Driver # username: root # password: ******
-
foodmart demo
# name: foodmart # connection type: mondrian # url: jdbc:h2:../../data/foodmart # schema: /datasources/o2o.xml # jdbc driver: org.h2.Driver # username: sa # password:
-