aude added a comment.

I looked into this some and some ways I think we can improve:

only do selective updates (for specific aspects) for wikis with the 
allowDataAccessInUserLanguage setting = true (e.g. multilingual wikis where we 
split parser cache by language, such as commons).  As far as I can tell for 
other wikis, it would be sufficient to update touched for all with given 
eu_page_id w/o all the where conditions.

Then perhaps these updates can be batched more. (e.g. update touched for 
multiple pages on a wiki in one query)

for multilingual wikis, maybe the touched updates for a page can be done in 
chunks / batches, in cases where a page uses a lot of entities and has a lot of 
aspects.


TASK DETAIL
  https://phabricator.wikimedia.org/T107319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: JanZerebecki, daniel, hoo, Addshore, Lydia_Pintscher, ori, jcrespo, 
Aklapper, aude, Wikidata-bugs, Malyacko



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to