Project:Nodequeue
Version:7.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

There were several queries coming up in my slow query log because MySQL could not utilize any of the existing indexes on this table. Adding the following index helped:

ALTER TABLE {nodequeue_nodes} ADD INDEX {nodequeue_nodes}_qid_nid_idx (qid, nid);

Comments

#1

Category:bug report» feature request

Great suggestion, thanks. If you could put this into a patch to be part of the default schema and update for current users as an implementation of hook_update_N I would commit it. Otherwise, I'll do this when I'm able to. Would love to get this into the next release.

#2

Status:active» needs review

patch included

AttachmentSizeStatusTest resultOperations
nodequeue_nodes_idx.diff788 bytesIgnored: Check issue status.NoneNone

#3

Status:needs review» fixed

Awesome. This is committed. Thanks again!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here