Gems, database