Hi. I have some views that use multistep fields in them. The queries take a long time to run because the columns of the multistep table are not indexed.
I have a patch to the .install file that will add the indexes. My queries went from 80 seconds to 0.53 seconds.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | multistep-824406.patch | 1.39 KB | vkareh |
| multistep.indexes.patch | 1.21 KB | galaxor |
Comments
Comment #1
vkareh commentedThanks for the patch!
I started looking at the indexing, and I'm concerned it will affect I/O operations and disk space, so I came up with a few possible changes:
I also added nid-step as a primary key, for what that's worth...
Can you please try the new patch and let me know if you see similar performance gains?
Comment #2
vkareh commentedI added this to the new development snapshot. Thanks!