core icon indicating copy to clipboard operation
core copied to clipboard

Extra index on contentlet table for MySQL

Open maurizo opened this issue 11 years ago • 1 comments

Only on MySQL an extra index is being created using this:

https://github.com/dotCMS/core/blob/master-3.3/src-conf/mysql.sql#L2346

The index should already be covered by this one:

https://github.com/dotCMS/core/blob/master-3.3/src-conf/mysql.sql#L2421

In all other DB scripts "fkfc4ef025fb51eb" is used as a constrain instead of an index. Having 2 indexes on the same column doesn't break anything but slows down performance on inserts and updates.

maurizo avatar Aug 10 '15 16:08 maurizo

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 30 '19 04:09 stale[bot]