Avoid high CPU contention by not allocating Session UUIDs eagerly

Description

When generating high load with a benchmark on a scalable server, the primary bottleneck becomes the UUID assignment to each Session :

This UUID generation can be avoided, especially when temporary tables are not necessary.

Environment

None

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure