Get top-level database information (e.g. update sequence).

I mainly needed it for the update sequence, but added other things to the struct anyway.