MongoDB DBA

Change Streams & Data Movement

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.

This is 14 of 22 free samples for MongoDB DBA.

More MongoDB DBA topic samples