Last modified: 2013-07-17 14:31:55 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 T51742, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49742 - Track property data types in a database table.
Track property data types in a database table.
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Highest enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 50305
  Show dependency treegraph
 
Reported: 2013-06-18 10:13 UTC by Daniel Kinzler
Modified: 2013-07-17 14:31 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2013-06-18 10:13:31 UTC
In order to determine the data type of a property, we currently need to load the full content of the property. This is presently done not only for every property, but for every value of every property - this can get quite slow for pages that contain hundreds of statements.

It seems sensible to just cache the data types of all properties in memory, just like TermPropertyLabelResolved does this for the labels of properties. In order to do this, we need a way to quickly list all properties along with their type, so we can initialize/update the cache.

Implementing this is expected to provide a considerable performance boost especially for pages containing a lot of entities.
Comment 1 Gerrit Notification Bot 2013-07-01 11:49:11 UTC
Change 71333 had a related patch set uploaded by Daniel Kinzler:
(bug 49742) introducing PropertyInfoTable.

https://gerrit.wikimedia.org/r/71333
Comment 2 Gerrit Notification Bot 2013-07-01 12:58:05 UTC
Change 71336 had a related patch set uploaded by Daniel Kinzler:
(bug 49742) Rebuild script for property info table.

https://gerrit.wikimedia.org/r/71336
Comment 3 Gerrit Notification Bot 2013-07-01 13:08:28 UTC
Change 71339 had a related patch set uploaded by Daniel Kinzler:
(bug 49742) Adding caching layer for property info.

https://gerrit.wikimedia.org/r/71339
Comment 4 Gerrit Notification Bot 2013-07-01 13:15:44 UTC
Change 71341 had a related patch set uploaded by Daniel Kinzler:
(bug 49742) Introducing PropertyInfoDataTypeLookup

https://gerrit.wikimedia.org/r/71341
Comment 5 Gerrit Notification Bot 2013-07-01 13:26:21 UTC
Change 71343 had a related patch set uploaded by Daniel Kinzler:
(bug 49742) Hook PropertyInfoStore in service reg.

https://gerrit.wikimedia.org/r/71343
Comment 6 Gerrit Notification Bot 2013-07-03 10:48:14 UTC
Change 71333 merged by jenkins-bot:
(bug 49742) introducing PropertyInfoTable.

https://gerrit.wikimedia.org/r/71333
Comment 7 Gerrit Notification Bot 2013-07-03 11:53:11 UTC
Change 71339 merged by jenkins-bot:
(bug 49742) Adding caching layer for property info.

https://gerrit.wikimedia.org/r/71339
Comment 8 Gerrit Notification Bot 2013-07-04 10:07:42 UTC
Change 71341 merged by jenkins-bot:
(bug 49742) Introducing PropertyInfoDataTypeLookup

https://gerrit.wikimedia.org/r/71341
Comment 9 Gerrit Notification Bot 2013-07-05 15:20:51 UTC
Change 71336 merged by jenkins-bot:
(bug 49742) Rebuild script for property info table.

https://gerrit.wikimedia.org/r/71336
Comment 10 Gerrit Notification Bot 2013-07-08 16:13:47 UTC
Change 71343 merged by jenkins-bot:
(bug 49742) Hook PropertyInfoStore in service reg.

https://gerrit.wikimedia.org/r/71343
Comment 11 abraham.taherivand 2013-07-17 14:31:55 UTC
Verified in Wikidata demo time July 17th

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


Navigation
Links