Last modified: 2010-05-15 15:56: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 T7564, the corresponding Phabricator task for complete and up-to-date bug report information.
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