Last modified: 2010-05-15 15:56:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5564 - Saving Templates are Extremely Slow and Timeout
Saving Templates are Extremely Slow and Timeout
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.6.x
PC Windows Server 2003
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-13 17:57 UTC by Dickson Tam
Modified: 2010-05-15 15:56 UTC (History)
1 user (show)

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


Attachments

Description Dickson Tam 2006-04-13 17:57:27 UTC
Saving templates, even simple ones are extremely show. My SQL slow queries log
shows multiple describe image tables requests submitted for a single template
page save that take over 2 sec to execute. This results in the page operation
timing out due to the 30 sec. limitation. Several notes:
1) The template page does not refer to an image, so I don't get why describe
`wikiimage` is called multiple times.
2) Describe `wikiimage` executes fine (~0.01 sec.) using the mysql command line
client


Slow queries
------------
DESCRIBE /* Database::fieldExists */ `wikiimage`;
# Time: 060413 10:37:09
# User@Host: wikiuser[wikiuser] @ localhost [127.0.0.1]
# Query_time: 2  Lock_time: 0  Rows_sent: 13  Rows_examined: 13
DESCRIBE /* Database::fieldExists */ `wikiimage`;
# Time: 060413 10:37:12
# User@Host: wikiuser[wikiuser] @ localhost [127.0.0.1]
# Query_time: 2  Lock_time: 0  Rows_sent: 13  Rows_examined: 13
DESCRIBE /* Database::fieldExists */ `wikiimage`;
# Time: 060413 10:37:15
# User@Host: wikiuser[wikiuser] @ localhost [127.0.0.1]
# Query_time: 2  Lock_time: 0  Rows_sent: 13  Rows_examined: 13
DESCRIBE /* Database::fieldExists */ `wikiimage`;
# Time: 060413 10:37:18
# User@Host: wikiuser[wikiuser] @ localhost [127.0.0.1]
# Query_time: 2  Lock_time: 0  Rows_sent: 13  Rows_examined: 13
DESCRIBE /* Database::fieldExists */ `wikiimage`;

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


Navigation
Links