This patch is a continuation of http://drupal.org/node/246084 which cleans up the loading of cck nodes to decrease the number of selects.
This patch improves the performance of shared single value fields by loading all the columns in a single select instead of one for each table.
As there are limits to the number of joins, I have limited this to blocks of 30 shared fields, and then it will do another select.
This should make the hit on shared fields a lot less, while still giving the benefits in views.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | cck-join.patch | 5.89 KB | gordon |
| #4 | cck-join.patch | 3.03 KB | gordon |
| #3 | cck-join.patch | 2.94 KB | gordon |
| cck-join.patch | 2.94 KB | gordon |
Comments
Comment #1
neclimdulinteresting! Will give it a review.
Comment #2
gordon commentedAn updated patch to allow it to be applied again.
Comment #3
gordon commentedadd patch
Comment #4
gordon commentedfix up bug with joining multiple fields that are on the same table. This happens when the content_field_xxx is not the table of the first field.
Comment #5
gordon commentedUpdated patch
Comment #6
karens commentedToo old now, way past the time when we will add features to D5 version. This got fixed in D6 views.
Comment #7
karens commented