Hi Ahmad, Such an analysis calls for a deep study of the code base, which you already have at your disposal. For datastructures related to all table operations you can start by studying the .../gdk library to raise from MonetDB naive to MonetDB informed user. Thereafter, the MAL interpreter becomes your target for studies. Once done, you might browse around in the SQL code base for further details on catalog datastructures. Success, regards, Martin ps. As ever, the source code is your most detailed documentation. On 1/18/13 1:09 PM, Hassan, Ahmad wrote:
Hi Team,
I have modified the monetdb build system to generate executable using LLVM Bitcode and added instrumentation rather than generating exe directly from Object files. At the moment the changes are limited to following executables:
monetdbd: tools/merovingian/daemon mserver5: tools/mserver
I have a question please. I want to analyse the storage manager of monetdb that implements the data structures for holding Table's data and Indexes. More precisely, I want to analyse all the data structures involved during Query processing explicitly i.e indexes, data structures holding tables data in main memory. May I ask which sub-tree of Monet source tree deals with that. Being naïve in monetdb internals, I assumed that monetdbd and mserver5 would be relevant because they are server side part of the code.
If I get any documentation on that, then it will be very useful.
Thanks.
Kind Regards, Ahmad
-----Original Message----- From: users-list-bounces+ahmad.hassan=sap.com@monetdb.org [mailto:users-list-bounces+ahmad.hassan=sap.com@monetdb.org] On Behalf Of Fabian Groffen Sent: 10 January 2013 17:35 To: users-list@monetdb.org Subject: Re: MonetDB under LLVM
On 10-01-2013 17:23:27 +0000, Hassan, Ahmad wrote:
Yes Fabian told me this earlier. I tried that option but it only uses 'clang' to compile the source code. It doesn't produce LLVM bitcode files. It produces standard object files.
A quick search with your favourite search engine would have told you that you'll need at least some intrusive changes to the build-system, and a different way of building.
Since you seem not to have reached that conclusion, I doubt whether you are the one to actually find out what you need to get it working. It is not of a concern to MonetDB, at the moment.