Hi, I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't!
the easy script : --------------------- set mainmem true create db test list open test ------------------- the result : ------------------ MAINMEM: true Database 'test' created in 0.08 ms. name Resources Size Input Path --------------------------------------------------- baseCo 2 3742851 FichiersBase 5958 5357259729 FichiersBaseTest 5958 5205620197
3 database(s). Database 'test' was not found. -------------------- the infos : -------------- General Information: Version: 7.8 Used Memory: 1994 KB
The main memory database doesn't exist anymore?
Marc
Hi Marc,
I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't! [...] The main memory database doesn't exist anymore?
Exactly. For more information, please have a look at the following pages (a thank you to Max for extending our Wiki entry):
http://docs.basex.org/wiki/Databases#In_Memory_Database http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg04139.ht...
Hope this helps, Christian
I agree with you, that for my use the main memory database are not right because I have to open other database. But in the example, I just create one and open it! Marc
Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit :
Hi Marc,
I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't! [...] The main memory database doesn't exist anymore?
Exactly. For more information, please have a look at the following pages (a thank you to Max for extending our Wiki entry):
http://docs.basex.org/wiki/Databases#In_Memory_Database http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg04139.ht...
Hope this helps, Christian
I agree with you, that for my use the main memory database are not right because I have to open other database. But in the example, I just create one and open it!
After having created the database, it is already open, so there is no need to use "open". Christian
Marc
Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit :
Hi Marc,
I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't! [...] The main memory database doesn't exist anymore?
Exactly. For more information, please have a look at the following pages (a thank you to Max for extending our Wiki entry):
http://docs.basex.org/wiki/Databases#In_Memory_Database
http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg04139.ht...
Hope this helps, Christian
ok thank Marc
Le mercredi 4 juin 2014 10:31:42, Christian Grün a écrit :
I agree with you, that for my use the main memory database are not right because I have to open other database. But in the example, I just create one and open it!
After having created the database, it is already open, so there is no need to use "open". Christian
Marc
Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit :
Hi Marc,
I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't! [...] The main memory database doesn't exist anymore?
Exactly. For more information, please have a look at the following pages (a thank you to Max for extending our Wiki entry):
http://docs.basex.org/wiki/Databases#In_Memory_Database
http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg04139.ht...
Hope this helps, Christian
Dear all,
So one has to disable CREATEONLY in order to set MEMMAIN. I just tried it because I thought this could explain the issue.
In memory database is a powerful tool, But it's confusing because database name is lost (no trace in db:list()), But you can still use it in db:list, db:add, db:open...
Thank you for your impressive software, I always wonder how I could process xml before.
Best regards. Fabrice
-----Message d'origine----- De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Marc Envoyé : mercredi 4 juin 2014 10:32 À : Christian Grün Cc : BaseX Objet : Re: [basex-talk] mainmem bug?
ok thank Marc
Le mercredi 4 juin 2014 10:31:42, Christian Grün a écrit :
I agree with you, that for my use the main memory database are not right because I have to open other database. But in the example, I just create one and open it!
After having created the database, it is already open, so there is no need to use "open". Christian
Marc
Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit :
Hi Marc,
I try to use the mainmem flag because I use a temporally base to do some specific treatments and extract it after. But when I create the database it isn't! [...] The main memory database doesn't exist anymore?
Exactly. For more information, please have a look at the following pages (a thank you to Max for extending our Wiki entry):
http://docs.basex.org/wiki/Databases#In_Memory_Database
http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg 04139.html
Hope this helps, Christian
basex-talk@mailman.uni-konstanz.de