You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently persistence codes are stored in json format on the users table. When checking for a persistence code it has to perform (on average) a half table row scan just to determine the persistence code. As you can imagine, with a large users table this is a considerable performance hit. Ideally, the persistence codes should be split into a separate pivot table like so:
user_id persistant_code [indexed]
The text was updated successfully, but these errors were encountered:
ahead4ltd
changed the title
Slow persistance code checking
Slow persistence code checking
Jul 11, 2014
Currently persistence codes are stored in json format on the users table. When checking for a persistence code it has to perform (on average) a half table row scan just to determine the persistence code. As you can imagine, with a large users table this is a considerable performance hit. Ideally, the persistence codes should be split into a separate pivot table like so:
The text was updated successfully, but these errors were encountered: