Hello and happy new year everyone,
I try to migrate my RT 5.0.5 instance from Debian 11, postgresql 13 to Debian 12, postgresql 15.
The migrate process is fine but at the end i have a poor performance on RT when logged as privilegied user. Homepage and tickets are slow to show.
Everything is normal when logged as root user.
I have see other tread with this symptom but wihtout solution.
I think it’s an issue with database more thant apache.
What i try:
Reindex database (nothing better)
export PGOPTIONS=“-P”
psql rt5;
REINDEX DATABASE rt5;
\q
Resenquence number of line with the RT tools(nothing better):
/opt/rt5/etc/upgrade/reset-sequences
Validate the database with the RT tools (no issue found):
/opt/rt5/sbin/rt-validator --check
Disable all plugin and restart apache2 (nothing better).
The only thing worked is to change de Set($UseSQLForACLChecks, 0); value.
But it’s doesnt seems to be a good solution from the manual:
#$UseSQLForACLChecks
Historically, ACLs were checked on display, which could lead to empty search pages and wrong ticket counts. Set $UseSQLForACLChecks to 0 to go back to this method; this will reduce the complexity of the generated SQL statements, at the cost of the aforementioned bugs.
Have you any advice on this issue (i work on the clone of my instance, i can try and break thing if needed)?
Kind regards,
Periway