Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 808597 thumbnail
User 1020637 avatar

By RajuTJ
via toolsjournal.com
Published: Jun 19 2012 / 17:54

MemSQL, a new breed of databases has gone live today that uses an abstract framework that combines processing speed and robust SQL interfce within an in-memory data tier to achieve actionable insights at rates 30 times faster than with disk-backed alternatives.
  • 3
  • 1
  • 656
  • 636

Comments

Add your comment
User 840261 avatar

Yurik Tyrant replied ago:

0 votes Vote down Vote up Reply

"translates SQL into C++" ???

User 1034267 avatar

openid-provider.appspot.com/vasili@memsql.com replied ago:

0 votes Vote down Vote up Reply

That is correct. Unlike traditional SQL implementations which interpret query trees at run time to evaluate SQL queries, MemSQL auto-parameterizes the SQL query, translates SQL into C++ code, compiles that code into a shared object. The shared object is cached and used to evaluate the query and other similar queries. By similar I mean queries that can be evaluated using the same generated code but with different parameters. For example these 3 quereis will require only one compilation:

select * from my_table where col = 101;
select * from my_table where col = 102;
select * from my_table where col = 103;

What's more is that shared objects are cached durably on disk, so you can stop or kill the server, start it back up and run your workload without recompiling queries again.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (1)