Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27444

Mysql slow after upgrade to OJS 3.3.0.6

$
0
0

After updating OJS to the latest version (3.3.0.6 from 3.2.x) I have a big performance issues with mysql.The CPU occupation by mysqld is very high and the slow query logs report this query:

SELECT o.submission_id, MAX(s.context_id) AS journal_id, MAX(i.date_published) AS i_pub, MAX(p.date_published) AS s_pub, COUNT(*) AS count FROM submissions s JOIN publications p ON (p.publication_id = s.current_publication_id) JOIN publication_settings ps ON (ps.publication_id = p.publication_id AND ps.setting_name=’?’ AND ps.locale=’?’) JOIN issues i ON (CAST(i.issue_id AS CHAR(?)) = ps.setting_value AND i.journal_id = s.context_id) JOIN submission_search_objects o ON (s.submission_id = o.submission_id) NATURAL JOIN submission_search_object_keywords o0 NATURAL JOIN submission_search_keyword_list k0 WHERE s.status = ? AND i.published = ? AND k0.keyword_text = ‘?’ AND i.journal_id = ? GROUP BY o.submission_id ORDER BY count DESC LIMIT ?

Before upgrade to 3.3 I had to run this command on DB
ALTER TABLE submission_files ENGINE = InnoDB
due to an error in the upgrade procedure.
Please consider that our journal started 10 years ago and has had 19 upgrade in the last 10 years, but I have never had such a serious problem.

I use OJS 3.3.0.7 on Ubuntu 20.04

Thanks to anyone who can help me

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 27444


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>