Question
Collection, database, and deployment change streams: how do their scopes differ?
Answer
Collection watches one eligible collection; database watches its non-system collections; deployment watches eligible non-system collections across databases. Choose the narrowest scope that supplies the consumer’s required events. Applies to self-managed MongoDB and Atlas.