WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mnesia database extension  (Read 3016 times)

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Mnesia database extension
« on: February 04, 2013, 12:01:26 AM »
Has anyone done an extension for the Mnesia database. I am playing with Erlang on multiple TinyCore virtual machines and want to use Mnesia as a memory resident distributed database.

It has some unique capabilities that appear to support a distributed memory model which is part of my (formative) AI research.

Thanks and keep up the great work.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Mnesia database extension
« Reply #1 on: February 04, 2013, 01:18:45 AM »
which architecture are you looking for this on - core/core64, corepure64, arm?

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Mnesia database extension
« Reply #2 on: February 04, 2013, 02:57:39 AM »
Core would be fine. There doesn't appear to be a core64 version of Erlang but it would be truly excellent if both Erlang and Mnesia were available in Core64.

Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Mnesia database extension
« Reply #3 on: February 04, 2013, 04:54:34 AM »
the version of erlang in the x86 repo will work on both core/core64 (it is 32-bit).

I thought mnesia was included with erlang?

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Mnesia database extension
« Reply #4 on: February 04, 2013, 07:01:30 AM »
My understanding is that its part of the OTP (Open Telecoms Platform) extensions.

I assumed Erlang32 would work in Core64. I was dreaming of an Erlang64 and Mnesia64 combination. I've been in this game far to long (obviously).

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Mnesia database extension
« Reply #5 on: February 04, 2013, 07:18:41 AM »
For clarity:

erlang (in repo) will work with core and core64

a 64bit version (not in repo) would work with corepure64

does erlang need unixodbc and wxwidgets (gtk2) to work with mnesia?

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Mnesia database extension
« Reply #6 on: February 04, 2013, 08:47:11 AM »
I don't believe so. It is a database in an Erlang package.

I haven't used it yet so I am unsure of all the intricacies.

I'll try and get it running native on my iMac and update the question after that.

Thanks for the help.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Mnesia database extension
« Reply #7 on: February 04, 2013, 11:49:10 AM »
erlang built with openssl-1.0.0 and ncurses, but without odbc and wxwidgets posted for corepure64

It looks like mnesia is included - I've no idea how to divide the extension up, so posted as one huge extension...

Let me know how you get on
« Last Edit: February 04, 2013, 01:05:24 PM by Juanito »