Each component, like SAP ECC, generally has its own database. Some exceptions exist. A system composed of SAP ECC, SAP Business Warehouse (BW), and SAP Customer Relationship Management (CRM) would consist of three databases.