Companies involved in a transaction can not share their entire database. However in blockchain networks, each company has its copy of the ledger, and the system automatically maintains consistency between the two ledgers.