[Mondrian] RolapSchema caching Sql.Dialect
julianhyde at speakeasy.net
Wed Apr 18 03:54:08 EDT 2007
I don't see a performance problem, so I would do whatever takes the
fewest lines of code. (Which is probably what we have today.)
Note that there is a proposal on the table - from Michael B. - to
introduce a 'context' which ties together all of the SQL queries
executed to satisfy a given MDX query. That might be a more suitable
home for a cached Dialect.
> -----Original Message-----
> From: mondrian-bounces at pentaho.org
> [mailto:mondrian-bounces at pentaho.org] On Behalf Of Richard Emberson
> Sent: Tuesday, April 17, 2007 8:36 AM
> To: Mondrian developer mailing list
> Subject: [Mondrian] RolapSchema caching Sql.Dialect
> Currently, each RolapStar and each RolapHierarchy call to
> its convertInlineTableToRelation calls the
> RolapSchema getDialect() method which re-creates a
> SqlQuery.Dialect object.
> Should we let each RolapSchema instance cache the first
> SqlQuery.Dialect object after its created?
> Quis custodiet ipsos custodes:
> This email message is for the sole use of the intended
> recipient(s) and
> may contain confidential information. Any unauthorized review, use,
> disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all
> copies of the original message.
> Mondrian mailing list
> Mondrian at pentaho.org
More information about the Mondrian