Importing data older than last transaction into datomic

ajuc

Am I understanding this correctly?

http://docs.datomic.com/transactions.html

You can set :db/txInstant explicitly, overriding the transactor's clock time. When you do, you must choose a :db/txInstant value that is not older than any existing transaction, and not newer than the transactor's clock time. This capability enables initial imports of existing data

Does this mean I can't add facts into datomic that are older than last transaction in a way that the queries as-of will work?

This seems to be a huge restriction. What to do when I interface with other system? For example I may get data about order from yesterday, but clerk only got time to enter it into system today. If somebody entered any facts today I won't be able to add that old data?

Is adding an explicit time attribute and using it in all queries the only option?

a2ndrade

Unfortunately, when you have an application-driven notion of time i.e. the "recorded" time at which some event that you are transacting "now" occurred, you also need an application-driven query mechanism. Look at a similar thread in the Datomic google's group.

So the answer is yes, you'll have to explicitly handle that "recorded" time.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Importing data older than last transaction into datomic

From Dev

how to get the datetime of the last transaction in a datomic db?

From Dev

MongoDB select data which is not older than a week

From Dev

Delete data older than a month for every sheet

From Dev

Select users which last message is older than 30 days

From Dev

Finding the last modified file older than 24 hours in Java

From Dev

Inserting data into Datomic partition

From Dev

Inserting data into Datomic partition

From Dev

Delete Files Older Than X Days: Presentation of Data/Logging Files

From Dev

Get mysql data older than 5 minutes php

From Dev

Finding newest data older than a specific date in R

From Dev

How do I undo or reverse a transaction in datomic?

From Dev

NSDate is older than today

From Dev

How to import :bigdec data into datomic

From Dev

PostgreSQL - Deleting data that are older than an hour, and then inserting new data to the same table

From Java

Shader performance data maybe unavailable due to deployment target older than device version

From Dev

Select elements with data-attribute date value older than current server date

From Dev

How to move data one table to another table older than 30 days record?

From Dev

Python Pandas Dataframe - remove data from dataframe if indexed date is older than a certain date

From Dev

Delete records that are older than a day

From Dev

What is the difference between the user-specified transaction temp-id and the one returned from a transaction, in Datomic?

From Dev

Why do I get the "extra data after last expected column' when importing .csv into my database?

From Dev

Why do I get the "extra data after last expected column' when importing .csv into my database?

From Dev

Are all new datomic ids greater than previous ones?

From Dev

Are all new datomic ids greater than previous ones?

From Dev

R: importing data from a CSV, the separators is "\"" but get error more columns than column names

From Dev

If file modification date is older than N days

From Dev

Delete files older than X minutes

From Dev

MongoDB query for document older than 30 seconds

Related Related

  1. 1

    Importing data older than last transaction into datomic

  2. 2

    how to get the datetime of the last transaction in a datomic db?

  3. 3

    MongoDB select data which is not older than a week

  4. 4

    Delete data older than a month for every sheet

  5. 5

    Select users which last message is older than 30 days

  6. 6

    Finding the last modified file older than 24 hours in Java

  7. 7

    Inserting data into Datomic partition

  8. 8

    Inserting data into Datomic partition

  9. 9

    Delete Files Older Than X Days: Presentation of Data/Logging Files

  10. 10

    Get mysql data older than 5 minutes php

  11. 11

    Finding newest data older than a specific date in R

  12. 12

    How do I undo or reverse a transaction in datomic?

  13. 13

    NSDate is older than today

  14. 14

    How to import :bigdec data into datomic

  15. 15

    PostgreSQL - Deleting data that are older than an hour, and then inserting new data to the same table

  16. 16

    Shader performance data maybe unavailable due to deployment target older than device version

  17. 17

    Select elements with data-attribute date value older than current server date

  18. 18

    How to move data one table to another table older than 30 days record?

  19. 19

    Python Pandas Dataframe - remove data from dataframe if indexed date is older than a certain date

  20. 20

    Delete records that are older than a day

  21. 21

    What is the difference between the user-specified transaction temp-id and the one returned from a transaction, in Datomic?

  22. 22

    Why do I get the "extra data after last expected column' when importing .csv into my database?

  23. 23

    Why do I get the "extra data after last expected column' when importing .csv into my database?

  24. 24

    Are all new datomic ids greater than previous ones?

  25. 25

    Are all new datomic ids greater than previous ones?

  26. 26

    R: importing data from a CSV, the separators is "\"" but get error more columns than column names

  27. 27

    If file modification date is older than N days

  28. 28

    Delete files older than X minutes

  29. 29

    MongoDB query for document older than 30 seconds

HotTag

Archive