We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

DB Optimisation Suggestions

Development and Programming

eevolution's avatar
eevolution
30 posts
14 years ago
eevolution's avatar eevolution

Hi

I’ve been looking at further optimisation of the EE database indexes and have a few suggestions after analysing the SQL debug output which you may want to put into a later release:

  • exp_categories.parent_id : often used in joins and where clauses
  • exp_channel_titles.sticky : regularly used in order by clause
  • exp_channel.channel_name : used in where clause
  • exp_relationships.rel_type : used in where clause
  • exp_channel_entries_autosave.original_entry_id : used in where clause (delete statement)

I noticed about a 10-20% improvement (on average) after adding the above.

Cheers

Tim EEvolution.co.uk

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.