[Mondrian] <join>, <Query> and <view> for snowflake schemas (Selina Tech)

Stefano Celati stefano.celati at bnova.it
Mon Mar 21 09:41:48 EDT 2016

Way 1 is the best, IMHO, because the "joined outer table" will be used 
only when you're asking an element from that table (or for some caching 
Way 2 & Way 3 will generate the underlying SQL for EVERY user query, so 
it's to be used only when you want to "materialize" something you don't 
have in your DB (a concatenation of fields or an outer-joined relationship).


Il 19/03/2016 17:00, mondrian-request at pentaho.org ha scritto:
> Send Mondrian mailing list submissions to
> 	mondrian at pentaho.org
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.pentaho.org/mailman/listinfo/mondrian
> or, via email, send a message with subject or body 'help' to
> 	mondrian-request at pentaho.org
> You can reach the person managing the list at
> 	mondrian-owner at pentaho.org
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Mondrian digest..."
> Today's Topics:
>     1. <join>,<Query> and <view> for snowflake schemas (Selina Tech)
> ----------------------------------------------------------------------
> Message: 1
> Date: Fri, 18 Mar 2016 16:32:49 -0700
> From: Selina Tech <swucareer99 at gmail.com>
> Subject: [Mondrian] <join>,<Query> and <view> for snowflake schemas
> To: Mondrian developer mailing list <mondrian at pentaho.org>
> Message-ID:
> 	<CAOpZfza7hL66Q3psz-p9q-5AYpB7WiJoCpdkw+uYPZHSvuE_Mg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> Dear All:
>      When I study the Mondrian schema. I think we have three different ways
> for the Dimension of snowflake schema.
> Way 1:  Use <Join> as the example at
> http://mondrian.pentaho.com/head/documentation/schema.php#Star_schemas
> Way 2: Use <Query> to define a ?table?, and use this ?table? for Dimension
> table
> Way 3. Use <View>  to define a view ?table? by <SQL> and use this ?table?
> for Dimension table
>       Is any one of them wrong? if they are right, how could I choose one of
> them? How is the different on performance?  when we use <view>, is this
> <view> will generated in memory, disk or database? what happen if the
> result of view is huge on size?
> Your any help is highly appreciated.
> Sincerely,
> Selina
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20160318/830c59ec/attachment-0001.html
> ------------------------------
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
> End of Mondrian Digest, Vol 111, Issue 9
> ****************************************

Stefano Celati
stefano.celati at bnova.it <mailto:stefano.celati at bnova.it>
*BNova s.r.l.* 	www.bnova.it <http://www.bnova.it>

via Massa Avenza, 38/D - 54100 Massa(MS)
tel :+39-0585-842210
dir :+39-0585-600357 / +39-340-9733823
fax :+39-0585-847107
facebook <https://www.facebook.com/BNova.BigDataAnalytics> twitter 
<https://twitter.com/BNovaConsulting> youtube 
<https://www.youtube.com/user/bnovaconsultingsrl> linkedin 

The information contained in this electronic message and any attachments 
(the "Message") is intended for one or more specific individuals or 
entities, and may be confidential, proprietary, privileged or otherwise 
protected by law. If you are not the intended recipient, please notify 
the sender immediately, delete this Message and do not disclose, 
distribute, or copy it to any third party or otherwise use this Message. 
Electronic messages are not secure or error free and can contain viruses 
or may be delayed, and the sender is not liable for any of these 
occurrences. The sender reserves the right to monitor, record and retain 
electronic messages.
Le informazioni contenute in questo messaggio e gli eventuali allegati 
(il "Messaggio") si intendono inviate a uno o piu' specifici 
destinatari. Il contenuto del Messaggio puo' essere confidenziale, 
riservato e comunque protetto dalla legge applicabile. Se non siete i 
destinatari del Messaggio, siete pregati di informare immediatamente il 
mittente, cancellate questo Messaggio, non rivelatelo, non distribuitelo 
ne' inoltratelo a terzi, non copiatelo ne' fatene alcun uso. I messaggi 
di posta elettronica non sono sicuri e sono soggetti ad alterazioni, 
possono essere trasmettitori di Virus informatici o soggetti a ritardi 
nella distribuzione. Il mittente del Messaggio non puo' essere in alcun 
modo considerato responsabile per queste evenienze. Il mittente si 
riserva il diritto di archiviare, ritenere e controllare i messaggi di 
posta elettronica.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20160321/ce8f4a2e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook_blue.png
Type: image/png
Size: 252 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20160321/ce8f4a2e/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_blue.png
Type: image/png
Size: 441 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20160321/ce8f4a2e/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: youtube_blue.png
Type: image/png
Size: 349 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20160321/ce8f4a2e/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin_blue.png
Type: image/png
Size: 318 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20160321/ce8f4a2e/attachment-0003.png 

More information about the Mondrian mailing list