Recreating database logic/understanding/issue/slow

There is a code written in python to recover from scratch and another in rust.

I do remember reading recreate database runs slower when the webui is open. You need to close the browser once you hit recreate database. Open it later to see.