Elgg icon indicating copy to clipboard operation
Elgg copied to clipboard

add case insensitive column for metadata values

Open jdalsem opened this issue 5 years ago • 4 comments

this can replace the binary casting in queries. CASTing prevents the use of indexes. Therefore the metadata queries can be slowed if requested case sensitive (default). Pre Elgg 3.0 this was less of a problem as metadata joins happend on value_id in metadata table first. After that a query on the value_string was executed...

jdalsem avatar May 13 '19 11:05 jdalsem

same for annotations and private settings

jdalsem avatar May 14 '19 09:05 jdalsem

Can this be a problem when Elgg 2x is upgraded to 3x?

daniyaree avatar May 21 '19 16:05 daniyaree

No, it is not a problem. The reason we need this is purely for improved performance. We are currently running Elgg 3 sites fine without this.

jdalsem avatar May 21 '19 21:05 jdalsem

pushing data model changes (and investigations) to the next major

jdalsem avatar Jul 06 '22 12:07 jdalsem

Tried to get more data to support adding this, but at the moment i have not found usecases which help to support a good reason to add this extra column

jdalsem avatar Nov 18 '22 10:11 jdalsem