Questions tagged [monetdb-assembly-language]

MAL is the low-level, imperative, single-assignment language in which MonetDB expresses its query execution plans and which MonetDB executes directly.

MAL, or MonetDB Assembly Language, is an internal language of the MonetDB Database Management System. When MonetDB is given a query SQL, or another other high-level languages which MonetDB may accept, it will generate an execution plan in MAL, then execute it using its MAL interpreter.

MAL is a single-assignment imperative language, in which a typical statement could be:

X_71 := sql.delta(X_66,C_68,r1_72,X_70);

References:

7 questions
3
votes
1 answer

How to execute a MAL function in monetdb?

I'm reading the MonetDB Internal Description because I'm interested to implement a special procedure direct in the MonetDB Algebra Language (MAL) instead of SQL-frontend (I hope to gain more performance by doing so). Here is a sample MAL code…
Fopa Léon Constantin
  • 11,863
  • 8
  • 48
  • 82
1
vote
0 answers

In assembly language how to divides the screen into two equal horizontal colors, upper half is black and lower is magenta

I have to make program in assembly language in which screen divides the screen into two equal horizontal colors using BIOS services. The colors of the upper and lower halves should be black and magenta respectively.
1
vote
1 answer

What do the statements in MonetDB query plan explanations mean?

I am trying to understand the query plan of MonetDB. Is there a documentation anywhere where I can find what each instruction stays for? If not, can anybody tell me what are returning sql.projectdelta(X_15,X_23,X_25,r1_30,X_27) and …
0
votes
0 answers

about total number in csv file

i have to write a function to calculate the total income from a csv file but I have no idea how to complete it totalIncome: #finds the total income from the file #arguments: a0 contains the file record pointer array location (0x10040000 in our…
0
votes
1 answer

How to implement SUM aggregation for strings

We're using MonetDB to implemnent an idea. For our purposes we need to implement the SUM Aggregation for Strings. My first step in trying to realize it was to just add a sum pattern in the mal files that define these patterns for the other…
Moorts
  • 15
  • 1
  • 4
0
votes
1 answer

How to find Intrumentation in Monetdb

How can I get instumemtation in monetdb ? I need thedetails like planning time , execution time for each MAL statement in monetdb . Is there any command for it ?
0
votes
1 answer

monetb: what does bind function does with access argument?

I am looking into the MAL code of an execution plan for a query. Can anyone explain what the bind function does in detail? Specifically, what does the following MAL statements actually do? X_6:bat[:oid,:int] :=…
Pradeep
  • 23
  • 8