[rt-users] Time taken to open ticket history
Kenneth Marshall
ktm at rice.edu
Mon Jun 7 16:53:22 EDT 2010
Hi Justin,
The last time I looked at this problem, the slow step is simply
preparing all of the transactions for the web. The biggest gains
were made by pruning the list of displayed transactions to the
bare minimum, by default. Then have a button to allow seeing
all of the transactions, if needed.
Regards,
Ken
On Thu, Jun 03, 2010 at 09:27:45AM +0100, Justin Hayes wrote:
> RT 3.8.4
>
> Does anyone have any suggestions on how to improve the time taken for RT to display ticket history. Depending on the number of entries on the ticket it can take 6-30seconds to render the ticket.
>
> I've had a look in the mysql logs for slow queries and can't see any (though it's only logging ones that take longer than 1s so maybe it's doing lots and lots of faster ones that can still be optimised).
>
> I've put some debug logging in and all the time is going in ShowHistory, so I guess in the loop that loops over all the various transactions and things to display for that ticket.
>
> Any suggestions or tweaks that people have done would be great, before I start investigating what's going on at a lower level.
>
> Thanks,
>
> Justin
More information about the rt-users
mailing list