diff --git a/documentation/optimization.html b/documentation/optimization.html index 1b2fb0cbb9..3105505b5a 100755 --- a/documentation/optimization.html +++ b/documentation/optimization.html @@ -194,7 +194,17 @@ ALTER TABLE c_lp_item_view ADD INDEX idx_clpiv_c_i_v (c_id, id, view_count); find out about these possible bottlenecks after we release stable versions of Chamilo. This is why we list those queries here. However, as soon as we confirm them with a few real life scenarios, we add them into the core of Chamilo so you can benefit from them immediately by installing a new version. - +

In Chamilo 1.11.x you can boost the DB tables related surveys invitations by adding the following indexes:

+
+        CREATE INDEX idx_survey_q_qid ON c_survey_question (question_id);
+        CREATE INDEX idx_survey_code ON c_survey (code);
+        CREATE INDEX idx_survey_inv_code ON c_survey_invitation (survey_code);
+        CREATE INDEX idx_survey_qo_qid ON c_survey_question_option (question_id);
+    
+ Also by adding a index on access_url_rel_session to improve the course/session list +
+        CREATE INDEX idx_accessurs_sid ON access_url_rel_session (session_id);
+    

3. Indexes caching

One good reference: MySQL documentation on multiple key caches