there is no index on the filepath column in the files table, which causes the query on line 149 of upload.module in upload_file_download() to be very slow when there are large numbers of rows in the {files} table
there is no index on the filepath column in the files table, which causes the query on line 149 of upload.module in upload_file_download() to be very slow when there are large numbers of rows in the {files} table
Comments
Comment #1
Wesley Tanaka commentedThis can be worked around if you are using MySQL by running this query:
ALTER TABLE dbprefix_files ADD KEY (filepath);
Comment #2
steven jones commentedLooks like this would still be an issue in the current D6 release.