Bug #97777 separate global variables (from hot variables) using linker script (ELF)
Submitted: 26 Nov 2019 0:44 Modified: 29 Nov 2019 1:55
Reporter: Daniel Black Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Compiling Severity:S5 (Performance)
Version:5.7.28 OS:Linux (or any ELF platform)
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[26 Nov 2019 0:45] Daniel Black
define linker section for global variables

Attachment: 0001-define-linker-section-for-global-variables-POC.patch (text/x-patch), 2.94 KiB.

[27 Nov 2019 0:19] Daniel Black
extension to put global/session vars into the same section

Attachment: global_vars.patch (text/x-patch), 847 bytes.

[27 Nov 2019 6:20] Daniel Black
global variable list

Attachment: lall.txt (text/plain), 6.58 KiB.

[27 Nov 2019 6:21] Daniel Black
patch to make all global variables with MY_GLOBAL

Attachment: globals.patch (text/x-patch), 65.54 KiB.