Bug #83473 Reduce number of dictionary cache lookups
Submitted: 21 Oct 2016 6:46 Modified: 23 May 2017 5:52
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Data Dictionary Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[21 Oct 2016 6:46] Jon Olav Hauglid
Description:
Currently our internal APIs send information about dictionary objects by passing their name (e.g. const char *db).
Instead we should pass references/pointers to the new dictionary objects (e.g. const dd::Schema &schema).
This removes the need to do several duplicate dictionary cache lookups and simplifies code.

How to repeat:
n/a
[27 Apr 2017 12:44] Daniel Price
Posted by developer:
 
Fixed as of the upcoming 8.0.2 release, and here's the changelog entry:

The number of data dictionary cache lookups was reduced, and ALTER TABLE
handling of triggers was improved help ensure trigger persistence in case
of a server exit during ALTER TABLE processing.