In the relational database theory the most desirable normal form is the Boyce-Codd normal form (BCNF). This paper investigates some computational problems concerning BCNF relation scheme and BCNF relations. We give an effective algorithm finding a BCNF relation r such that r represents a given BCNF relation scheme s (i.e., Kr=Ks, where Kr and Ks are sets of all minimal keys of r and s). This paper also gives an effective algorithm which from a given BCNF relation finds a BCNF relation scheme such that Kr=Ks. Based on these algorithms we prove that the time complexity of the problem that finds a BCNF relation r representing a given BCNF relation scheme s is exponential in the size of s and conversely, the complexity of finding a B...