how to know creation options of a database

Wednesday, 2 January 2013 · 4 messages
FE
Fabrice Etanchaud2 Jan 2013 14:34 #
Dear all at BaseX, How can I know the creation options of a given database ? When I open a database created with a few non default options (MAXCATS set to 10000) for example, GET MAXCATS seems to always return the last value set with SET MAXCATS. Regards, Fabrice Etanchaud Questel-Orbit
CG
Christian Grün2 Jan 2013 21:34 #
Dear Fabrice,
Quoted text · Fabrice Etanchaud · 6 lines
> How can I know the creation options of a given database ? > > When I open a database created with a few non default options (MAXCATS set > to 10000) for example, > > GET MAXCATS seems to always return the last value set with SET MAXCATS.
good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')". The GET command will always give you the global value of an option. Thanks, Christian
FE
Fabrice Etanchaud2 Jan 2013 21:47 #
Thank you once again Christian for your fast reply, and update ! BaseX is a fantastic XML tool. Wondering how I could process XML before ! As night time is also dream time, Do you still plan to increase database node count limitation for the next major version ? Good night -----Message d'origine-----
Quoted text · Christian Grün · 16 lines
De : Christian Grün [mailto:christian.gruen at gmail.com] Envoyé : mercredi 2 janvier 2013 21:34 À : Fabrice Etanchaud Cc : basex-talk at mailman.uni-konstanz.de Objet : Re: [basex-talk] how to know creation options of a database Dear Fabrice, > How can I know the creation options of a given database ? > > When I open a database created with a few non default options (MAXCATS > set to 10000) for example, > > GET MAXCATS seems to always return the last value set with SET MAXCATS. good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')". The GET command will always give you the global value of an option. Thanks, Christian
CG
Christian Grün2 Jan 2013 22:02 #
Hi Fabrice,
Quoted text · Fabrice Etanchaud · 1 line
> Do you still plan to increase database node count limitation for the next major version ?
it’s on our agenda, but among hundreds of other more pressing issues, so… don’t expect this too soon.
Quoted text · Fabrice Etanchaud · 29 lines
> > Good night > > -----Message d'origine----- > De : Christian Grün [mailto:christian.gruen at gmail.com] > Envoyé : mercredi 2 janvier 2013 21:34 > À : Fabrice Etanchaud > Cc : basex-talk at mailman.uni-konstanz.de > Objet : Re: [basex-talk] how to know creation options of a database > > Dear Fabrice, > >> How can I know the creation options of a given database ? >> >> When I open a database created with a few non default options (MAXCATS >> set to 10000) for example, >> >> GET MAXCATS seems to always return the last value set with SET MAXCATS. > > good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')". > > The GET command will always give you the global value of an option. > > Thanks, > Christian > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery