Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Wondering why your views run so slow? Why after switching to InnoDB, MySQL isn't running any better? This module has the answers!
Indexes
It will show what CCK columns get used in a view filter or relationship and give you the option to add an index on it so the views query will run faster. Also can add indexes to core modules that could use one.
Engine
Ability to convert your database from MyISAM to InnoDB in order to eliminate table locks on data writes.
Collation
Are half your tables latin1_swedish_ci and the other half utf8_general_ci? Use this to change them all to utf8_general_ci.
MySQL Tuner
Have you never edited your my.conf file? This will give you hints at what values to tweak in order to get MySQL running better. Special thanks to MySQL Tuner, since this part of the module is a port of that project.
Future Plans:
Figure out which experimental indexes are good & which ones are bad
This module provides a tree-based style plugin for Views. It is equivalent to the tree-based style template from Views 1.
It is based off of the list style. Although it generates a nested view, there is still only a single query run for the view making it quite performant.
The 1.x branch is compatible with Views 2. The 2.x branch is compatible with Views 3.
Usage
Create a new view using the Fields row style. Populate it with the appropriate fields you want.
Select the Tree (Adjacency model) style plugin.
Select the linking fields in the style configuration panel. Generally, you will want to link from a nodereference field to the nid on the same node type. That is, the nodereference field is used as a pointer to the "parent" node.
Save and enjoy.
Compatibility
This module has been tested and used with the following relationship-oriented modules: