Bug #112063 | Uses too much memory | ||
---|---|---|---|
Submitted: | 14 Aug 9:50 | Modified: | 16 Aug 13:31 |
Reporter: | Boy Zhang | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Data Dictionary | Severity: | S4 (Feature request) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | handler, histogram, random_number_engine |
[14 Aug 9:50]
Boy Zhang
[14 Aug 12:28]
MySQL Verification Team
Hi Mr. Zhang, Thank you for your bug report. However, it is our opinion that this is not a bug. First , our random number generator is not a storage engine. Next, 5 KBytes used per connection is insignificant compared to megabytes and megabytes used for local buffers on each of the connection. We are using the most appropriate algorithm for the random numbers and we can not change it without performance penalties and even breaking compatibility. However, if you send us your patch for the replacement that will maintain performance and compatibility, while using MUCH less memory, we shall definitely examine it .... Not a bug.
[16 Aug 13:31]
MySQL Verification Team
Hi Mr. Zhang, Thank you for your bug report. We decided that this is a good feature request, since those 5K bytes do not need to be allocated always. This is now a verified feature request.