sqlite based phant metadata storage