Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
At least the boost_cache_relationships table can easily grow quite large. The queries on this table then do queries that could be much more efficient. At the very least hash_url should be indexed. I added an index for hash_url, hash, timestamp so the whole routine query could be answered by the index but this may or may not be the most efficient index for all cases.
Comment | File | Size | Author |
---|---|---|---|
#2 | boost-661396.patch | 1.94 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedShoot, thought I did that. Thanks for bringing this up. Indexes should be created on
hash
base_dir
page_callback
page_type
page_id
child_page_callback
child_page_type
child_page_id
hash_url
timestamp
Since these are the fields I use when doing a lookup... looks like I use them all. WHERE and ORDER BY statements.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedComment #3
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted