datastore stordb vs datadb

120 views
Skip to first unread message

Andrew Tan

unread,
Nov 29, 2015, 4:28:53 PM11/29/15
to CGRateS
Hello again, 

Question on the relationship of the 2 data source. And their purpose. 

Datadb seems to hold everything for operation to work. What is stordb used for mainly then?
I know it holds cdr data but aside of that, Is it just for administration of tarriff plans you can use stordb instead of the csv provided?

How does people deal with back ups of user balances, any good best practices for disaster recovery of the system?

Thanks
A

Dan-Cristian Bogos

unread,
Nov 30, 2015, 2:24:43 AM11/30/15
to cgr...@googlegroups.com

Hi Andrew,

DataDb is more like a cache accessible over network for operational tasks (eg compiled tariff plan objects or account data) and storDb is more like a classic db used for long time storage and could be that it does not fit into memory. On storDb we store CDRs and offline TPs for archiving since these both can seriously increase.

Regarding disaster recovery of accounts, this is easily achievable via redis master/slave replication and backing up the redis dump file.

DanB

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/eb961387-b1e1-4cac-8b66-627d4e750e9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Tan

unread,
Nov 30, 2015, 12:27:06 PM11/30/15
to cgr...@googlegroups.com
Hi Dan, 

Thanks for the explanation!

Cheers
Andrew


Sent from Mailbox/iPhone


You received this message because you are subscribed to a topic in the Google Groups "CGRateS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cgrates/wPSJ0WYKymw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cgrates+u...@googlegroups.com.

To post to this group, send email to cgr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages