https://bugzilla.wikimedia.org/show_bug.cgi?id=49520

       Web browser: ---
            Bug ID: 49520
           Summary: Performance: Update text and ID fields simultaneously
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: UserMerge
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Right now UserMerge::mergeUser() updates ID fields (e.g., ar_user) and text
fields (e.g., ar_user_text) in separate queries. Considering ar_user and
ar_user_text should be exactly the same for a logged in user, you could cut the
number of DB queries in half by combining them. For large wikis, this may save
a significant amount of time since it doesn't have to scan each table twice.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to