After the latest update, some of the more complex queries are taking forever and blocking other queries and making things a bit of a mess...and, yes our tables are very large.
In going through the queries and using EXPLAIN I've found a few places where adding an index on connector tables should help. I even did a couple manually to prove the concept, but they were removed when rebuild was run.
I know how to add indexes to tables in /custom/Espo/Custom/Resources/metadata/entityDefs but when I add a table.json for a connector table like ContactMeeting.json or EmailEmailMeeting.json, it gives an error.
If I want to add an index to a connector table, where would I do that? Even if I need to do it in core source...though the custom area would, obviously, be better and safer
In going through the queries and using EXPLAIN I've found a few places where adding an index on connector tables should help. I even did a couple manually to prove the concept, but they were removed when rebuild was run.
I know how to add indexes to tables in /custom/Espo/Custom/Resources/metadata/entityDefs but when I add a table.json for a connector table like ContactMeeting.json or EmailEmailMeeting.json, it gives an error.
If I want to add an index to a connector table, where would I do that? Even if I need to do it in core source...though the custom area would, obviously, be better and safer
Comment