Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7018/backends/monet5
Modified Files:
sql.mx
Log Message:
The remaining interface routines for table compression management.`
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- sql.mx 23 Feb 2010 16:49:07 -0000 1.400
+++ sql.mx 23 Feb 2010 17:07:57 -0000 1.401
@@ -810,6 +810,13 @@
pattern gzdecompress(sch:str, tbl:str):void
address SQLgzdecompress
comment "Perform LZ decompression on a table";
+pattern truncate(sch:str, tbl:str):void
+address SQLtruncate
+comment "Remove the tables when you have a compressed image";
+pattern expand(sch:str, tbl:str):void
+address SQLexpand
+comment "Remove the compressed image";
+
@-
The distributed processing of queries requires the SQL runtime
system to be able to deliver portions of the BATs in an efficient
@@ -1067,6 +1074,8 @@
sql5_export str SQLdictdecompress(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
sql5_export str SQLgzcompress(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
sql5_export str SQLgzdecompress(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
+sql5_export str SQLtruncate(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
+sql5_export str SQLexpand(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr
pci);
sql5_export str SQLoctopusBind(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
sql5_export str SQLoctopusBinddbat(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
sql5_export str SQLargRecord(Client cntxt, MalBlkPtr mb, MalStkPtr stk,
InstrPtr pci);
@@ -5054,6 +5063,12 @@
str SQLgzdecompress(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci){
@:gzcompression(CMDbbpdecompress(&ret, &b->batCacheid))@
}
+str SQLtruncate(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci){
+ @:gzcompression(CMDbbptruncate(&ret, &b->batCacheid))@
+}
+str SQLexpand(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci){
+ @:gzcompression(CMDbbpexpand(&ret, &b->batCacheid))@
+}
@- Shredding RDF documents through SQL
Wrapper around the RDF shredder of the rdf module of M5. The first time
the database is going to be used for rdf run sql/src/sql/rdf.sql.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins