Re: [basex-talk] 7.8 MAINMEM option

2014-05-07 Thread Christian Grün
Hi Max, finally some feedback... Creating the main-memory db via xquery (declare option or pragma) did not work: declare option db:mainmem 'true'; or (# db:mainmem true #) Via command line it works: set mainmem true Yes, this is on purpose, and for two reasons: * All databases that are

Re: [basex-talk] 7.8 MAINMEM option

2014-05-07 Thread Maximilian Gärber
Hi 2014-05-07 12:12 GMT+02:00 Christian Grün christian.gr...@gmail.com: Considering the current penalty with calling optimize() after every change and otherwise (at least for me) no big differences in usage this would make an interesting use case When it comes to optimize(), you could play

[basex-talk] 7.8 MAINMEM option

2014-05-05 Thread Maximilian Gärber
Hi, I am running some queries against file based and main-memory dbs for comparison. Creating the main-memory db via xquery (declare option or pragma) did not work: declare option db:mainmem 'true'; or (# db:mainmem true #) Via command line it works: set mainmem true Only the db won't be listed