Hi Pushpendra Singh,
more information on [transaction management] can be found in the documentation. Especially have a look at the chapter Limitations. Are you running any updates? If you have problems with your specific use case, please give us more information on the queries used.
Kind regards from Lake Constance, Germany,
Jens Erat
[transaction management]: http://docs.basex.org/wiki/Transaction_Management
--
Jens Erat
[phone]: tel:+49-151-56961126
[mail]: mailto:email@jenserat.de
[jabber]: xmpp:jabber@jenserat.de
[web]:
http://www.jenserat.de
PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B
Am 13.11.2013 um 07:38 schrieb Pushpendra Singh Sengar
pushpendra1412@gmail.com:
> Hi All,
> I create a collection of 4.5 gb xml document.
> and process some Xquery in sequencial manner then it is taking adequate time to process all queries.
> But when I converting process to multi threading then it is taking more than 10 times of time.
> Please someone suggest what is the best way to process Xquey in multithreading model.
>
> MY code is following :
> Thread thread = new Thread(new XqueryProcessor( new Context(),"db1"));
> Thread thread1 = new Thread(new XqueryProcessor( new Context(),"db2"));
> Thread thread2 = new Thread(new XqueryProcessor( new Context(),"db3"));
>
> thread.start();
> thread1.start();
> thread2.start();
>
> Xquery Processor has all queries which need to process.
> and db1, db2 ,db3 are basically same xml files three collection.
>
> --
> Thanks & Regards ,
> Pushpendra Singh
>
> _______________________________________________
> BaseX-Talk mailing list
> BaseX-Talk@mailman.uni-konstanz.de
>
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk