Closed (fixed)
Project:
Localization server
Version:
6.x-3.x-dev
Component:
Performance
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2011 at 02:03 UTC
Updated:
6 Apr 2011 at 14:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyCan you provide a quick patch for this? That would be really helpful. Thanks!
Comment #2
droplet commentedoh my god. this also help us improve "Compact files optimized for size, not desktop editing" speed, guess this is used in LDO export to ftp.
save 2x time
Comment #3
gábor hojtsyWell, the package builder always builds packages for specific releases of modules, not generally for the whole module without release (at least not currently). So a pid index would not help as much (rid *is* indexed). An index on *pid* would help indeed if you are about to build a .po file covering all releases which l.d.o does not do in an automated way. It is only done when you specifically request for it.
Regardless if it speeds up that query as much, it does not look like we should skip adding it in (possibly with a note that it is more rarely used but valid for that use case).
Comment #4
droplet commentedok.
specific Release + "Compact files optimized for size, not desktop editing" do not take right index
1 SIMPLE t ALL is_suggestion_is_active_language,sid_language_is_s... NULL NULL NULL 3644 Using where; Using temporary; Using filesort
quick patch
Comment #5
droplet commented"So a pid index would not help as much (rid *is* indexed). "
no no ..... my test above (#4) is specified Release + "Compact files optimized for size, not desktop editing"
(I will dig into builds packages soon to see if anything is diff... but I guess the query is same..)
^_^
Comment #6
gábor hojtsyHere is a reroll which should be more complete (also adds it on new installs). Committing this.