Hi,
Seems that the image module is executing queries like:
SELECT filename, filepath FROM files WHERE nid=561;
But the files table doesn't have a key on nid. I guess that adding it will improve the selects against large tables ?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupal_files_nid_index.patch | 647 bytes | msameer |
Comments
Comment #1
killes@www.drop.org commentedit is probably a good guess. :p
I think a patch for this makes sense, but I am moving it to HEAD.
Comment #2
msameer commentedPatch against 5.0 beta1
Comment #3
stevenpatzComment #4
merlinofchaos commentedThis probably would get more attention if labeled as a patch.
Comment #5
msameer commentedI can't mark it as needs review while I know it's not.
Comment #6
drewish commentedthere's no longer a files.nid column.