Le Wednesday 02 Feb 2011 à 11:56:00 (+0100), Michael Kusber a écrit :
Hello guys,
I aplogize for bothering you with what might be a simple issue for you, but I am new to monetDB and I have to solve some complex problems for which I cannot find a solution by myself. I've read about MAL in the M5 reference manual. I recognized, the normal way to execute commands is via MAPI and JDBC and stuff based on MAPI. This will be parsed into MAL, optimized and executed. Is there a way to write MAL code and give it as input to the server directly??
Yes, I'm not sure that there is a client that allows to do so, but using the MAPI C interface, you can definitely feed MAL code.
Another question: Is it possible to explicitely invoke execution of a query in multiple threads via MAPI or other means?
To my knowledge, a client is attached to a single thread. Now MonetDB may do stuff under the hood, but I'm not so sure about how you could control that. Surely someone else will give you a more detailed answer.
Kind regards,
michael
-- Guillaume Yziquel http://yziquel.homelinux.org