MemCP peut désormais sérialiser et désérialiser les données de la RAM. Il ouvre ainsi de nouvelles voies pour la persistance des bases de données. Chaque table peut être configurée selon l’une de trois stratégies de persistance : uniquement en mémoire :
Quand on pense compression, on suppose souvent qu’un bit ne peut pas occuper moins d’un bit. Dans cet article, je prouverai le contraire. Le théorème du codage de Shannon Pourtant, il doit exister un moyen, selon ce théorème. Un seul
One of the most interesting compression techniques on columnar storages is sequence compression. A sequence is a column of numbers where each distance between two neighbouring numbers is equal. Example: 1 2 3 4 5 6 7 8 9 3 3 3 3 3 3 3 3 3 3
MemCP now executed its first SQL Query: MySQL [(none)]> select 1+2 AS x; +------+ | x | +------+ | 3 | +------+ 1 row in set (0,000 sec) As you can see, MemCP uses the MySQL protocol to communicate with its clients. There is also a REST end
MemCPs native access technology is the scheme scripting language. In scheme, you can do functional programming with scheme. This is an example scheme terminal session in MemCP: carli@launix-MS-7C51:~/projekte/memcp$ make && ./memcp go build
Functional programming languages are a neat tool to write parsers, especially when equipped with a pattern matching mechanism. Here's the beginning of our SQL parser in memdb: (define parse_sql (lambda (s) (begin (define identifier (lambda
To compare databases against each other, a benchmark like TPC-H is used. At first, you have to download the TPC-H benchmark from tpc.org Then you will adjust the makefile (copied from makefile.suite) ################ ## CHANGE NAME OF ANSI
Just a shmankerl from the daily life of a developer. When I tested memcp performance, I ran into the problem that my benchmark tool was too slow. The goal was to test golang's http server throughput in memcp. The setup is fairly easy: golan
Usually, databases store NULL values in form of bitmasks. In this case, each value eats up 1 bit for the possibility to become NULL. I will prove that we can do better. Uncompressed column stores of integers are a continuous column of i.e.
Au cours des 13 dernières années, il y a eu de nombreuses innovations dans le domaine des bases de données à colonnes. Cela est dû avant tout à un fabricant d'ERP allemand, qui a décidé de se différencier du leader du marché des bases de données et de faire sa propre
Most databases implement indices as a kind of tree. I will show you that columnar storages can do even better. The most widely used kind of tree structure in databases is the B-Tree. A B-Tree is a n-ary tree whose nodes fit exactly into one
Modern computers are fast. So fast that there is a huge gap between computing speed and memory bandwith and latency in memory-heavvy applications. It's All About Cache Cache levels in modern computers refer to the different levels of memory