Hello Hans-Juergen,
was this database renaming+creation triggered by the client or autonomously done by the server?
I have a kind of "manager" client running, which executes the database renaming+creation for each hour. Since we
have
single writer transactions, all other transactions are blocked during that time. So the next client transactions will automatically
use the "new" database.
I have it running like this:
create db tmp <root/>
.... insert items ....
close
alter db tmp date_hour
create db tmp <root/>
..... insert items ....
Concerning the querying tasks to be expected I know very little myself - except for the need to group messages by transaction IDs and then somehow evaluate the execution of transactions. But at the moment I suppose that your "monster document" approach might be appropriate in our case,
too.
I guess a "monster document" will be fine. However i would not create too large database, cause you probably need to create indexes afterwards and that could take a long time for *very* large databases.
Let me know if you need more information,
Andreas