Issue Details (XML | Word | Printable)

Key: MDL-13679
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Gordon Bateson
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

review table indexes in hotpot tables

Created: 27/Feb/08 06:40 AM   Updated: 21/Oct/09 04:17 PM
Return to search
Component/s: Hotpot
Affects Version/s: 1.9
Fix Version/s: 1.9.7

Issue Links:
Relates
 

Participants: Gordon Bateson and Petr Skoda
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Eloy spotted this query that might need some optimization

3) SELECT
            h.id AS id,
            h.name AS name,
            COUNT(*) AS count_attempts
        FROM
            hotpot h,
            hotpot_attempts a
        WHERE
            h.course = 34
            AND h.id = a.hotpot
            AND a.id = a.clickreportid
            AND a.starttime > 1187805492
        GROUP BY
            h.id, h.name;
    (not really often but happens)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.