-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extremely slow #28
Comments
Hi, I guess that you're doing everything fine, unfortunately I've experienced very high latencies in RPC replies from Trac. You can try to run the command with the maximum verbosity level ( |
Hi, If I export and then import. Is it faster? |
Unfortunately no, the slow guy is the export step via XML-RPC :) Let me know! |
The process started around: 11:10am And now that's in the Ticket: 582
|
That is really too slow, let me run some tests on my Trac instance. In the meantime could you post a more beefy chunk of Trac log pls? |
See the log in the dropbox: https://www.dropbox.com/s/1w4wl6vztci0sv5/trac.log?dl=0 |
Thanks. Your Trac log seems fine, the export process is actually retrieving all the ticket contents. Having a look at the full log, each ticket retrieval on the Trac side looks like this:
So each ticket retrieval seems to keep Trac busy for about 3 to 4 seconds (variable depending on the size of the ticket's changelog), that leads to a total time of 14 hours needed to retrieve 13000 tickets! |
For huge instances like yours, the best solution would be to access directly the Trac database but I didn't think about that functionality yet. |
Well! Maybe I can change the script and just select <> 'closed' tickets. Decrease the universe! While I think of something in the future. 5 needs_work
|
This looks like a good idea to me, closing this while opening a feature request in #30 |
Hi, In conversation with the Trac community, I was advised to use multicall to improve performance. |
Hi, that makes sense to me, anyway I'm more focused on correctness first, performance comes after the first usable release. Created a feature request in #31 |
This process via RPC is extremely slow! Or am I doing something wrong? My base has more than 14,000 tickets. The migration process is running for more than 8 hours and does not end.
The text was updated successfully, but these errors were encountered: