I have a SQL Server log table that includes a column "Id" This is an identity column, but not a primary key, it is not even indexed.
This would have just been set up from some tutorial for adding DB logging, and I'm not sure if the PK was just missed or intentionally left out.
Given its logging all concern is to write performance, not read.
I would have thought if its an identity column it would have to be checking the data anyway to do an insert at correct numbers, should this be set up as a pk for that reason?
Is there any benefit to leaving it with no pk?