datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
whilo 2020-05-28T00:46:08.285200Z

@danieltanfh95 Postgres is currently being used just to store blobs of our own index data structure (the hitchhiker tree). We have some ideas of how to integrate SQL into Datalog though. What are your specific needs?

2020-05-28T01:46:21.285300Z

no, i was just exploring, and was surprised that pgsql is a supported backend

2020-05-28T15:11:25.285900Z

Do I understand correctly that datahike loads the whole db into memory?

2020-05-28T15:12:40.286800Z

So it’s not possible to have only part of the db in memory and thus the limitation is that db must fit in memory?

2020-05-28T15:17:00.287100Z

kind of like a durable datascript

2020-05-28T15:21:02.287600Z

or does it pull in segments as necessitated by queries?

whilo 2020-05-28T18:41:10.289Z

@geodrome It does not load the full database into memory, it only caches the most used parts of the immutable data structures. We have support both for DataScript's fast in-memory indices and Redis though, if you have enough memory to hold everything in memory.

2
2
2020-05-28T19:13:27.289400Z

ahh ok, thanks!

2020-05-28T20:41:36.290800Z

README says redis is slated for 0.4.0

2020-05-28T21:23:51.291200Z

but i guess this is ready? https://github.com/replikativ/datahike-redis