On 04-09-2012 13:56, Bernard Fouché wrote:
I don't need per-sensor data deletion, but I need to get rid of all
recording older than X months otherwise the database will become
impossible to manage/backup at some point.
Do you know X in advance?
If yes: have you considered using a backend with timed auto expiry?
Bitcask and HanoiDB both have that.
Bitcask can't be used when you have very many live keys, so if you
indeed have zillions then that one's out.
HanoiDB has no such limitation, however.
See
https://github.com/basho-labs/riak_kv_hanoidb_backend#how-to-deploy-hanoidb-as-a-riakkv-backend
for installation instructions.
And feel free to get back to me if you need any further help.
(Also, I have experience with running an app inside the Erlang VM
alongside Riak; at Trifork we've used that in production.)
/Erik
--
Mobile: + 45 26 36 17 55 | Skype: eriksoesorensen | Twitter: @eriksoe
Trifork A/S | Margrethepladsen 4 | DK-8000 Aarhus C |
www.trifork.com <http://www.trifork.com/>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com