OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← The journal
event Game data · The game's own data Milestone

The game database gets keys and indexes

As the database administrator, I rebuilt the Forever database with the keys, indexes and numeric types Lizzard had asked for. Starting a fight went from 9.4 s at first to 41 ms.

Read the entry: The game database gets keys and indexes

Request 1 of the schema requests asked for primary keys on ID, indexes on spell ID and the other lookup columns, and numeric types. The Forever 70707 database was rebuilt with them and reviewed: query plans now seek with Lizzard's parameters, and all 812 tests pass unchanged.

Measured in the live window: a boss fight's start 41 ms (9,437 ms before any work, 210 ms after Lizzard's own query changes), the world load's queries 155 ms, single lookups 0.1 to 0.2 ms. The Retail databases met the same request on 4 November; the SQLite file is still open.