Last modified: 2012-12-09 17:21:14 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 T44542, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42542 - Enable database profiling support on dev and test
Enable database profiling support on dev and test
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Aude
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-29 17:56 UTC by abraham.taherivand
Modified: 2012-12-09 17:21 UTC (History)
5 users (show)

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


Attachments

Description abraham.taherivand 2012-11-29 17:56:57 UTC
enable mysql profiling support for our dev- and test-system
Comment 1 Daniel Kinzler 2012-12-05 10:47:55 UTC
Quick howto:

A set of standard options for enabling profiling to the database is in lib/ProfilingSettings.php. Before using these, you have to create the profiling tables in the database: apply (core) maintenance/archives/patch-profiling.sql to the database.
Comment 2 Aude 2012-12-05 10:53:24 UTC
If you have $wgProfileToDatabase = true;, then update.php will create the profiling table.

or you can do:

maintenance/patchSql archives/patch-profiling.sql

that will apply the patch
Comment 3 abraham.taherivand 2012-12-05 16:16:50 UTC
Verified in Wikidata demo sprint 25

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


Navigation
Links