Last modified: 2014-10-17 00:30:41 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 T74167, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72167 - logging table appears to have different indexes from what vanilla MW does (e.g no type_action index)
logging table appears to have different indexes from what vanilla MW does (e....
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-17 00:30 UTC by Bawolff (Brian Wolff)
Modified: 2014-10-17 00:30 UTC (History)
2 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-10-17 00:30:41 UTC
I was looking at https://tools.wmflabs.org/tools-info/optimizer.py It appears the logging table is missing 3 indexes that are specified by vanilla MediaWiki. Specifically:

CREATE INDEX /*i*/type_action ON /*_*/logging (log_type, log_action, log_timestamp);
CREATE INDEX /*i*/log_user_text_type_time ON /*_*/logging (log_user_text, log_type, log_timestamp);
CREATE INDEX /*i*/log_user_text_time ON /*_*/logging (log_user_text, log_timestamp);

The one in particular I wish was there right now, is the type_action index.

Additionally, it lacks the log_search table, which in MediaWiki is used to locate log entries sometimes. (Mostly for oversight, but its used also for the block log. I don't really need it for what I'm trying to do right now, but it would probably be useful for somebody)

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


Navigation
Links