Skip to content
#

bitemporal

Here are 9 public repositories matching this topic...

tolitius
tolitius commented Aug 26, 2020

2 * X queries vs. 1

currently a single transaction with a batch X of documents does 2 * X SQL queries.
it looks whether the document exists first and then inserts or updates it:

(defrecord JdbcDocumentStore [ds dbtype]
  db/DocumentStore
  (submit-docs [this id-and-docs]            ;;    batch of documents
    ;; ...
    (doseq [[id doc] id-and-docs
      (if-not (do

Improve this page

Add a description, image, and links to the bitemporal topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bitemporal topic, visit your repo's landing page and select "manage topics."

Learn more