Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  Logging

datacompboy
Posted: Sat Sep 30, 2006 5:46 am Reply with quote
User Joined: 21 Sep 2006 Posts: 69 Location: Novosibirsk, Russia
How to write effectively log of operations, so later I will able to effectively select part for some time and build some statistics?

Mnesia doesn't have, as I see, compound indexes and read of range...

_________________
--- suicide proc near\n call death\n suicide endp
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
francesco
Posted: Wed Oct 04, 2006 8:55 am Reply with quote
User Joined: 07 Jul 2006 Posts: 249 Location: London
If you are interested in reporting, I would not use Mensia. At Erlang Trainign and Consulting, we use postgres to store data which is not considered to be "alive". The relational aspects of it are better, allowing for more complex queries. (We released our postgres driver recently on http://www.erlang-consulting.com/aboutus/opensource.html )

You should also check out some of the audit log library modules which are part of OTP, which unless you have a massive ammount of data, should do.

Francesco
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum