Re: PrimaryKey generation takes a lot of time
Re: PrimaryKey generation takes a lot of time
- Subject: Re: PrimaryKey generation takes a lot of time
- From: Tobias Janz <email@hidden>
- Date: Wed, 07 May 2014 09:21:52 +0200
Hi all,
First i've tryed to set the size of primaryKeys fetched per statement in _FrontBasePlugin to 500. I've gained abound 5%.
Next i've tryed to use ERXJDBCAdopter with batchsize 1000, but got no benefit. Then I tryed connectionpooling, but ended with a lot of exceptions, because the initialisation of Connections got broken. I switched to ObjectStoreCoordinator and the performance got worse.
Multithreading did also slow down the application (With 2 Threads i got a better performance by about 3-5%, but with more threads the performance slows down by 5% with 10 Threads and 15% with 20 Threads).
My solution:
1. Return the hole multithreading, ObjectStoreCoordinator.
2. Configure Testinstance on Productionsystem only to import the data. Database near Applikation got me to speed up. the 5 hours import is done in 5min.
Its not the best for me, but with the latency and slow connection issues it's the best i can get.
Thanks for all your hints.
regards
Tobias
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden