sunbains / embedded-innodb

Embedded InnoDB based on v5.1
GNU General Public License v2.0
19 stars 6 forks source link

Separate redo log for the data dictionary to recover the DD before recovering the data files #24

Open subains opened 6 months ago

subains commented 6 months ago

The current scheme doesn't scale. We have to scan the entire log and there file headers. If we can recover the DD quickly then we don't have to scan the file headers for the tablespace ID to filename mapping etc.

sunbains commented 1 month ago

See issue#48 too. Perhaps it's a better idea to use libSQL to store the DD.