Many thanks, David - just tried creating and serialising a map version of the language data, and then using it inside my test query - massive speedup as you suggested; less than two seconds for the "experienced" user elapsed time, <0.24 seconds reported by the profiler and only a small transient memory hit (~1%).
Please would you point me at appropriate documentation on system global properties? On 16 March 2012 14:26, David Lee <[email protected]> wrote: > That is a perfect use case for maps.**** > > If the file doesn't change often you could even set it as a system global > property. **** > > ** ** > > Let me know if you'd like some sample code **** > > ** ** > > > ----------------------------------------------------------------------------- > **** > > David Lee > Lead Engineer > MarkLogic Corporation > [email protected] > Phone: +1 650-287-2531 > Cell: +1 812-630-7622 > www.marklogic.com > > This e-mail and any accompanying attachments are confidential. The > information is intended solely for the use of the individual to whom it is > addressed. Any review, disclosure, copying, distribution, or use of this > e-mail communication by others is strictly prohibited. If you are not the > intended recipient, please notify us immediately by returning this message > to the sender and delete all copies. Thank you for your cooperation.**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Nick Tuckett > *Sent:* Friday, March 16, 2012 10:26 AM > > *To:* MarkLogic Developer Discussion > *Subject:* Re: [MarkLogic Dev General] Advice on improving "join" on > attribute performance**** > > ** ** > > It's just shy of 1.5Mb for one language with just over 13000 entries, so > that might be feasible...?**** > > ** ** > > We've got localised text for eight languages, so if used in production > that would be about 12Mb total.**** > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
