reads databases with 32 bits node size
returns error if database contains no metadata