Project

General

Profile

Actions

Feature proposal #7619

closed

Implement additional unique indexes

Added by krileon over 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09 July 2019
Due date:
% Done:

100%

Estimated time:

Description

A unique index should be on the likes and follows tables for user id and asset. A user can't like or follow the same asset twice. This would further improve SQL performance, but migration code needs to be implemented to clean up the duplicates first before the index is made unique.

Actions #1

Updated by krileon over 5 years ago

  • Target version changed from 6.0.0 to 955
Actions #2

Updated by krileon over 3 years ago

  • Target version changed from 955 to 6.0.0
Actions #3

Updated by krileon over 1 year ago

  • % Done changed from 0 to 80

Only __comprofiler_plugin_activity_likes and __comprofiler_plugin_activity_following remain needing unique flag on liked and followed indexes. Other tables have had their necessary changes made.

Actions #4

Updated by krileon over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 80 to 100

Query for purging duplicates noted in install script and XML index flagged as unique for liked and followed.

Actions #5

Updated by krileon over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF