Thanks. But sorry if I'm not clear but the two MariaDB instances are on the same machine. Hence the need to be able to choose in which mode I launch the RDBMS.

On Fri, Nov 21, 2014 at 10:12 AM, Andrew Braithwaite <andrew.braithwaite@graze.com> wrote:
Put your MariaDB 'datadir' on a ramdisk.

http://en.wikipedia.org/wiki/RAM_drive

A



On 21 November 2014 05:30, Pierre GOUPIL <goupilpierre@wanadoo.fr> wrote:
Good morning,

Is there a way to have MariaDB run in-memory? I mean, without changing the table engines.

I have my production code which needs to be persisted to disk, but for my unit tests, it would be great to have an in-memory DB.

I'm in the Java world and I've tried HSQLDB but its SQL implementation is way too different than that of MariaDB.

Any ideas?

Cheers,


Zala

--
NoT DeaD which can eternal live,
Stranger eons death may die.

(HP Lovecraft)

_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp





--
NoT DeaD which can eternal live,
Stranger eons death may die.

(HP Lovecraft)