• Jan Lindström's avatar
    MDEV-9931: InnoDB reads first page of every .ibd file at startup · 2bedc397
    Jan Lindström authored
    Analysis: By design InnoDB was reading first page of every .ibd file
    at startup to find out is tablespace encrypted or not. This is
    because tablespace could have been encrypted always, not
    encrypted newer or encrypted based on configuration and this
    information can be find realible only from first page of .ibd file.
    
    Fix: Do not read first page of every .ibd file at startup. Instead
    whenever tablespace is first time accedded we will read the first
    page to find necessary information about tablespace encryption
    status.
    
    TODO: Add support for SYS_TABLEOPTIONS where all table options
    encryption information included will be stored.
    2bedc397
innodb_lotoftables.opt 90 Bytes