Use direct SQL to generate internal ids
To reduce the overhead of generating internal ids, move away from the previous model of locking then updating the record, and instead favor doing a direct update of the record, returning the updated last_value. This change is behind a feature flag so we can better measure the performance impact of the new approach.
Showing
This diff is collapsed.
Please register or sign in to comment