There should be an index on node_count to improve query speed.

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new876 bytes

The attachment has an update script to add the index and updates the schema.

archard’s picture

Will add to the next version, thanks.

damienmckenna’s picture

StatusFileSize
new871 bytes

Not sure what I was doing with the original index code from hook_schema(), but here's a fixed one.

YK85’s picture

+1 subscribing

YK85’s picture

Status: Needs review » Reviewed & tested by the community

I got feedback that this patch helps. Can the maintainer please help commit?