Signature database construction