Last modified: 2014-03-11 10:00:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57750 - Use diff information to optimize database updates when saving an entity.
Use diff information to optimize database updates when saving an entity.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
: performance
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-29 15:29 UTC by Daniel Kinzler
Modified: 2014-03-11 10:00 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-11-29 15:29:29 UTC
Checking/updating secondary tables when saving entities can be costly. Much of this could be avoided if we could use information what exactly changed about an entity, instead of just saving all information about it afresh, as if it did not exist before.

Information about what exactly was changed about an entity already exists further up the stack of the save operation: EditEntity has a diff, and even before that, we often have ChangeOps. If we could loop this information through to the point where it could be used to optimize database access, that would be quite helpful.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links