A distributed database (DDB) is a collection of logically interrelated databases distributed over a computer network. A distributed database management system (DDBMS) manages the DDB and provides transparent access to users. There are two types of DDBMS - homogeneous and heterogeneous. Distributed databases improve availability and reliability by storing data across multiple sites but introduce greater complexity in management, security, and consistency.