cardinality vs constraint

cardinality

noun
  • The property of a relationship between a database table and another one, specifying whether it is one-to-one, one-to-many, many-to-one, or many-to-many. 

  • The number of terms that can inhabit a type; the possible values of a type. 

  • The number of elements a given set contains. 

  • The status of being cardinalitial 

constraint

noun
  • A linkage or other restriction that maintains database integrity. 

  • An irresistible force or compulsion. 

  • A condition that a solution to an optimization problem must satisfy. 

  • The repression of one's feelings. 

  • Something that constrains; a restriction. 

How often have the words cardinality and constraint occurred in a corpus of books? (source: Google Ngram Viewer )