The archive/purge is needed to delete old rows not any more needed.
Reduce the rows in session_log table resolve the duplicate session_id and also positively impact on the performance for login process updating smaller session_log table.
Follow this tecdoc to archive and purge the session_log table
Document ID: tec1128652
archive and purge session_log