This Document contains information on several performance unittests that scope the performance of main database functionality over the curse of time.
Runtime for inserting 30000 complex documents with several secondary indexes and referential integrity constraints by 10 concurrent actors.
In our example data is hierachical, meaning that a set of documents of collection :line-item references exactly one document of collection :part-order. In layman terms, one part-order contains several line-items; and one order contains several part-orders. The subsequently picture denotes this hierarchie.
Denormalizing gives back a flat structure denoted by the following picture. From a technical point of view denormalizing is performed by replacing a foreign key by the document denoted by the foreign key. In layman terms, denormalizing performs all necessary read operations that get all the foreign data (directly and transitively) referenced by the document passed into the denormalization function.
Here hierachie denotes grouping the data into certain categories. For each value of the first category the grouping is applied recursivly to the rest of the categories. One can use such a hierarchie to search for documents matching certain category values.
Joining from collection A to B to C, where we consider only a certain a of A, C contains aprox. 1500 tupels. 3 Threads do this concurrently.
Projecting data is like querying relations using joins in relational database, using projections one can search for certain data that is associated using referential integrity constraints.
lein midje
Starting from 2016-08-17 we perform this tests on a
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close